Log in

View Full Version : Restarting server and memory leaks


Albator
04-14-2017, 03:43 AM
So even with 0 players it seems I have to restart my server at very least every couple days. If I don't and try to log in it is disconnected after charecter creation probably just due to timeout from the server. Is it common practice to have automated nightly restarts? What is the source of our server code, is it built from some open source server code originally? Has anyone attempted to find the memory leaks? With a playerbase like PEQ or P99 what does the restart schedule have to look like?

Any help would be appreciated.

Coenxai
04-14-2017, 03:52 AM
So even with 0 players it seems I have to restart my server at very least every couple days. If I don't and try to log in it is disconnected after charecter creation probably just due to timeout from the server. Is it common practice to have automated nightly restarts? What is the source of our server code, is it built from some open source server code originally? Has anyone attempted to find the memory leaks? With a playerbase like PEQ or P99 what does the restart schedule have to look like?

Any help would be appreciated.

The source of EQEmu is EQEmu. Many, many, many developers have worked on it over the years, and they're all amazing. There's been a lot of memory leaks fixed over the years. So yes? I don't know how often they restart their server. But even if these issues existed, restarting a private server every two days is pretty acceptable. Are you using stock code? I wouldn't be surprised if an up-to-date server ran for weeks.

Albator
04-14-2017, 04:23 AM
Yes I'm using server code at most a couple months old. Would love a history lesson on how it all came to be.

Akkadius
04-14-2017, 01:29 PM
You shouldn't be seeing any memory leaks hardly substantial at all.

I've had EZ running for over 30 days with the same memory utilization

The_Beast
04-14-2017, 02:23 PM
What is the source of our server code

Anyone out there who "wants" to learn everything about this whole EQEmu project simply has to take some initiative to "read". The information is overwhelming
throughout this site and others, as well as browsing right through the changelog included with the source. I'm not referring to individual topic searches, but maybe
sitting back with a coffee and time travel back to the beginning. (See changelog)
Not sure why anyone would have to randomly restart their server without intention. My home box stays up 24/7 without any issues. The only restarts I do with the
server would involve an update that needed it. Some of those servers on the list have been up for weeks and weeks without restarts (if you paid attention), but
some people just won't look under the hood before they buy a car.

Albator
04-14-2017, 03:08 PM
Hmm wow that is good to know about EZ. Mabye it is my server, I sometimes notice slowing down on large heidisql queries and I have to shut the program down and restart it to get it back up to speed. Anyone know if motherboard grounding issues could cause issues like this, or any other thoughts?

Good idea about the changelog. I looked back in the forums but honestly the same types of posts we see now were posted from the very beginning! Hard to find out anything about history here. I know lots of devs worked on this but they would have their plate full even if they started with another open source server at the beginning.

Akkadius
04-14-2017, 03:21 PM
https://raw.githubusercontent.com/EQEmu/Server/master/changelog.txt

Nightrider84
04-17-2017, 11:32 PM
If your motherboard wasn't grounded it wouldn't run. I've ran my server for up to a few months at a time without a restart and I don't notice any issues surrounding it.