Eu percebi isso. Aqui está a solução:
Adicione ulimit -s 512
ao seu arquivo apache envvars
(tente /etc/apache2/envvars
).
Fontes:
Aqui está o meu log de erros:
[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
Como corrijo isso e o que há de errado com isso?
Eu percebi isso. Aqui está a solução:
Adicione ulimit -s 512
ao seu arquivo apache envvars
(tente /etc/apache2/envvars
).
Fontes:
Tags apache-2.2 debian-squeeze