Answer the question
In order to leave comments, you need to log in
Httpd seems to be hanging?
There is a VPS tariff "a href=" www.smartape.ru/vps "> "Standard" from SmartApe on CentOS 6. It has a site on 1C-Bitrix, which suddenly freezes periodically, i.e. after some random time the server stops loading pages.The only thing that saves is reloading the httpd process or a complete reboot of the VPS.Part of the httpd config
:
ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 30
KeepAlive Off
MaxKeepAliveRequests 6000
KeepAliveTimeout 10
StartServers 1
MinSpareServers 1
MaxSpareServers 3
ServerLimit 11
MaxClients 10
MaxRequestsPerChild 10000
Answer the question
In order to leave comments, you need to log in
Try to remove the launch of Bitrix agents from hits, maybe this will help. If it helps, transfer to crowns.
You yourself wrote
"mysql was losing the socket, although it was running itself"
So you need to look not at the Apache settings, but at the muscle.
Most often, the error occurs in the database server, and not in Apache.
look at the muscle logs. Usually he writes to the log when and why he falls off.
Try changing the settings for memory allocation, the number of connections to the database.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question