Hi,
i have get following error:
- ERROR! ALL CONNECTIONS IN USE!
when one of my users try to connect to one of our server.
So, i had set up like that my ircd:
- in ./Config > file descriptors or sockets = 1024
- in unrealircd.conf > max connections clients = 1600.
I have root access on the dedicated server that host the ircd and i can do all modifcations i want to my linux configurations.
We have, on this ircd, 1006 clients connected and all other connections up to 1006 are blocked with that error message.
Before do someting stupid action i want to understand better what's the problem.
I have red documentations and faq and i think that to hadnt understand at better you can explain me.
When i execute ULIMIT -N the result is 1024.
Thanx in advance for the help, attentions and availability.
You had good work on Unreal!!!
Error: All connections in use
-
- Former UnrealIRCd head coder
- Posts: 811
- Joined: Sat Mar 06, 2004 8:47 pm
- Location: United States
- Contact:
If you have 1006 connections, then you are likely at 1024 sockets. It's 1024 sockets, not 1024 clients. For example, are any other servers linked to this server? If yes, add +1 per server directly linked to it (including services/statserv/etc.). Also, when a client is connecting, it uses more than one socket. It has the server connection socket, it has an ident socket, and an resolver socket. So if there are clients in the process of connecting, it would also add to the number of sockets.
If you have 1006 users, then you are most likely at the 1024 socket limit.
If you have 1006 users, then you are most likely at the 1024 socket limit.
-- codemastr
So, i have to increase the File Descriptors limit with ULIMIT -N XXXX ... ?
How much you advice to increse the File Descriptors?
There is a rule to increase it?
And after i increase the FD limit i have to redo ./Config specifying an File Descriptors limit that is not the default? And so redo make and make install?
How much you advice to increse the File Descriptors?
There is a rule to increase it?
And after i increase the FD limit i have to redo ./Config specifying an File Descriptors limit that is not the default? And so redo make and make install?
See FAQ: Other - I want my ircd to hold over 1024 connections (you usually have to do a few steps to set it up correctly).
You could start with something like 4096.
You could start with something like 4096.