Hard Limit =4096 , still cannot get 1000 +
Posted: Wed Jan 19, 2005 10:56 am
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 ..
Someone help?
That file is not on my server anywhere.** 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].
Someone help?