You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Piotr 'drozdo' Drozdowski <pd...@opensolutions.pl> on 2004/06/22 20:13:14 UTC

[users@httpd] problem with theads(?)

Hello

I`ve got a problem with apache web server.. It doesnt respond after a while
from starting it and soon its crashing. Logs shows something like this:

[Tue Jun 22 19:36:05 2004] [alert] (11)Resource temporarily unavailable:
apr_thread_create: unable to create worker thread

and then
[Tue Jun 22 19:36:16 2004] [warn] child process 7351 still did not exit,
sending a SIGTERM

and
[Tue Jun 22 19:36:22 2004] [error] child process 7351 still did not exit,
sending a SIGKILL

What resource coud it be? in limits.conf I`ve only:
open files                    (-n) 1024
pipe size          (512 bytes, -p) 8
stack size            (kbytes, -s) 8192
max user processes            (-u) 80

the rest is unlimited. There is much of free ram, swap and processor..
What else could it be?
TIA

-- 
Piotr Drozdowski
drozdo(at)uszatek.int.pl
http://opensolutions.pl/
"Brejkam wszystkie rule"   

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] problem with theads(?)

Posted by Piotr 'drozdo' Drozdowski <pd...@opensolutions.pl>.
Dnia Tue, 22 Jun 2004 12:56:33 -0700
Paul Querna <ch...@force-elite.com> napisaƂ(a):

> On Tue, 2004-06-22 at 20:13 +0200, Piotr 'drozdo' Drozdowski wrote:
> > the rest is unlimited. There is much of free ram, swap and processor..
> > What else could it be?
> 
> Can you please provide more details?
> Platform, MPM in use(sounds like worker), Apache version, how did you
> install apache(RPM, EBuild, From source..), What is your MPM configured
> for...

It is 900MHz athlon thunderbird, mpm is worker but also prefork (they both
crash simillar), apache-2.0.49-3 from pld`s rpm (www.pld-linux.org)...
I found one interresting thing - my friend`s homesite with mp3 was making
~2000 requests per day - now it`s unmounted and apache runs clearly :-) My
mpm config looks like this now:
 <IfModule prefork.c>
StartServers         5
MinSpareServers      3
MaxSpareServers      8
MaxClients          40
MaxRequestsPerChild  0
</IfModule>

Now I can see that maybe apache stopped responding to new requests because
of too high load and this was a false alarm, sorry for troubbleing You but
the message in logfiles wasnt so obvious :-)

thanks and regards,

-- 
Piotr Drozdowski
drozdo(at)uszatek.int.pl
http://opensolutions.pl/
"Brejkam wszystkie rule"   

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] problem with theads(?)

Posted by Paul Querna <ch...@force-elite.com>.
On Tue, 2004-06-22 at 20:13 +0200, Piotr 'drozdo' Drozdowski wrote:
> the rest is unlimited. There is much of free ram, swap and processor..
> What else could it be?

Can you please provide more details?
Platform, MPM in use(sounds like worker), Apache version, how did you
install apache(RPM, EBuild, From source..), What is your MPM configured
for...


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org