Page 1 of 2

Epilogue RAM Issues??

Posted: Tue Mar 02, 2010 5:00 pm
by Onepamopa
» Find Revision
L2J Revision 3971:
L2JDP Revision 7125:

Hi everyone. I think there's a Memory issue with Epilogue server.
Server machine: Core 2 Quad @ 4 Ghz, 8 Gb ram
OS: Ubuntu server 9.10 (lastest kernel)
We run GS, Login, Apache, MySQL on this machine.
Gracia Epilogue & Gracia final machines are Identical.

Server Startup script:
nice -n -2 java -server -Xmx4128m -Xms4128m -Xmn1024m -XX:PermSize=128m -XX:MaxPermSize=128m
-XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -Djava.util.logging.manager=com.l2jserver.util.L2LogManager
-cp ./../libs/*:l2jserver.jar com.l2jserver.gameserver.GameServer > log/stdout.log 2>&1

Our Gracia Final server & Epilogue server use the same startup options, but on Final there's less ram usage (at high user count) than Epilogue. In fact, Epilogue uses MUCH more ram, and even writes in the SWAP. (Gracia final never wrote in the SWAP, and NEVER used that much ram.)
Final has 800+ users, Epilogue has ~400.
There's memory leak in Epilogue somewhere.
Both Gracia Final and Epuilogue were NOT modified in any way.

Can u confirm the problem, and help me to resolve it?

Re: Epilogue RAM Issues??

Posted: Tue Mar 02, 2010 5:16 pm
by JIV
try compare memory after call GC.

Re: Epilogue RAM Issues??

Posted: Tue Mar 02, 2010 5:21 pm
by Onepamopa
Sorry, can u be more specific? "GC" ?

Re: Epilogue RAM Issues??

Posted: Tue Mar 02, 2010 6:50 pm
by badboy29
Garbage Collector

Re: Epilogue RAM Issues??

Posted: Tue Mar 02, 2010 7:34 pm
by Onepamopa
yes, but how to use it ? what to do exactly?

Re: Epilogue RAM Issues??

Posted: Tue Mar 02, 2010 8:21 pm
by Probe
there seems to be memory leak issues with l2pcinstance

Re: Epilogue RAM Issues??

Posted: Fri Mar 05, 2010 7:42 am
by Onepamopa
Well, I dont know how to check it, but there's 100% something wrong.
If people who have more skills can find out what's the problem and report it to l2j's developer staff
it would be great. And developers, please tell us what's goind on. I'm 100% sure that this problem is not
only @ our server.

Re: Epilogue RAM Issues??

Posted: Fri Mar 05, 2010 8:31 am
by _DS_

Code: Select all

Server Status:  --->  Player Count: 361/800  ---> Offline Count: 229/361  +-->  Object Count: 109067  +-->      AI Count: 43647  +.... L2Item(Void): 85  +.......... L2Item: 64391  +....... L2Monster: 39662  +......... Minions: 3140  +.. Minions Groups: 2011  +........... L2Npc: 3451  +............ L2Pc: 364  +........ L2Summon: 7  +.......... L2Door: 1056  +.......... L2Char: 51  --->   Ingame Time: 7:00  ---> Server Uptime: 44hrs 9mins 15secs  --->      GM Count: 0  --->       Threads: 54  RAM Used: 1348
For me ram usage is ok..

Re: Epilogue RAM Issues??

Posted: Fri Mar 05, 2010 9:32 am
by Onepamopa
Server Status:
---> Player Count: 176/800
---> Offline Count: 74/176
+--> Object Count: 63854
+--> AI Count: 43350
+.... L2Item(Void): 248
+.......... L2Item: 18587
+....... L2Monster: 40035
+......... Minions: 3052
+.. Minions Groups: 1940
+........... L2Npc: 3697
+............ L2Pc: 177
+........ L2Summon: 3
+.......... L2Door: 1056
+.......... L2Char: 51
---> Ingame Time: 19:50
---> Server Uptime: 58hrs 17mins 52secs
---> GM Count: 1
---> Threads: 72
RAM Used: 3076

How about that?!
Our gracia final server uses 3 times LESS ram, with 3 times MORE users than epilogue ?!
where's the logic in that ?
Probe seam to think that there's a memory leak somewhere, so it's possible....
I know that development is slow, you cant find and fix everything, but please.. consider this.

I think to test this with some old revision of epilogue core/dp, but I'll have to talk to the users (if they would want to connect to the other server for testing... (which is almost impossible..))

Re: Epilogue RAM Issues??

Posted: Fri Mar 05, 2010 10:02 am
by _DS_
Connect to telnet and try "forcegc".

Re: Epilogue RAM Issues??

Posted: Fri Mar 05, 2010 10:08 am
by Onepamopa
well, for some unknown reason, my telnet isnt working properly.
I see the prompt & everything,
I enter the pass, telnet window closes by itself.

Re: Epilogue RAM Issues??

Posted: Fri Mar 05, 2010 10:09 am
by janiii
what telnet client do you use? i think there was some fix for it, like set the mode to passive or something similar, but i cant remember :/

Re: Epilogue RAM Issues??

Posted: Fri Mar 05, 2010 10:12 am
by Onepamopa
I'm using PuTTY (primarily for ssh connections, but it works for telnet, just not in this case)
I'm downloading AbsoluteTelnet now, I'll give it a try

Re: Epilogue RAM Issues??

Posted: Fri Mar 05, 2010 10:14 am
by Onepamopa
I'll give u both a web link to my server to see what I see.
Check ur PM's in 5-6 mins, cause I have to enable port 80 in the firewall.
Just tell me when u see the sys info, in order to close port 80 (cause we get flooded often)

Re: Epilogue RAM Issues??

Posted: Fri Mar 05, 2010 10:30 am
by lion
Onepamopa wrote:I'm using PuTTY (primarily for ssh connections, but it works for telnet, just not in this case)
I'm downloading AbsoluteTelnet now, I'll give it a try
for putty use connection type: Raw

Code: Select all

Server Status:  --->  Player Count: 225/1000  ---> Offline Count: 127/225  +-->  Object Count: 67525  +-->      AI Count: 43518  +.... L2Item(Void): 1016  +.......... L2Item: 21738  +....... L2Monster: 40075  +......... Minions: 3164  +.. Minions Groups: 2019  +........... L2Npc: 3362  +............ L2Pc: 225  +........ L2Summon: 2  +.......... L2Door: 1056  +.......... L2Char: 51  --->   Ingame Time: 7:02  ---> Server Uptime: 120hrs 9mins 35secs  --->      GM Count: 0  --->       Threads: 51  RAM Used: 1360