1.6 Million IP Connections on FreeBSD
An anonymous reader writes "FreeBSD developer Terry Lambert, in a recent posting to the 'freebsd-hackers' mailing list, mentioned that he'd tuned a FreeBSD 4.4 box with 4GB of RAM to achieve 1,603,127 simultaneous IP connections, and goes on to say: 'As far as I know, I hold the single machine connection record for an x86 box.' This is an impressive achievement any way you look at it (though it begs the question of whether or not the box had any resources left to actually do anything with those connections...), and it speaks well of both FreeBSD's capabilities and Terry's skills and knowledge. I'm curious, though, if anyone has approached, matched, or exceeded that number elsewhere?"
*BSD handles 1.6 million connections without dying.
my webhosting box does twice that during peak hours, but then i'm hosting free porn so it doesn't count ;)
Post the address of that box here. We'll give it a real stress test.
I can't say that I don't give a fuck. I've just run out of fuck to give.
What has been tested is simply the number of concurrent connections. More practical would be simple retrieving of say 1kb data from a database and printing it out on a very simple HTML, and checking the maximum number of THESE connections. In effect trying to really httpblast DDoS style the FreeBSD with sheer number of connections. The box will have to be massive with 4GB RAM at least (we're testing OS here not hardware) and the connection maybe (multiple?) gigabit ethernet. The result would theoretically be lower than 1.6 million but we need to show FreeBSD can scale in practical tests like these. Results from a test like that will have the power to change vendors' minds from trying to run IIS and MS SQL for a high volume site.
"Give orange me give eat orange me eat orange give me eat orange give me you." -Nim Chimpsky
...to take on heavy server loads.
You can't steal anything that already free.
You evidently didn't RTFA carefully enough -- the subject line ("max simultaneous TCP connections") should have been a giveaway.
Tarsnap: Online backups for the truly paranoid
A Government Is a Body of People, Usually Notably Ungoverned
I wonder if the 64-bit version of FreeBSD would be able to improve upon this, since it can access more memory.
Ouch! The truth hurts!