Назад | Перейти на главную страницу

Почему не запускается Apache?

Вот мой журнал ошибок:

[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

Как мне это исправить и что с этим не так?

Я понял. Вот решение:

Добавить ulimit -s 512 к твоему апачу envvars файл (попробуйте /etc/apache2/envvars).

Источники: