Page 1 of 1

Hello, max connections error

Posted: Fri Jan 21, 2005 3:33 pm
by outrun
Hello everyone, I am having a problem today.... I woke up and my Ircd keeps saying All connections in use.... I set the maxclients to 10000, but it says max connections in use when there is only

Current Local Users: 1014 Max: 1016
Current Global Users: 1014 Max: 1016

Anyone know of a fix? Maxclients in the config is set to 10000

Also, the max sockets or whatever when i compiled it is 1024, I tryed making it higher but it said its limited by the kernel.... if this is the case, could someone assist me on how to change it on Redhat Enterprise ?

Well so far I did this...

Posted: Fri Jan 21, 2005 3:53 pm
by outrun
Well so far i did the following.....

** The ulimit value **
I edited the limits.conf and added 2 lines

root hard nofile 4096
root soft nofile 4096

After that i typed ulimit -n and it still showed 1024


#define __FD_SETSIZE 1024
to this:
#define __FD_SETSIZE 4096



Still showed the same limit, any suggestions? This is redhat enterprise linux btw.

Posted: Fri Jan 21, 2005 8:19 pm
by Dukat
My suggestion is that you read the FAQ:
http://www.vulnscan.org/UnrealIrcd/faq/#46