1
Livid MOD 看一下 error_log 里的提示。
|
2
nonozone OP log提示 PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
|
3
nonozone OP @Livid 完整的提示
[Wed Oct 24 10:04:28 2012] [notice] caught SIGTERM, shutting down 1499 eAccelerator: Could not allocate 134217728 bytes, the maximum size the kernel allows is 33554432 bytes. Lower the amount of memory requ est or increase the limit in /proc/sys/kernel/shmmax. 1500 PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0 1501 PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0 1502 eAccelerator: Could not allocate 134217728 bytes, the maximum size the kernel allows is 33554432 bytes. Lower the amount of memory requ est or increase the limit in /proc/sys/kernel/shmmax. 1503 PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0 1504 PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0 |
4
nonozone OP 现在发现是我吧eaccelerator.shm_size="16"这里的数值弄太大了,想当然的觉得越大越好,自己弄成了64,超过系统核心允许的最大数值?改回16现在网站可以访问了。
但是重启apache的时候,显示的是 Restarting web server: htcacheclean apache2 ... waiting . 这个正常不? |