如何在Apache中配置CoreDumpDirectory?

时间:2018-07-18 21:50:59

标签: php apache apache2

服务器通常会在/var/log/apache2/error.log中开始出现错误

~\Anaconda3\lib\site-packages\bokeh\embed\util.py in ()
30 # Bokeh imports
31 from ..core.json_encoder import serialize_json
---> 32 from ..core.templates import _env, DOC_JS, FILE, MACROS, PLOT_DIV, SCRIPT_TAG
33 from ..document.document import DEFAULT_TITLE, Document
34 from ..model import Model, collect_models

ImportError: cannot import name 'MACROS'

我使用本手册https://habr.com/company/bitrix/blog/153001/(俄语文章)

我尝试过

[Sat Jun 30 16:24:04.235870 2018] [core:notice] [pid 14059] AH00052: child pid 8211 exit signal Segmentation fault (11)
[Sat Jun 30 16:24:05.237066 2018] [core:notice] [pid 14059] AH00052: child pid 8213 exit signal Segmentation fault (11)
[Sat Jun 30 16:24:08.240572 2018] [core:notice] [pid 14059] AH00052: child pid 8214 exit signal Segmentation fault (11)
[Sat Jun 30 16:24:08.240614 2018] [core:notice] [pid 14059] AH00052: child pid 8215 exit signal Segmentation fault (11)

我在/etc/security/limits.conf字符串中添加了

echo "/tmp/httpd-core.%p" > /proc/sys/kernel/core_pattern
ulimit -с unlimited

在/etc/apache2/apache2.conf

apache - core -1

然后

CoreDumpDirectory /tmp

但是,测试后不会创建转储:

service apache2 restart

,日志中没有子字符串“,/ tmp中可能存在coredump”如何开始转储? OS Debian 8,面板VestaCP。先感谢您。对不起我的英语,我来自乌克兰。

0 个答案:

没有答案