Hello, max connections error

These are old archives. They are kept for historic purposes only.
Post Reply
outrun
Posts: 6
Joined: Sun Jan 16, 2005 12:05 pm

Hello, max connections error

Post 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 ?
outrun
Posts: 6
Joined: Sun Jan 16, 2005 12:05 pm

Well so far I did this...

Post 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.
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

My suggestion is that you read the FAQ:
http://www.vulnscan.org/UnrealIrcd/faq/#46
Post Reply