You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2020/01/27 10:44:51 UTC

[Bug 64100] New: Windows Server, Apache 32bit httpd child process restarts every few minutes: “[crit] Memory allocation failed, aborting process”

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

            Bug ID: 64100
           Summary: Windows Server, Apache 32bit httpd child process
                    restarts every few minutes: “[crit] Memory allocation
                    failed, aborting process”
           Product: Apache httpd-2
           Version: 2.4.35
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: All
          Assignee: bugs@httpd.apache.org
          Reporter: yshikly@gmail.com
  Target Milestone: ---

Hi,
We have Apache 32bit httpd child process that restarts (non-zero exit status)
every few minutes followed by a message: "[crit] Memory allocation failed,
aborting process".

Usually there is also another message that comes just before or after the
memory allocation message: "AH00326: Server ran out of threads to serve
requests. Consider raising the ThreadsPerChild setting"

We also see that if the load is very low then the issue does not occure.
We thought to increase first the ThreadsPerChild to a higher number but we're
not sure it is related to the restart since child process should not
restart/crash if limit is reached, but only deny the service until available.

The main question here is: what can cause the memory allocation failure.

Thanks,
Kobi

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


[Bug 64100] Windows Server, Apache 32bit httpd child process restarts every few minutes: “[crit] Memory allocation failed, aborting process”

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64100

--- Comment #3 from Kobi <ys...@gmail.com> ---
(In reply to Eric Covener from comment #1)
> > We thought to increase first the ThreadsPerChild to a higher number but
> > we're not sure it is related to the restart since child process should not
> 
> That could make it much worse. A 32-bit application uses a relatively large
> stacksize on 64-bit windows. How low is your current ThreadsPerChild?

ThreadsPerChild is set to 1200.

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


[Bug 64100] Windows Server, Apache 32bit httpd child process restarts every few minutes: “[crit] Memory allocation failed, aborting process”

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64100

Kobi <ys...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

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


[Bug 64100] Windows Server, Apache 32bit httpd child process restarts every few minutes: “[crit] Memory allocation failed, aborting process”

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64100

--- Comment #5 from Kobi <ys...@gmail.com> ---
(In reply to Kobi from comment #4)
> (In reply to Kobi from comment #3)
> > (In reply to Eric Covener from comment #1)
> > > > We thought to increase first the ThreadsPerChild to a higher number but
> > > > we're not sure it is related to the restart since child process should not
> > > 
> > > That could make it much worse. A 32-bit application uses a relatively large
> > > stacksize on 64-bit windows. How low is your current ThreadsPerChild?
> > 
> > ThreadsPerChild is set to 1200.
> 
> Once we've replace httpd server with 64 bit version the problem does not
> seem to reproduce.

We will keep monitoring the system for the next few days and if everything is
OK then we'll close this bug.

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


[Bug 64100] Windows Server, Apache 32bit httpd child process restarts every few minutes: “[crit] Memory allocation failed, aborting process”

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64100

--- Comment #2 from Kobi <ys...@gmail.com> ---
ThreadsPerChild is set to 1200.

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


[Bug 64100] Windows Server, Apache 32bit httpd child process restarts every few minutes: “[crit] Memory allocation failed, aborting process”

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64100

--- Comment #4 from Kobi <ys...@gmail.com> ---
(In reply to Kobi from comment #3)
> (In reply to Eric Covener from comment #1)
> > > We thought to increase first the ThreadsPerChild to a higher number but
> > > we're not sure it is related to the restart since child process should not
> > 
> > That could make it much worse. A 32-bit application uses a relatively large
> > stacksize on 64-bit windows. How low is your current ThreadsPerChild?
> 
> ThreadsPerChild is set to 1200.

Once we've replace httpd server with 64 bit version the problem does not seem
to reproduce.

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


[Bug 64100] Windows Server, Apache 32bit httpd child process restarts every few minutes: “[crit] Memory allocation failed, aborting process”

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64100

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 OS|                            |All

--- Comment #1 from Eric Covener <co...@gmail.com> ---
> We thought to increase first the ThreadsPerChild to a higher number but
> we're not sure it is related to the restart since child process should not

That could make it much worse. A 32-bit application uses a relatively large
stacksize on 64-bit windows. How low is your current ThreadsPerChild?

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