Bug? Barage of hits leads to failure creating worker threads / stats tracking
Bret A. Barker
bret at iwin.com
Tue Apr 14 20:57:49 CEST 2009
Try a "ulimit -s 1024" in your init script. Definitely sounds like a problem with thread stack size defaulting to 8192.
On Tue, Apr 14, 2009 at 02:31:31PM -0400, Ray Barnes wrote:
> Thanks for the reply. With those settings, same result:
> 192 N worker threads
> 284 N worker threads created
> 21 N worker threads not created
> Again, the issue is apparently that the _operating system_ does not let me
> create more than 300ish threads.
> On Tue, Apr 14, 2009 at 2:19 PM, Rafael Umann <rafael.umann at terra.com.br>wrote:
> > What about the cache size? have you decresead it?
> > Try running varnish with:
> > # varnishd -f /etc/varnish/default.vcl \
> > -a 0.0.0.0:80 <http://0.0.0.0/> \
> > -s file,/var/lib/varnish/varnish_storage.bin,50M \
> > -T 0.0.0.0:6082 \
> > -u varnish \
> > -g varnish \
> > -w 500,500,120 \
> > -p lru_interval=900 \
> > -p thread_pools=1 \
> > -P /var/run/varnish/varnish.pid \
> > -F"
> > s,
More information about the varnish-dev