Most likely it is due to some assumptions in slotmem based on the underlying
shm implementation, ie: SysV or Posix.

I would be remiss is pointing out that here is yet another case where
instead of a simple fix for a bug, we instead refactored a sh*t-ton of code
and in the process, broke stuff.

Can we PLEASE avoid using bug reports as opportunities to
show everyone how smart we are and rewrite whole swaths of
code... please!

> On Apr 17, 2018, at 12:37 PM, Exonetric <m...@exonetric.com> wrote:
> 
> FWIW, I am seeing this too, but examining the code I could not see how. It 
> looks like it just does a shm destroy and then moves on to recreating the SHM 
> segment.
> 
> On 17 Apr 2018, at 14:03, Jim Jagielski <j...@jagunet.com 
> <mailto:j...@jagunet.com>> wrote:
> 
>> This should not be a fatal error... I don't think it was before.
>> 
>>> Begin forwarded message:
>>> 
>>> From: bugzi...@apache.org <mailto:bugzi...@apache.org>
>>> Subject: [Bug 62308] New: Apache crashes after graceful restart with 
>>> AH02599: slotmem (failed size check)
>>> Date: April 17, 2018 at 6:21:09 AM EDT
>>> To: b...@httpd.apache.org <mailto:b...@httpd.apache.org>
>>> Reply-To: "Apache HTTPD Bugs Notification List" <b...@httpd.apache.org 
>>> <mailto:b...@httpd.apache.org>>
>>> 
>>> https://bz.apache.org/bugzilla/show_bug.cgi?id=62308 
>>> <https://bz.apache.org/bugzilla/show_bug.cgi?id=62308>
>>> 
>>>            Bug ID: 62308
>>>           Summary: Apache crashes after graceful restart with AH02599:
>>>                    slotmem (failed size check)
>>>           Product: Apache httpd-2
>>>           Version: 2.4.33
>>>          Hardware: PC
>>>            Status: NEW
>>>          Severity: regression
>>>          Priority: P2
>>>         Component: mod_proxy_balancer
>>>          Assignee: b...@httpd.apache.org <mailto:b...@httpd.apache.org>
>>>          Reporter: d...@d-velop.de <mailto:d...@d-velop.de>
>>>  Target Milestone: ---
>>> 
>>> Created attachment 35878
>>>  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35878&action=edit 
>>> <https://bz.apache.org/bugzilla/attachment.cgi?id=35878&action=edit>
>>> logfile with configuration change example
>>> 
>>> After updating from 2.4.27 to 2.4.33, we get a crash when doing a graceful
>>> restart after modifying the mod_proxy/mod_proxy_balancer configuration in 
>>> the
>>> filesystem. 
>>> We are modifying the configuration files dynamicaly when our infrastructure
>>> changes. After this, we do a graceful restart using the following Windows
>>> command: httpd.exe -k restart
>>> This worked fine with 2.4.27 and below. 
>>> With 2.4.33 we get the following message:
>>> AH02599: existing shared memory for 
>>> C:/Apache24/temp/slotmem-shm-p17ffdef3.shm
>>> could not be used (failed size check)
>>> 
>>> I've added a Apache logfile with an example of configuration change that 
>>> causes
>>> this issue
>>> 
>>> -- 
>>> You are receiving this mail because:
>>> You are the assignee for the bug.
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org 
>>> <mailto:bugs-unsubscr...@httpd.apache.org>
>>> For additional commands, e-mail: bugs-h...@httpd.apache.org 
>>> <mailto:bugs-h...@httpd.apache.org>
>>> 
>> 

Reply via email to