celguar / mangosbot-bots

Bot AI Core from ike3 for cmangos/mangos classic/tbc/wotlk
https://github.com/cmangos/playerbots
85 stars 40 forks source link

The server crashes approximately after 5 minutes of working #131

Open Ixella opened 1 year ago

Ixella commented 1 year ago

The server crashes approximately after 5 minutes of working. I can't establish exactly what the reason is. This has been going on for two years, installing new versions of the server does not solve the problem

Ixella commented 1 year ago

logs.zip Crashes.zip

Ixella commented 1 year ago

Maybe the reason is that I have 8GB of RAM, and this is not enough for stable operation? Can I try to reduce the amount of RAM required by the server in the settings? What do I need to do for this?

ghost commented 1 year ago

I have 16gb of RAM and still encounter this crash, mostly on the WoTLK repack but I've played all three repacks and experienced it. More RAM would help you, not necessarily with this issue but with performance. I played this with 8gb of RAM and actually had a bluescreen happen because my RAM got overloaded. Only happened once but that's more than never.

You've probably seen that the code thrown for crashes here is always an Access Violation. I know essentially nothing of programming but iirc this code indicates an application trying to access memory it does not have rights to. If you look into other posts here everyone has this same exact problem.

The only fix I can think of is working with a debugger like GNU, which I'd think requires knowing what language SPP is programmed in. Shouldn't be hard to check out. The other fix I saw mentioned on the SPP Guide website was to set mangosd.exe's priority in Task Manager Details to Realtime. Potentially unstable but mayhaps worth a shot. On the flipside, and on the topic of reducing the RAM requirement, you could try dropping mangosd.exe's priority from High, its default.

The SPP launcher does have a 'fix database after crash' option in the service menu as well. I have found this does not outright eliminate the crashes but at least alleviates them. It's a band-aid but it keeps things less unstable until a more definitive fix can be found.

Sorry this isn't more comprehensive/specific. At least things to look into though.

Ixella commented 1 year ago

Hello, thank you for your efforts to make the server better. I wanted to ask if this bug has been fixed?