View unanswered posts | View active topics
|
Page 1 of 1
|
[ 14 posts ] |
|
| Author |
Message |
|
Demostenes
|
Post subject: Tool tips memory leak&lag Posted: Wed Oct 24, 2007 4:46 am |
|
Joined: Wed Aug 29, 2007 2:44 pm Posts: 24
|
|
Recently we were facing problems with lags and memory leaks. It usually started after there was more then 80 players. After that, in few hours and jumps (each jump cca 300MB), memory jumped to 3GB and server became totally unpredictible. Lags started when the memory reached over 2.5GB (after first jump).
We shut down toolstips and that problem disappeard. Server is holding around 2GB without any problem.
We have now more then 130 players in the peak and quite big data, pol allocates cca 2GB after start.
|
|
| Top |
|
 |
|
MuadDib
|
Post subject: Posted: Wed Oct 24, 2007 9:59 am |
|
 |
| POL Developer |
 |
Joined: Sun Feb 12, 2006 9:50 pm Posts: 834 Location: Indiana, USA
|
|
What core are you using?
_________________ POL Developer - The Penguin Scripter
|
|
| Top |
|
 |
|
Keryan
|
Post subject: Posted: Wed Oct 24, 2007 11:10 am |
|
Joined: Fri Aug 10, 2007 3:30 pm Posts: 9
|
|
We are using latest RC5. And by shuting down tooltips Demostenes means that we changed UOFeatureEnable from 0x1a0 to 0x00 -> so we disabled little more features, but I think tooltips was the reason for memory leaks and lags.
This memory leaks are quite strange - it just "jump" in few minutes/sec from 2,250GB to 2,550+, then for few hours hold there and then "jump" again to 2850+ .., but this happens only after few hours ( we have auto restarts in 4:00am and first "jump" is in 17:00+, maybe number of players having something to do with it ).
After setting UOFeatureEnable=0x00 is everything OK server is running second day without any problems with lags or memory.
|
|
| Top |
|
 |
|
qrak
|
Post subject: Posted: Wed Oct 24, 2007 1:12 pm |
|
Joined: Sun Feb 05, 2006 4:35 pm Posts: 160 Location: Poland
|
|
| Top |
|
 |
|
MuadDib
|
Post subject: Posted: Wed Oct 24, 2007 1:12 pm |
|
 |
| POL Developer |
 |
Joined: Sun Feb 12, 2006 9:50 pm Posts: 834 Location: Indiana, USA
|
|
Could you try setting Feature Enable back to how it was, and just disable that packet hook?
_________________ POL Developer - The Penguin Scripter
|
|
| Top |
|
 |
|
Demostenes
|
Post subject: Posted: Sun Oct 28, 2007 3:49 pm |
|
Joined: Wed Aug 29, 2007 2:44 pm Posts: 24
|
|
Small update: Memory is still leaking, but many times slower (cca 10x). With previous version of POL we were running (0.95) there were no problems, so we are suspecting there is some problem with new core.
|
|
| Top |
|
 |
|
tartaros
|
Post subject: Posted: Wed Oct 31, 2007 7:55 am |
|
Joined: Tue Mar 27, 2007 6:30 am Posts: 24
|
|
MuadDib: out of curiosity, what algorhitm/memory scheme do you use for caching the tooltips? If any...
Or are the packets being generated over and over again every time any client asks for them?
|
|
| Top |
|
 |
|
MuadDib
|
Post subject: Posted: Wed Oct 31, 2007 8:19 am |
|
 |
| POL Developer |
 |
Joined: Sun Feb 12, 2006 9:50 pm Posts: 834 Location: Indiana, USA
|
|
Tooltips themselves are generated if a client requests it, on the spot.
Would be nice for someone to report any difference between with a hook, and without. Might help narrow it down some too.
_________________ POL Developer - The Penguin Scripter
|
|
| Top |
|
 |
|
coltain
|
Post subject: Posted: Wed Oct 31, 2007 8:22 am |
|
Joined: Tue Mar 20, 2007 7:17 am Posts: 99 Location: Poland
|
|
I can report some...
As I tested there was no difference if the packet was hooked or not (I even moved the directory away)
I had UoFeatureenable set 0x1a8 (to show the single click window)
|
|
| Top |
|
 |
|
Keryan
|
Post subject: Posted: Thu Nov 01, 2007 4:41 pm |
|
Joined: Fri Aug 10, 2007 3:30 pm Posts: 9
|
MuadDib wrote: Tooltips themselves are generated if a client requests it, on the spot.
Would be nice for someone to report any difference between with a hook, and without. Might help narrow it down some too.
It seems that the our problem with memory "jumps" has only little to do with tooltips after all, turning tooltip off has only slown down the problem 10x +-  ( as Demostenes write before me ), maybe it is in all packet hooks and tooltips was just one of most used, or maybe it is somewhere else, i dont really know, but now server can work for few days, before first memory jump occurs.
|
|
| Top |
|
 |
|
Demostenes
|
Post subject: Posted: Mon Feb 18, 2008 11:25 am |
|
Joined: Wed Aug 29, 2007 2:44 pm Posts: 24
|
|
| Top |
|
 |
|
Shinigami
|
Post subject: Posted: Wed Feb 27, 2008 1:37 pm |
|
 |
| POL Core Developer |
Joined: Mon Jan 30, 2006 9:28 am Posts: 292 Location: Germany, Bavaria
|
|
just try latest core...
Shinigami
|
|
| Top |
|
 |
|
Keryan
|
Post subject: Posted: Wed Feb 27, 2008 2:17 pm |
|
Joined: Fri Aug 10, 2007 3:30 pm Posts: 9
|
Shinigami wrote: just try latest core...
Shinigami
Thx for the new release !
Sure, i am going to test it right now on our shard. Will post results in few days.
|
|
| Top |
|
 |
|
coltain
|
Post subject: Posted: Sun May 04, 2008 10:30 am |
|
Joined: Tue Mar 20, 2007 7:17 am Posts: 99 Location: Poland
|
|
Any progress???
This allocation problem makes me tired:(
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 14 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|

|