Hard Limit =4096 , still cannot get 1000 +

These are old archives. They are kept for historic purposes only.
Post Reply
tlegrats
Posts: 2
Joined: Wed Jan 19, 2005 10:36 am

Hard Limit =4096 , still cannot get 1000 +

Post 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?
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Did you tell it 4096 in ./Config? The default is 1024.
tlegrats
Posts: 2
Joined: Wed Jan 19, 2005 10:36 am

Post by tlegrats »

yes i did
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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?
Post Reply