OSDir

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

[Bug 62308] Apache crashes after graceful restart with AH02599: slotmem (failed size check)


https://bz.apache.org/bugzilla/show_bug.cgi?id=62308

--- Comment #3 from Yann Ylavic <ylavic.dev@xxxxxxxxx> ---
Created attachment 35881
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35881&action=edit
Relax slotmem reuse checks

Since slotmems now servive restarts, so we can do minimal checks (item size
only) when asked to reuse them (at creation time).
The overall size (i.e. also depending on the number of items) may have changed
but we don't know at this point whether the current/reused size will fit, and
it's the purpose of (b)growth parameters to allow/foresee for extension.
If it doesn't fit finally, the error should happen in slotmem_grab(), which
aligns with the previous code in 2.4.29.

Does this patch work for you?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx