[MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.

Petri Virkkula pvirkkul at iki.fi
Wed Mar 10 08:06:55 CET 1999


>>>>> "Ben" == Ben Greear <greear at cyberhighway.net> writes:

Ben> However, I wonder what to do when the accepting server on the
Ben> well known port is full?  One thing would be for it to quit
Ben> listening and spawn a new process on that well known port?

	The simplest way to handle this to raise the hard limit of
	open file descriptors if your operating system supports it,
	but that was not the answer you were expecting.
	
	I would probably go for multiple IP-addresses and multiple
	accepting servers. For example, hostname mud.dom.ain might
	have addresses 123.123.123.1-123.123.123.10 and ten processes,
	each of them listening only single address, not INADDR_ANY. I
	don't know how well this scheme would work though.


	Petri



_______________________________________________
MUD-Dev maillist  -  MUD-Dev at kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev




More information about the mud-dev-archive mailing list