-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Server crash upon creating new char (ON DUPLICATE KEY UPDATE query latency / watchdog crash) #6355
Comments
Was on Male Hume, Sandy Face 4, Hair A I tested again with Female Elv, Bastok, Face 4 Hair A and crashed again Got this right before the crash |
It looks like the watchdog is tripping. We don't know why yet. You can disable it for now (please don't do this permanently) in settings/main.lua you can set If things continue working as normal and there's no other issues I'm not sure what's going on. I'll give it a quick look on my laptop though. |
huh? how? |
honestly not sure, just seen that in the map log when looking back to see if showed anything. |
Do you use a spinning disk HDD by any chance? I suppose if a head parked and it needed to unpark to write to the db this could happen... but it wasn't THAT long ago that the db was just written to by the login server |
Yea this system is on spinning drive, not had chance moving over to SSD |
No crash with Watchdog disable. did get message about the Process main tick has taken 2000ms or more. So is it possible that drive could be going bad and not able to keep up and when trying to load causing to crash? |
I am not sure the drive is necessarily going bad. Hard drives these days have aggressive power management features and can/will spin down the disk and park heads. There may be software from your HDD manufacturer to disable these features. It takes time to spin the disk back up, and perhaps that's what is happening here |
Oh I turn that stuff off for the server to give all available power it needs. I will test another drive and see if get same results. |
Linking to this issue for my own reference: #4577 |
Just wanted to let you know putting on SSD made no difference with the crash. Same results. |
That's unfortunate... I do wonder what's going on with that, fortunately you can disable the watchdog (or just increase it's timeout) and it's not a show stopper. Still very weird that it seems to happen on character creation |
How big is |
This was tested on fresh install of windows to the server setup, nothing added in DB besides default stuff. But on the first crash was just one main char and like level 12 equipment, But when making that char would been second one. |
I affirm:
OS / platform the server is running (if known)
Windows 10
Branch affected by issue
base
Steps to reproduce
Create a new char, upon logging in to get CS, Map Server will crash. Help someone setup a new server and they got the same results. It only crashed when logging into a new char. Once char created able to log in as normal and get the CS. Also happens even with CS turned off.
#5342
Expected behavior
Not crash upon first time logging in
The text was updated successfully, but these errors were encountered: