Page 1 of 1

LoginServer problem

Posted: Sat Dec 05, 2009 9:34 am
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

Re: LoginServer problem

Posted: Sat Dec 05, 2009 9:52 am
by JIV
if you use *unix, try play with ulimit.

Re: LoginServer problem

Posted: Sat Dec 05, 2009 1:38 pm
by cromir
Yes, I use unix but it's only since a month that I've this problem...perphaps, what is "ulimit"??

Thx

Re: LoginServer problem

Posted: Wed Feb 03, 2010 11:30 pm
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)?

Re: LoginServer problem

Posted: Thu Feb 04, 2010 10:33 pm
by cromir
I have set 10240, but problem is always present :(