tgxn / Backup

A Backup plugin for the Bukkit Server API.
http://bukkitbackup.com
GNU General Public License v3.0
23 stars 14 forks source link

On Leave, EXTREME Spam / crash #67

Closed ghost closed 12 years ago

ghost commented 12 years ago

After the last player leave, Backup completly enrage the Server Console ....

2012-01-31 02:01:20 [INFO] silencshadow lost connection: disconnect.quitting 2012-01-31 02:01:20 [INFO] Connection reset 2012-01-31 02:01:20 [INFO] [Backup] Scheduled last backup for 0 minutes; 2012-01-31 02:01:20 [INFO] [Backup] Last player left, backing up! 2012-01-31 02:01:20 [INFO] [Backup] Started Backup... 2012-01-31 02:01:20 [INFO] CONSOLE: Forcing save.. 2012-01-31 02:01:20 [INFO] CONSOLE: Save complete. 2012-01-31 02:01:20 [INFO] CONSOLE: Disabling level saving.. 2012-01-31 02:01:20 [INFO] [Backup] You have disabled backup compression. 2012-01-31 02:01:20 [INFO] [Backup] Aborted backup as no players online. Next attempt in 0 minutes. 2012-01-31 02:01:20 [INFO] [Backup] Aborted backup as no players online. Next attempt in 0 minutes. 2012-01-31 02:01:20 [INFO] [Backup] Aborted backup as no players online. Next attempt in 0 minutes. 2012-01-31 02:01:20 [INFO] [Backup] Aborted backup as no players online. Next attempt in 0 minutes. 2012-01-31 02:01:20 [INFO] [Backup] Aborted backup as no players online. Next attempt in 0 minutes. .... and so on.

I already tryed to use backupemptyserver: true ... following errors occured:

2012-01-31 02:02:46 [INFO] Z3ro_Cool [/93.230.103.198:64159] logged in with entity id 324 at ([Freebuildi] 108.05510185988035, 32.0, 6.673849099005386) 2012-01-31 02:02:47 [INFO] [LoginReward] Player joined: Z3ro_Cool 2012-01-31 02:02:47 [INFO] [LoginReward] Player Z3ro_Cool has already received a bonus for today. 2012-01-31 02:02:50 [INFO] Z3ro_Cool lost connection: disconnect.quitting 2012-01-31 02:02:50 [INFO] Connection reset 2012-01-31 02:02:50 [INFO] [Backup] Scheduled last backup for 0 minutes; 2012-01-31 02:02:50 [INFO] [Backup] Started Backup... 2012-01-31 02:02:50 [INFO] CONSOLE: Forcing save.. 2012-01-31 02:02:50 [INFO] CONSOLE: Save complete. 2012-01-31 02:02:50 [INFO] CONSOLE: Disabling level saving.. 2012-01-31 02:02:50 [INFO] [Backup] You have disabled backup compression. 2012-01-31 02:02:50 [INFO] [Backup] Started Backup... 2012-01-31 02:02:50 [INFO] CONSOLE: Forcing save.. 2012-01-31 02:02:50 [INFO] CONSOLE: Save complete. 2012-01-31 02:02:50 [INFO] CONSOLE: Disabling level saving.. 2012-01-31 02:02:50 [INFO] [Backup] You have disabled backup compression. 2012-01-31 02:02:50 [INFO] [Backup] Started Backup... 2012-01-31 02:02:50 [INFO] CONSOLE: Forcing save.. 2012-01-31 02:02:50 [INFO] CONSOLE: Save complete. 2012-01-31 02:02:50 [INFO] CONSOLE: Disabling level saving.. 2012-01-31 02:02:50 [INFO] [Backup] You have disabled backup compression.

i hope that will be fixed, downgrading works.

tgxn commented 12 years ago

The error suggests your interval is set to 0. can you put your comfig file on pastebin, thanks. On Jan 31, 2012 9:07 AM, "silencshadow" < reply@reply.github.com> wrote:

Hey Guy, after the last player leave, Backup completly enrage the Server Console ....

