Page 1 of 1

Hard Limit =4096 , still cannot get 1000 +

Posted: Wed Jan 19, 2005 10:56 am
by tlegrats
I have already done all the things listed in http://www.vulnscan.org/UnrealIrcd/faq/#46 my ulimit shows 4096 , but I still cannot get more than a 1000 without getting maximum connection notices. The only thing listed in the faq I did not do is ..

** The global maximum **
With Linux 2.4 and Linux 2.6 everything should be ok already, so just skip this step :)
With Linux 2.2 you'll have to do something like: echo 8192 >/proc/sys/kernel/file-max although I really recommend you to use Linux 2.4 or 2.6 because there are several other limits of 2.2* that might affect you.
With FreeBSD you should do something like: sysctl kern.maxfiles=8192 (and add it to your /etc/sysctl.conf of course). You probably also need to increase kern.ipc.nmbclusters, and perhaps some other ones as well I'm unaware off. [FEEDBACK is welcome.. if you know how to properly tweak freebsd to get 4096 or 8192 connections, let me know at syzop AT unrealircd DOT com].
That file is not on my server anywhere.
Someone help?

Posted: Wed Jan 19, 2005 8:25 pm
by Stealth
Did you tell it 4096 in ./Config? The default is 1024.

Posted: Thu Jan 20, 2005 12:18 am
by tlegrats
yes i did

Posted: Thu Jan 20, 2005 2:17 am
by Syzop
1. What OS? (uname -a)
That file is not on my server anywhere.
2. What file? (related to above)
..without getting maximum connection notices..
3. What's the exact message that you get?

4. Did you check your class::maxclients block?