Too many open files

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
NightForsaken
Posts: 5
Joined: Fri Jan 29, 2010 7:04 pm

Too many open files

Post 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)  
macdonald12
Posts: 89
Joined: Mon Sep 15, 2008 8:51 am

Re: Too many open files

Post by macdonald12 »

2 gameservers trying to listen on same port?
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: Too many open files

Post by JIV »

maybe someone attacking your too much old l2j revision.
User avatar
Gnacik
L2j Veteran
L2j Veteran
Posts: 925
Joined: Tue Dec 16, 2008 3:49 pm
Location: Wąchock ٩(̾●̮̮̃̾•̃̾)۶ Polska
Contact:

Re: Too many open files

Post by Gnacik »

if server is on linux try to put
ulimit -n 20000
to your starting .sh before java.... line
NightForsaken
Posts: 5
Joined: Fri Jan 29, 2010 7:04 pm

Re: Too many open files

Post 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 :(
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: Too many open files

Post by JIV »

1. search on forum , there is guide for update
2. you launched second LS, use just one only.
Post Reply