LINUX.ORG.RU

После установки eaccelerator на vds ошибка 502 (CentOS)

 , ,


0

1

Лог

Thu Jun 04 00:01:51 2015] [error] (23)Too many open files in system: apr_socket_accept: (client socket)
[Thu Jun 04 05:04:20 2015] [emerg] (23)Too many open files in system: Couldn't create pollset in child; check system or user limits
[Thu Jun 04 05:04:20 2015] [emerg] (23)Too many open files in system: Couldn't create pollset in child; check system or user limits
[Thu Jun 04 05:04:20 2015] [emerg] (23)Too many open files in system: Couldn't create pollset in child; check system or user limits
[Thu Jun 04 06:04:35 2015] [emerg] (23)Too many open files in system: Couldn't create pollset in child; check system or user limits
[Thu Jun 04 08:00:57 2015] [emerg] (23)Too many open files in system: Couldn't create pollset in child; check system or user limits
[Thu Jun 04 08:00:57 2015] [emerg] (23)Too many open files in system: Couldn't create pollset in child; check system or user limits
[Thu Jun 04 08:00:57 2015] [emerg] (23)Too many open files in system: Couldn't create pollset in child; check system or user limits
[Thu Jun 04 08:00:57 2015] [emerg] (23)Too many open files in system: Couldn't create pollset in child; check system or user limits
[Thu Jun 04 16:11:26 2015] [emerg] (23)Too many open files in system: Couldn't create pollset in child; check system or user limits
[Thu Jun 04 16:11:26 2015] [emerg] (23)Too many open files in system: Couldn't create pollset in child; check system or user limits
[Thu Jun 04 19:00:15 2015] [error] (23)Too many open files in system: apr_socket_accept: (client socket)
[Thu Jun 04 20:02:48 2015] [emerg] (23)Too many open files in system: Couldn't create pollset in child; check system or user limits
[Thu Jun 04 20:02:48 2015] [emerg] (23)Too many open files in system: Couldn't create pollset in child; check system or user limits
[Fri Jun 05 00:01:52 2015] [error] (23)Too many open files in system: apr_socket_accept: (client socket)
[Fri Jun 05 01:48:21 2015] [notice] caught SIGTERM, shutting down
[Fri Jun 05 01:48:21 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jun 05 01:48:21 2015] [warn] module rpaf_module is already loaded, skipping
[Fri Jun 05 01:48:21 2015] [notice] Digest: generating secret for digest authentication ...
[Fri Jun 05 01:48:21 2015] [notice] Digest: done
eAccelerator: Could not allocate 134217728 bytes, the maximum size the kernel allows is 33554432 bytes. Lower the amount of memory request or increase the limit in /proc/sys/kernel/shmmax.
PHP Warning:  [eAccelerator] Can not create shared memory area in Unknown on line 0
PHP Fatal error:  Unable to start eAccelerator module in Unknown on line 0
er: /usr/sbin/suexec)
[Thu Jun 04 23:12:08 2015] [warn] module rpaf_module is already loaded, skipping
[Thu Jun 04 23:12:08 2015] [notice] Digest: generating secret for digest authentication ...
[Thu Jun 04 23:12:08 2015] [notice] Digest: done
eAccelerator: Could not allocate 134217728 bytes, the maximum size the kernel allows is 33554432 bytes. Lower the amount of memory request or increase the limit in /proc/sys/kernel/shmmax.
PHP Warning:  [eAccelerator] Can not create shared memory area in Unknown on line 0
PHP Fatal error:  Unable to start eAccelerator module in Unknown on line 0
[Thu Jun 04 23:12:11 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jun 04 23:12:11 2015] [warn] module rpaf_module is already loaded, skipping
[Thu Jun 04 23:12:12 2015] [notice] Digest: generating secret for digest authentication ...
[Thu Jun 04 23:12:12 2015] [notice] Digest: done
eAccelerator: Could not allocate 134217728 bytes, the maximum size the kernel allows is 33554432 bytes. Lower the amount of memory request or increase the limit in /proc/sys/kernel/shmmax.
PHP Warning:  [eAccelerator] Can not create shared memory area in Unknown on line 0
PHP Fatal error:  Unable to start eAccelerator module in Unknown on line 0
[Thu Jun 04 23:12:15 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jun 04 23:12:15 2015] [warn] module rpaf_module is already loaded, skipping
[Thu Jun 04 23:12:15 2015] [notice] Digest: generating secret for digest authentication ...
[Thu Jun 04 23:12:15 2015] [notice] Digest: done
eAccelerator: Could not allocate 134217728 bytes, the maximum size the kernel allows is 33554432 bytes. Lower the amount of memory request or increase the limit in /proc/sys/kernel/shmmax.
PHP Warning:  [eAccelerator] Can not create shared memory area in Unknown on line 0
PHP Fatal error:  Unable to start eAccelerator module in Unknown on line 0
[Thu Jun 04 23:12:18 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jun 04 23:12:18 2015] [warn] module rpaf_module is already loaded, skipping
[Thu Jun 04 23:12:18 2015] [notice] Digest: generating secret for digest authentication ...
[Thu Jun 04 23:12:18 2015] [notice] Digest: done
eAccelerator: Could not allocate 134217728 bytes, the maximum size the kernel allows is 33554432 bytes. Lower the amount of memory request or increase the limit in /proc/sys/kernel/shmmax.
PHP Warning:  [eAccelerator] Can not create shared memory area in Unknown on line 0
PHP Fatal error:  Unable to start eAccelerator module in Unknown on line 0
[Thu Jun 04 23:12:21 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jun 04 23:12:21 2015] [warn] module rpaf_module is already loaded, skipping
[Thu Jun 04 23:12:21 2015] [notice] Digest: generating secret for digest authentication ...
[Thu Jun 04 23:12:21 2015] [notice] Digest: done
eAccelerator: Could not allocate 134217728 bytes, the maximum size the kernel allows is 33554432 bytes. Lower the amount of memory request or increase the limit in /proc/sys/kernel/shmmax.
PHP Warning:  [eAccelerator] Can not create shared memory area in Unknown on line 0
PHP Fatal error:  Unable to start eAccelerator module in Unknown on line 0

Получается лежит аппач

httpd.itk is stopped

Куда копать и как исправить?

Копать в сторону

vi /etc/sysctl.conf
fs.file-max = 999999
sysctl -p

и
vi /etc/security/limits.conf
* - nofile 999999

v9lij ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.