1

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?

tristan
  • 43
  • 7

1 Answers1

3

I figured it out. Here is the solution:

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

Sources:

tristan
  • 43
  • 7