]> err.no Git - varnish/commit
Sleep for a bit if accept(2) returns EMFILE
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 7 Oct 2008 09:46:24 +0000 (09:46 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 7 Oct 2008 09:46:24 +0000 (09:46 +0000)
commit76236c9b405476160840cc2230e55ed386e99ce0
treecd34ad58e7745ac354cb44bb235e33700b0b2388
parent9bc7afaf127b080458a883d53cf0a599386ec749
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.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3261 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_acceptor.c
varnish-cache/bin/varnishd/heritage.h
varnish-cache/bin/varnishd/mgt_param.c