Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Here is my error log:

[Sat Jul 14 21:39:21 2012] [notice] Apache/2.2.16 (Debian) configured -- resuming normal operations
[Sat Jul 14 21:39:21 2012] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread
[Sat Jul 14 21:39:21 2012] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread
[Sat Jul 14 21:39:23 2012] [alert] No active workers found... Apache is exiting!
[Sat Jul 14 21:39:36 2012] [warn] pid file /var/run/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Jul 14 21:39:36 2012] [notice] Apache/2.2.16 (Debian) configured -- resuming normal operations
[Sat Jul 14 21:39:36 2012] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread
[Sat Jul 14 21:39:36 2012] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread
[Sat Jul 14 21:39:38 2012] [alert] No active workers found... Apache is exiting!
[Sat Jul 14 21:43:17 2012] [warn] pid file /var/run/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Jul 14 21:43:17 2012] [notice] Apache/2.2.16 (Debian) configured -- resuming normal operations
[Sat Jul 14 21:43:17 2012] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread

How do I fix this and what's wrong with it?

share|improve this question
3  
You can answer your own question; it's a fundamental part of the site. –  womble Jul 14 '12 at 20:51

1 Answer 1

up vote 3 down vote accepted

I figured it out. Here is the solution:

Add ulimit -s 512 to your apache envvars file (try /etc/apache2/envvars).

Sources:

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.