]> err.no Git - varnish/commit
Sleep for a bit if accept(2) returns EMFILE
authorTollef Fog Heen <tfheen@err.no>
Tue, 7 Oct 2008 09:43:49 +0000 (11:43 +0200)
committerTollef Fog Heen <tfheen@err.no>
Tue, 7 Oct 2008 09:43:49 +0000 (11:43 +0200)
commit219fa3d572d34978a7a13a785473a8224843455f
treecd34ad58e7745ac354cb44bb235e33700b0b2388
parent673d32ff3724e5cc1a28a23e1b048018826fa488
Sleep for a bit if accept(2) returns EMFILE

Hopefully, this will mitigate pile-ups somewhat and prevent us from
running out of file descriptors, at least as quickly.

See #330.
varnish-cache/bin/varnishd/cache_acceptor.c
varnish-cache/bin/varnishd/heritage.h
varnish-cache/bin/varnishd/mgt_param.c