Page 1 of 1

Too many open files

Posted: Tue Mar 02, 2010 3:19 pm
by NightForsaken
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision official last gr final:
L2JDP Revision official last gr final:

i got this error and players cant connect to server even if server is online. if they press about 2-3 minutes they log in but its annoying to press like 5 min on confirm:D
they are stucked at confirm server

Code: Select all

Crystal Caverns started CrystalCaverns.xml Instance: 300025 created by player: Kotoryjava.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:239)	at org.mmocore.network.SelectorThread.run(SelectorThread.java:173) 
in login server i had a error too but it doesent affect the server until now or i dont know..i will post it too

Code: Select all

FATAL: Failed to start the Game Server Listener. Reason: Address already in usejava.net.BindException: Address already in use	at java.net.PlainSocketImpl.socketBind(Native Method)	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)	at java.net.ServerSocket.bind(ServerSocket.java:319)	at java.net.ServerSocket.<init>(ServerSocket.java:185)	at net.sf.l2j.loginserver.FloodProtectedListener.<init>(FloodProtectedListener.java:51)	at net.sf.l2j.loginserver.GameServerListener.<init>(GameServerListener.java:36)	at net.sf.l2j.loginserver.L2LoginServer.<init>(L2LoginServer.java:202)	at net.sf.l2j.loginserver.L2LoginServer.main(L2LoginServer.java:56)  

Re: Too many open files

Posted: Wed Mar 03, 2010 10:16 am
by macdonald12
2 gameservers trying to listen on same port?

Re: Too many open files

Posted: Wed Mar 03, 2010 1:12 pm
by JIV
maybe someone attacking your too much old l2j revision.

Re: Too many open files

Posted: Wed Mar 03, 2010 1:43 pm
by Gnacik
if server is on linux try to put
ulimit -n 20000
to your starting .sh before java.... line

Re: Too many open files

Posted: Wed Mar 03, 2010 3:01 pm
by NightForsaken
JIV wrote:maybe someone attacking your too much old l2j revision.
and how can i update safely from l2joff gracia final to l2j epilogue l2jserver?
no..not the same port. the live server has port 7777 and the Test one 7778 :(

Re: Too many open files

Posted: Wed Mar 03, 2010 4:40 pm
by JIV
1. search on forum , there is guide for update
2. you launched second LS, use just one only.