• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue Plesk server shuts down randomly

MortezaHeydari

New Pleskian
Hi Everyone,

Let me explain the situation. The Plesk server shuts down early morning our time(Not server's timezone) multiple time recently. The error log doesn't show any errors at the time of shutdown.

here some info about the server:

· Plesk version: Plesk v12.0.18_build1200140606.15 os_CentOS 6

· The server has 5 websites plus a PIWIK(analytic tool) website on it.

· the traffic used is always between 200 GB to 300 GB per month.

· the website which has the most traffic has around 400,000 views monthly.


Anyone had similar issue? what is best way to troubleshoot this problem?

Thank you in advance.
 
Do you have any scheduled task at this morning time? Backup or something else?
 
The only schedule task i have found is under System Users root:

0 0 * * 0 /usr/local/psa/admin/bin/php -c '/usr/local/psa/admin/conf/php.ini' -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/servershield/scripts/update-servershield.php'
 
What about

# plesk db "select * from BackupsScheduled"
 
... just a shoot "out of the blue":

If you experience issues EVERY DAY, at the same time, it is most likely, that it has something to do with logrotate issues. See for example:

Hi Chris1,

consider to use "/bin/systemctl restart httpd.service" instead of "/bin/systemctl reload httpd.service"... untill you found the cause of your issue.

Consider as well to raise the open-file -limit for the apache system user. ( /etc/security/limits.conf ), or to setup a higher limit than the standart 1024 limit.

Example:
Code:
...
apache        soft    nofile          64000
apache        hard    nofile          64000
...

Consider as well to un-install modules, that you don't really need and use.


For further suggestion, please wait for another forum - user to answer you, but please be informed, that this doesn't seem to be a Plesk - related issue at all, so I would change the title of the thread. :)​

I had the same problem (CentOS 7, Plesk 12.5).
It started when I installed mod_security.

As far as I understand, it occurs at logrotation, because both
/etc/logrotate.d/httpd
/etc/logrotate.d/mod_security
contain a line for httpd reload.
Apparently, they happen simultaneously and cause the 'seg fault' error of apache.

Replacing 'reload' with 'restart' solved the problem.

Hello @ehrenwert

Did changing the "reload" command to "restart" solve your problem as well?

I don't understand why this bug isn't fixed yet. I'm not sure who is at fault though.

This seems similar: https://bugzilla.redhat.com/show_bug.cgi?id=1143908

..but I don't have mod_php installed/loaded.

In the last week I did not mention a segfault. So it seems to be a valid workaround..
 
Back
Top