2012-01-31 02:01:20 [INFO] silencshadow lost connection: disconnect.quitting 2012-01-31 02:01:20 [INFO] Connection reset 2012-01-31 02:01:20 [INFO] [Backup] Scheduled last backup for 0 minutes; 2012-01-31 02:01:20 [INFO] [Backup] Last player left, backing up! 2012-01-31 02:01:20 [INFO] [Backup] Started Backup... [0m 2012-01-31 02:01:20 [INFO] CONSOLE: Forcing save.. [0m 2012-01-31 02:01:20 [INFO] CONSOLE: Save complete. [0m 2012-01-31 02:01:20 [INFO] CONSOLE: Disabling level saving.. [0m 2012-01-31 02:01:20 [INFO] [Backup] You have disabled backup compression. 2012-01-31 02:01:20 [INFO] [Backup] Aborted backup as no players online. Next attempt in 0 minutes. 2012-01-31 02:01:20 [INFO] [Backup] Aborted backup as no players online. Next attempt in 0 minutes. 2012-01-31 02:01:20 [INFO] [Backup] Aborted backup as no players online. Next attempt in 0 minutes. 2012-01-31 02:01:20 [INFO] [Backup] Aborted backup as no players online. Next attempt in 0 minutes. 2012-01-31 02:01:20 [INFO] [Backup] Aborted backup as no players online. Next attempt in 0 minutes. .... and so on.

I already tryed to use backupemptyserver: true ... following errors occured:

2012-01-31 02:02:46 [INFO] Z3ro_Cool [/93.230.103.198:64159] logged in with entity id 324 at ([Freebuildi] 108.05510185988035, 32.0, 6.673849099005386) 2012-01-31 02:02:47 [INFO] [LoginReward] Player joined: Z3ro_Cool 2012-01-31 02:02:47 [INFO] [LoginReward] Player Z3ro_Cool has already received a bonus for today. 2012-01-31 02:02:50 [INFO] Z3ro_Cool lost connection: disconnect.quitting 2012-01-31 02:02:50 [INFO] Connection reset 2012-01-31 02:02:50 [INFO] [Backup] Scheduled last backup for 0 minutes; 2012-01-31 02:02:50 [INFO] [Backup] Started Backup... [0m 2012-01-31 02:02:50 [INFO] CONSOLE: Forcing save.. [0m 2012-01-31 02:02:50 [INFO] CONSOLE: Save complete. [0m 2012-01-31 02:02:50 [INFO] CONSOLE: Disabling level saving.. [0m 2012-01-31 02:02:50 [INFO] [Backup] You have disabled backup compression. 2012-01-31 02:02:50 [INFO] [Backup] Started Backup... [0m 2012-01-31 02:02:50 [INFO] CONSOLE: Forcing save.. [0m 2012-01-31 02:02:50 [INFO] CONSOLE: Save complete. [0m 2012-01-31 02:02:50 [INFO] CONSOLE: Disabling level saving.. [0m 2012-01-31 02:02:50 [INFO] [Backup] You have disabled backup compression. 2012-01-31 02:02:50 [INFO] [Backup] Started Backup... [0m 2012-01-31 02:02:50 [INFO] CONSOLE: Forcing save.. [0m 2012-01-31 02:02:50 [INFO] CONSOLE: Save complete. [0m 2012-01-31 02:02:50 [INFO] CONSOLE: Disabling level saving.. [0m 2012-01-31 02:02:50 [INFO] [Backup] You have disabled backup compression.

i hope that will be fixed, downgrading works.


Reply to this email directly or view it on GitHub: https://github.com/gamerx/Backup/issues/67

ghost commented 12 years ago

Heya :)

http://pastebin.com/Gz7jVHfE is the config file ... i use -1 as time .. bc i use sheduled timer from mcmyadmin :P

thefowles1 commented 12 years ago

I've experienced the same issue a few times recently, but nobody joined or left. It just randomly starts spitting out the "Started Backup..." messages several times, sometimes to the point that the server freezes (I'm thinking because it actually is backing up that many times at once, and with a 1.25GB world, I presume the CPU load can be pretty hefty). At this point the console doesn't respond to any commands I type and everyone gets booted and can't rejoin, forcing me to X out of the server instead of using /stop. In my case, backup interval is set to 2H.

tgxn commented 12 years ago

Seems to be an issue with a little bit of code in EventListener, Should be fixed in the next dev build, (for @silencshadow anyway)

@thefowles1 I'm not sure if yours is exactly the same issue, See if the next dev build fixes it, okay?

tgxn commented 12 years ago

Please confirm fixes.

thefowles1 commented 12 years ago

I will as soon as possible. I won't have a chance to test it until tomorrow evening.

thefowles1 commented 12 years ago

@gamerx Just to let you know, so far so good.

tgxn commented 12 years ago

Cool, I'll mark this as closed.