only 503s after a few hours (trunk-4384)

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Dec 9 15:07:13 CET 2009


In message <002b01ca78d6$a7de2b10$7802a8c0 at interactive.live.net>, "Fernando Pap
a" writes:
>Happened again.  This time I left varnishlog running, and got...

>    5 Debug        - "Too many open files when accept(2)ing. Sleeping."
><EOF>

That's your trouble:  The kernel does not allow varnish to open
as many filedescriptors as it needs.

Use whatever means your kernel has to change this number, possibly
ulimit(1) or similar.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list