[Varnish] #572: Fix for: Create worker thread failed 11 Resource temporarily unavailable (Thread Problem on Linux)
Varnish
varnish-bugs at projects.linpro.no
Tue Nov 3 16:18:20 CET 2009
#572: Fix for: Create worker thread failed 11 Resource temporarily unavailable
(Thread Problem on Linux)
-------------------------+--------------------------------------------------
Reporter: whocares | Owner: phk
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by whocares):
| The reason you can't have more is that you run out of pids. There are
only 32k of those.
| (I can create 32k-ish threads on my laptop with 8MB stack size just
fine.)
I'd say the number of available PIDs isn't the limit there. Even if I do a
'sysctl -w kernel.pid_max=4194303' to increase the amount of available
PIDs I'll end up with around 32k threads max. Ok, it'll allow for roughly
600 threads more than with the standard settings but that's only such a
marginal improvement that it suggests that I'm still running into some
kind of memory limit there.
And yes, I'd love to use a 64bit system. Unfortunately, this won't happen
- at least not with this specific installation. Not in the foreseeable
future anyway.
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/572#comment:4>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list