I am under the impression is that we should likely restore mod_slotmem_shm back to its "orig" condition, either:
o http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/slotmem/mod_slotmem_shm.c?view=markup&pathrev=1822341 <http://svn.apache.org/viewvc?view=revision&revision=1822341> o http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/slotmem/mod_slotmem_shm.c?view=markup&pathrev=1782069 <http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/slotmem/mod_slotmem_shm.c?view=markup&pathrev=1782069> and try to rework all of this. I fear that all the subsequent work has really made this module extremely fragile. We need, IMO, a very minimal fix for PR 62044 Just for the heck of it, didn't r1822341 <http://svn.apache.org/viewvc?view=revision&revision=1822341> actually *FIX* the PR? > On May 8, 2018, at 10:50 AM, Stefan Eissing <[email protected]> > wrote: > > 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 >
