I am facing a really strange problem. After restarting my server, the usage of the map server is at <5% for some hours, which is normal for my playerbase. After some days, the usage of the map server is at 50%, and after about 2 weeks at 100% permanently, including heavy lags. Even when I start my test server and leave it running for some days, the cpu usage increases without anyone playing on the server.
HDD: 1TB hard drive @ 7200rpm, no RAID, SMART says few bad sectors, but still green (warnings are: reallocated secor count @ 28 secotrs, current pending sector count @ 24 secotrs, both not under threshhold, so not an error, only a warning)
My rathena is currently on commit f7d40ba71c57945a26a621f0c6178f9e1f26197a (Date: Thu Mar 27 01:47:51 2014 -0400) with custom modifications.
Does anyone have the same problem or does anyone know how to resolve this issue? Are there some kind of methods to see from which part of the code the most execution time is comming?
EDIT: i am using gprof right now on the testserver to hopefully find the issue...
Question
chriser
Hi guys,
I am facing a really strange problem. After restarting my server, the usage of the map server is at <5% for some hours, which is normal for my playerbase.
After some days, the usage of the map server is at 50%, and after about 2 weeks at 100% permanently, including heavy lags.
Even when I start my test server and leave it running for some days, the cpu usage increases without anyone playing on the server.
Specs:
CPU: Intel Celeron G530 (2x 2,4 GHz) 64bit
RAM: 4GB (3,81GB total, 3,64GB used, 1,22GB cached, 64% usage)
System: Ubuntu 12.04.5 LTS
HDD: 1TB hard drive @ 7200rpm, no RAID, SMART says few bad sectors, but still green (warnings are: reallocated secor count @ 28 secotrs, current pending sector count @ 24 secotrs, both not under threshhold, so not an error, only a warning)
My rathena is currently on commit f7d40ba71c57945a26a621f0c6178f9e1f26197a (Date: Thu Mar 27 01:47:51 2014 -0400) with custom modifications.
Does anyone have the same problem or does anyone know how to resolve this issue? Are there some kind of methods to see from which part of the code the most execution time is comming?
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.