httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f_los_ch <f_los...@yahoo.com>
Subject worker slotmem_grab failed (2.4.1)
Date Thu, 23 Feb 2012 18:23:05 GMT
Hi together,

I'm trying to get my reverse-proxy running with the new httpd 2.4.1,
that aborts now with "worker slotmem_grab failed".

When looking at mod_proxy_balancer:

It looks like each balancer creates the SHM for its number of workers (1
in my case) using its unique ->sname. After that, each worker grabs a
slot from this.

I have several virtual hosts pointing to the same balancer (by rewrite
[P]). So, the second time, the balancer calls shm's slotmem_create again
with its name, that already exists -> kind-of noop.

Now, the SHM under the balancer's name has still only 1 slot (that is
already occupied).

When the worker now wants to (re-)grab its slot, I get:

[slotmem_shm:debug] mod_slotmem_shm.c(575): AH02293: slotmem(...) grab
failed. Num 1/num_free 0 [proxy_balancer:emerg] (22)Invalid argument:
AH01186: worker slotmem_grab failed 
Please note that my explanation should only be considered as an educated
guess for the reason of the error - there might be other obvious causes
that I have overseen.

Has anyone similar issues? Any suggestions?

Thanks in advance,
Florian


$ httpd -V Server version: Apache/2.4.1 (Unix) Server built:   Feb 23
2012 18:21:48 Server's Module Magic Number: 20120211:0 Server loaded:
APR 1.4.5, APR-UTIL 1.4.1 Compiled using: APR 1.4.5, APR-UTIL 1.4.1
Architecture:   32-bit Server MPM:     event   threaded:     yes (fixed
thread count)     forked:     yes (variable process count) 


Mime
View raw message