misc connection closures
Janis Putrams
janis.putrams at delfi.lv
Mon Jul 30 16:29:41 CEST 2007
Hi!
You were right.
ulimit -a reported max 1024 open files for the user.
Connections started to be closed when lsof reported that limit. varnish slave
process also dies when that happens.
setting
/etc/security/limits.conf
* soft nofile 4096
* hard nofile 4096
/etc/pam.d/other
session required pam_limits.so
and restarting varnish solved problem.
tnx everybody for help. will look into 1.1 as well.
--
Janis
On Monday 30 July 2007 15:58, C. Handel wrote:
> On 7/30/07, Janis Putrams <janis.putrams at delfi.lv> wrote:
> > Though when reaching 2k req/sec we start to encounter connection
> > closures. Connection gets closed immediately after connection is
> > established.
>
> is there a ulimit from the Operating System? Number of open files/sockets?
> (As user running varnish: "ulimit -a")
>
> Greetings
> Christoph
More information about the varnish-misc
mailing list