save-off by default how to?

Discussion in 'Bukkit Help' started by clown134, Mar 31, 2011.

?

Anyone have problem where everyone gets timed out and the server freezes for about 5 mins at random?

Poll closed Apr 7, 2011.
  1. Yes

    0 vote(s)
    0.0%
  2. No

    100.0%
  3. Rarely

    0 vote(s)
    0.0%
  4. You're doing it wrong.

    0 vote(s)
    0.0%
Multiple votes are allowed.
Thread Status:
Not open for further replies.
  1. Offline

    clown134

    Is there a way to set "save-off" by default when the server loads/starts/restarts?
    I have noticed that using "save-off" and using an AutoSave plugin seem to work better than using both, or using just save-on by itself.
    also i misspelled "save" in the title, and probably a few times below. ;\ sorry ;[

    The reason I ask, is because "randomly" (I think when the world saves) sometimes causes a "memory leak" or under-run or overflow, not quite sure of the term. If I watch java.exe in task manager, the memory seems to drop very low (about 100mb or so), very slowly returns to where it was (about 800 mb), times everyone out, and then finally returns to normal. Doing save-off, and using an autosave plugin seemed to help a bit.
    -I'm 90% sure this problem is being caused by something I'm doing wrong or a setting i have set wrong.

    I remember seeing in a config somewhere that I can't remember for the life of me that went something like
    "re-coup memory after a player leaves".... and its on by default, but I have a feeling disabling that would save a bit of hassle.

    Microsoft Windows Server 2003 Standard SP3
    Intel Xeon E5410 2.33ghz (quad core) x86
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
    Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
    no wrappers unless there is one by default
    Running bukkit 556
    Plugins:
    Authorization, AutoSave, ServerAutoStop, ChatBukkit, ScrapBukkit, Essentials, EssentialsSpawn, iChat, Minecart Mania Autocart, Minecart Mania Core, Permissions, PermissionsPlus, Plugman, Residence, VoxelSniper, WorldEdit, WorldGuard
    ^that is a mouthful, someone told me I have TOO many plugins, but since ive been doing save-off with autosave , its been running smoothly
    "
    @Echo OFF
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar "craftbukkit-0.0.1-SNAPSHOT.jar"
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86" java -Xms1024M -Xmx1024M -jar "craftbukkit-0.0.1-SNAPSHOT.jar"

    PAUSE
    "
    is my run.bat content
    dwdmc.no-ip.org:25565 if anyone wants to come check it out my charname is ysoNotch alias as .greifinator or .kenwud
    ps is there any way to set the seed of a new world if using the jar with a batch command line to start the server
    thanks all, bukkit it awesome, the best imho, and thank you all plugin devs, everyone here is great <3

    finally caught it when it happened
    05:51:13 [SEVERE] java.net.SocketException: Connection reset
    05:51:14 [SEVERE] at java.net.SocketInputStream.read(Unknown Source)
    05:51:14 [SEVERE] at java.net.SocketInputStream.read(Unknown Source)
    05:51:14 [INFO] /94.1883 lost connection
    05:51:14 [SEVERE] at java.io.FilterInputStream.read(Unknown Source)
    05:51:14 [INFO] /99.1:3142 lost connection
    05:51:14 [SEVERE] at net.minecraft.server.Packet.b(SourceFile:113)
    05:51:14 [INFO] /18778 lost connection
    05:51:14 [SEVERE] at net.minecraft.server.NetworkManager.f(SourceFile:155)

    05:51:14 [INFO] /91.50726 lost connection
    05:51:14 [SEVERE] at net.minecraft.server.NetworkManager.c(SourceFile:9)
    05:51:14 [INFO] /98.10864 lost connection
    05:51:14 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:62)
    05:51:14 [SEVERE] java.net.SocketException: Software caused connection abort: re
    cv failed
    05:51:14 [SEVERE] at java.net.SocketInputStream.socketRead0(Native Method)

    05:51:14 [SEVERE] at java.net.SocketInputStream.read(Unknown Source)
    05:51:14 [SEVERE] at java.io.DataInputStream.readFully(Unknown Source)
    05:51:14 [SEVERE] at java.io.DataInputStream.readLong(Unknown Source)
    05:51:14 [SEVERE] at java.io.DataInputStream.readDouble(Unknown Source)
    05:51:14 [SEVERE] at net.minecraft.server.Packet11PlayerPosition.a(SourceF
    ile:65)
    05:51:14 [SEVERE] at net.minecraft.server.Packet.b(SourceFile:119)
    05:51:14 [SEVERE] at net.minecraft.server.NetworkManager.f(SourceFile:155)

    05:51:14 [SEVERE] at net.minecraft.server.NetworkManager.c(SourceFile:9)
    05:51:14 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:62)
    05:51:14 [INFO] .yso: i was like wtf
    05:51:14 [INFO] alastaircampbell lost connection: disconnect.genericReason
    05:51:15 [INFO] OverDose_25: diamond pickaxe is 278 btw
    05:51:16 [INFO] cmoatoto [/88.1659] logged in with entity id 701046

    05:51:16 [INFO] Graddod [/87.11296] logged in with entity id 701048
    05:51:16 [INFO] Gzu [/82.6214] logged in with entity id 701050
    05:51:16 [INFO] anonymous1127 [/82.1047] logged in with entity id 7
    01052
    05:51:16 [INFO] MarkColeman [/46.301] logged in with entity id 701054

    05:51:16 [INFO] .yso: andromedal seems like a cool guy too
    05:51:16 [INFO] ยบ9[PLAYER_COMMAND] OverDose_25: /i 278 03
    05:51:17 [INFO] Atomsk: test
    05:51:17 [INFO] Atomsk: fuck lag..
    05:51:19 [INFO] cameron467 lost connection: disconnect.genericReason
    05:51:22 [INFO] Atomsk lost connection: disconnect.quitting
    05:51:24 [INFO] ysoNotch lost connection: disconnect.endOfStream
    05:51:24 [INFO] OverDose_25 lost connection: disconnect.quitting
    05:51:24 [INFO] alastaircampbell [/90.20135] logged in with entity i
    d 701086
    05:51:24 [INFO] mare lost connection: disconnect.endOfStream
    0
    05:51:29 [WARNING] Can't keep up! Did the system time change, or is the server o
    verloaded?
    05:51:52 [INFO] anonymous1127: hey guys
    05:51:59 [INFO] anonymous1127: srry just got dced

    lasts for a few minutes
    Edited Ip's to keep identity
    ALTHOUGH - i get the same error when people leave sometimes, and it doesnt cause the lag

    my real only question is how to make "save-off" happen when server loads, can i just put it in the server.properties?
    also found this, is this how i should keep it?:
    # Whether or not to reclaim memory on player logout; this is technical, and should only be changed under special circumstances.
    # This generally increases server stability unless very specific runtime configurations are used.
    # HOWEVER, it is known to cause lag upon users logging OUT, so beware!
    reclaim-onlogout: false

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
Thread Status:
Not open for further replies.

Share This Page