git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: slotmem + balancer


I can reproduce with global balancers (10 is your number of vhosts
presumably, hence with global balancers there are as many sets of
files).
Let me look at what's happening for the failure...

On Wed, May 9, 2018 at 12:45 AM, Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote:
> Hi Stefan,
>
> what system is this, and which SHM mechanism (ie. APR_USE_SHMEM_*
> defined in your "include/apr.h")?
> The children processes fail to init (attach SHMs), although they
> should be inherited on unixes (found in global list), could you please
> provide [debug] logs?
>
> Thanks,
> Yann.
>
>
> On Tue, May 8, 2018 at 5:00 PM, Stefan Eissing
> <stefan.eissing@xxxxxxxxxxxxx> wrote:
>> Correction, the log seems to be filling with these entries every 1-2 seconds. The server does not progress further and does not answer to requests. Any idea?
>>
>>> Am 08.05.2018 um 16:50 schrieb Stefan Eissing <stefan.eissing@xxxxxxxxxxxxx>:
>>>
>>> r1831192 on trunk. Every time I stop/start my test server, I get a new set of slotmem-shm-p*.sh m files and the log says 10 times:
>>> ...
>>> [Tue May 08 14:43:12.728333 2018] [proxy_balancer:emerg] [pid 49764:tid 140736151831424] AH01205: slotmem_attach failed
>>>
>>> There are 10 sets of files. I have 5 balancers defined and initially, 2 httpd processes run. Coincidence?
>>>
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p120bed0a.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p120bed0a_h2_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p120bed0a_h2c_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p120bed0a_http_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p120bed0a_https_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p120bed0a_nghttp2.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p2f1c2700.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p2f1c2700_h2_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p2f1c2700_h2c_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p2f1c2700_http_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p2f1c2700_https_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p2f1c2700_nghttp2.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p39dac199.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p39dac199_h2_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p39dac199_h2c_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p39dac199_http_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p39dac199_https_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p39dac199_nghttp2.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p42fd765c.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p42fd765c_h2_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p42fd765c_h2c_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p42fd765c_http_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p42fd765c_https_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p42fd765c_nghttp2.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p689c1ea2.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p689c1ea2_h2_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p689c1ea2_h2c_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p689c1ea2_http_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p689c1ea2_https_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p689c1ea2_nghttp2.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p72dffeb5.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p72dffeb5_h2_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p72dffeb5_h2c_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p72dffeb5_http_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p72dffeb5_https_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p72dffeb5_nghttp2.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p84c8ab74.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p84c8ab74_h2_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p84c8ab74_h2c_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p84c8ab74_h2x_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p84c8ab74_http_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p84c8ab74_https_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-p84c8ab74_nghttp2.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pb14e9343.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pb14e9343_h2_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pb14e9343_h2c_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pb14e9343_http_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pb14e9343_https_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pb14e9343_nghttp2.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pb2a77e76.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pb2a77e76_h2_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pb2a77e76_h2c_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pb2a77e76_http_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pb2a77e76_https_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pb2a77e76_nghttp2.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pd1f3ef78.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pd1f3ef78_h2_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pd1f3ef78_h2c_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pd1f3ef78_http_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pd1f3ef78_https_local.shm
>>> -rw-r--r--  1 sei  staff      8  8 Mai 16:43 slotmem-shm-pd1f3ef78_nghttp2.shm
>>>
>>