[erlang-questions] stress test with tcp_server
Tue Jun 26 11:19:07 CEST 2007
Jeremy Chow wrote:
> I've tried use command ulimit to increase the file descriptors number to
> but the connections number was no more than 1024, sometimes is 1017,
> sometimes is 1018.
it depends how much files descriptors already allocated by this user at
the moment -- because file descriptor limit is set for users and not for
Anyway, after some experiments with FreeBSD I was able to push max
connection count to 4999 open connections
You should tune sysctl's to increase a hard limits
I've also tried to increase kern.ipc.nmbclusters=64000 but without success.
Are there any limit in 5000 FD's hard coded in erlang???
Setting ERL_MAX_PORTS also does not change the situation.
Network security consulting
t +37493 419763 (mob)
More information about the erlang-questions