FreeBSD 10 eAccelerator
Добавлено: 2014-05-14 9:33:53
Добрый день.
Возникла проблема с eAccelerator на системе Freebsd 10
Ошибка такая.
Перезагружаю апач все работает, но некоторое время, после опять падает.
Нету такой системной переменной.
Как быть в этом случае?
Возникла проблема с eAccelerator на системе Freebsd 10
Код: Выделить всё
FreeBSD 10.0-RELEASE-p2 amd64
Код: Выделить всё
# php -v
PHP 5.3.28 with Suhosin-Patch (cli) (built: May 13 2014 15:02:12)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with eAccelerator v1.0-dev, Copyright (c) 2004-2012 eAccelerator, by eAccelerator
Код: Выделить всё
# php -m
[PHP Modules]
Core
ctype
date
dom
eAccelerator
ereg
ffmpeg
filter
gd
hash
json
libxml
mbstring
mcrypt
memcache
mhash
mysql
mysqlnd
pcre
posix
Reflection
session
SimpleXML
SPL
standard
tokenizer
xml
zlib
[Zend Modules]
eAccelerator
Код: Выделить всё
Server version: Apache/2.2.27 (FreeBSD)
Server built: May 13 2014 15:01:41
Код: Выделить всё
[Tue May 13 21:36:45 2014] [notice] Apache/2.2.27 (FreeBSD) configured -- resuming normal operations
[Tue May 13 23:00:00 2014] [notice] Graceful restart requested, doing restart
eAccelerator: Could not allocate 130023424 bytes, the maximum size the kernel allows is 4194304 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
[Wed May 14 08:35:11 2014] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
Нету такой системной переменной.
Код: Выделить всё
# sysctl -w kernel.shmmax
sysctl: unknown oid 'kernel.shmmax': No such file or directory