Re: Timings for optimised poll(2)

Oskar Pearson (oskar@is.co.za)
Thu, 28 Aug 1997 08:53:03 +0200


> Let me inject here that actually there is a problem with linux + ircd.
>
> Linux never was really good at running ircd, and it still isnt (at least
> 2.0.x-series), but then again the only really good one is freebsd. Solaris
> works so-so.
>
> I get mysterious TCP lockups, dropped TCP connections etc, when my irc
> server reaches like 300-400 or more simultanious users.
>
> Another thing is that linux should be able to handle at least 4096 fd /
> process. We tried to up this from 1024 but got some nasty oopses and
> alike.
www.linux.org.za/filehandle.patch.linux should do the trick. This
patch is also on linuxhq.com. I need to tidy some stuff up, but since
I don't have definite problem reports (It works fine for Michael
and I) I don't know if it's worth spending the time on. Some people
have suggested various changes, but I still have to look at
source for what they want and see if it makes sense.

This is Michael's patch... I just changed various .h files to work
with it... he did the malloc magic.

Works against 2.0.30, running here with squid (almost always above
1024 fd's) with an uptime of 40 days or so on a few machines.

Oskar