osdir.com

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

Re: [users@httpd] Apache crashes with: AH03104: apr_thread_create


On 9/22/18 5:12 PM, Rainer Jung wrote:
> Since your system seems to have lots of free memory, I don't expect a
> memory shortage unless there's a memory leak and the memory numbers you
> showed below would be very different when the crash actually happens.
> Each thread needs a thread stack in memory.
> 
> What could happen is that the limit of threads your use can create (sum
> over all of his processes) hits the nproc limit. Note that although it
> is called nproc = number of processes, what it limits on Linux is
> actually the (much bigger) number of threads per user.


You can fix this by recompiling the kernal to allow for more shared
memory.  There might be a better way to design your apache set up,
though.  If you are using a VM it needs more memory

-- 
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx