Epilogue RAM Issues??

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Epilogue RAM Issues??

Post 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?
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: Epilogue RAM Issues??

Post by JIV »

try compare memory after call GC.
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Epilogue RAM Issues??

Post by Onepamopa »

Sorry, can u be more specific? "GC" ?
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
User avatar
badboy29
Posts: 417
Joined: Fri Apr 24, 2009 5:34 am
Location: Brazil

Re: Epilogue RAM Issues??

Post by badboy29 »

Garbage Collector
Aka UnHoly
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Epilogue RAM Issues??

Post by Onepamopa »

yes, but how to use it ? what to do exactly?
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: Epilogue RAM Issues??

Post by Probe »

there seems to be memory leak issues with l2pcinstance
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Epilogue RAM Issues??

Post 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.
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Epilogue RAM Issues??

Post 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..
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Epilogue RAM Issues??

Post 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..))
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Epilogue RAM Issues??

Post by _DS_ »

Connect to telnet and try "forcegc".
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Epilogue RAM Issues??

Post 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.
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Epilogue RAM Issues??

Post 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 :/
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Epilogue RAM Issues??

Post 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
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Epilogue RAM Issues??

Post 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)
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
lion
L2j Veteran
L2j Veteran
Posts: 967
Joined: Sun Mar 11, 2007 7:49 pm
Location: Ukraine

Re: Epilogue RAM Issues??

Post 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 
Post Reply