opcache 导致错误:允许的内存大小,以及 malloc:*** 对象 0x10b4cbaf8 错误:正在释放的指针未分配

opcache 导致错误:允许的内存大小,以及 malloc:*** 对象 0x10b4cbaf8 错误:正在释放的指针未分配

自从我安装了 opcache 后,出现了这些错误:

[Thu Jun 04 17:31:02 2015] [error] [client 127.0.0.1] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4485046248 bytes) in Unknown on line 0
[Thu Jun 04 17:31:13 2015] [error] [client 127.0.0.1] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4484571720 bytes) in Unknown on line 0
httpd(33061,0x7fff790d0300) malloc: *** error for object 0x10b4cbaf8: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
[Thu Jun 04 17:31:31 2015] [notice] child pid 33061 exit signal Abort trap (6)
httpd(33063,0x7fff790d0300) malloc: *** error for object 0x10b4cbaf8: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
[Thu Jun 04 17:31:32 2015] [notice] child pid 33063 exit signal Abort trap (6)
httpd(33064,0x7fff790d0300) malloc: *** error for object 0x10b4cbaf8: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
[Thu Jun 04 17:31:33 2015] [notice] child pid 33064 exit signal Abort trap (6)
[Thu Jun 04 17:31:34 2015] [error] [client 127.0.0.1] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4485049952 bytes) in Unknown on line 0

我正在将 Zend Server 与 Apache 结合使用。

PHP 版本 5.4.21

这是我的配置:

[opcache]
zend_extension="/usr/local/zend/lib/php_extensions/opcache.so"
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1

当我尝试重新加载我的 phpinfo.php 页面时,它是空白的。

是什么导致了这个问题?我忘记了什么或者需要做什么?

相关内容