We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Как настроить CoreDumpDirectory в apache?
Как настроить CoreDumpDirectory в apache?
Периодически на сервере начинают вылазить ошибки в /var/log/apache2/error.log
Чтобы узнать причину, попробовал воспользоваться статьей https://habr.com/company/bitrix/blog/153001/
В командной строке:
Добавил в /etc/security/limits.conf строку
В /etc/apache2/apache2.conf добавил строку
затем
Однако дампы не создаются после теста:
, в логах нет подстроки ", possible coredump in /tmp"
Что нужно сделать, чтобы начали создаваться дампы? ОС Debian 8, стоит VestaCP. Заранее спасибо.
Code: Select all
[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)
Чтобы узнать причину, попробовал воспользоваться статьей https://habr.com/company/bitrix/blog/153001/
В командной строке:
Code: Select all
echo "/tmp/httpd-core.%p" > /proc/sys/kernel/core_pattern
ulimit -с unlimited
Code: Select all
apache - core -1
Code: Select all
CoreDumpDirectory /tmp
Code: Select all
service apache2 restart
Code: Select all
ps aux | grep apache2
…
kill -11 12345
Что нужно сделать, чтобы начали создаваться дампы? ОС Debian 8, стоит VestaCP. Заранее спасибо.