LoginServer problem

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
Post Reply
User avatar
cromir
Posts: 41
Joined: Mon Jun 19, 2006 8:15 pm

LoginServer problem

Post by cromir »

Hi,

since one month loginserver gives me this error without an apparently reason:

java.io.IOException: Too many open files
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145)
at org.mmocore.network.SelectorThread.acceptConnection(SelectorThread.java:267)
at org.mmocore.network.SelectorThread.run(SelectorThread.java:189)

and continuing to spam into stdout.log. When it appends, loginserver is up but blocked and players can't enter.

Anyone else has this problem and how to fix it?

Thx, sorry for english.

Cromir
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: LoginServer problem

Post by JIV »

if you use *unix, try play with ulimit.
User avatar
cromir
Posts: 41
Joined: Mon Jun 19, 2006 8:15 pm

Re: LoginServer problem

Post by cromir »

Yes, I use unix but it's only since a month that I've this problem...perphaps, what is "ulimit"??

Thx
doken1313
Posts: 50
Joined: Fri Nov 13, 2009 5:39 pm

Re: LoginServer problem

Post by doken1313 »

You should type
ulimit -n 5000 (or more)
before running loginserver and gameserver.
Can someone give me the exact lines to add to my start_server script (syntax lines)?
User avatar
cromir
Posts: 41
Joined: Mon Jun 19, 2006 8:15 pm

Re: LoginServer problem

Post by cromir »

I have set 10240, but problem is always present :(
Post Reply