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)
  2. No

  3. Rarely

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

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


    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
    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"

    is my run.bat content 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] Connection reset
    05:51:14 [SEVERE] at Source)
    05:51:14 [SEVERE] at Source)
    05:51:14 [INFO] /94.1883 lost connection
    05:51:14 [SEVERE] at 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
    05:51:14 [SEVERE] Software caused connection abort: re
    cv failed
    05:51:14 [SEVERE] at Method)

    05:51:14 [SEVERE] at Source)
    05:51:14 [SEVERE] at Source)
    05:51:14 [SEVERE] at Source)
    05:51:14 [SEVERE] at Source)
    05:51:14 [SEVERE] at net.minecraft.server.Packet11PlayerPosition.a(SourceF
    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
    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
    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
    05:51:29 [WARNING] Can't keep up! Did the system time change, or is the server o
    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
    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