Skip to main content

Change Restart Service Attempts from 1 to 3 or help with OOM Error

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey there!  If this is related to the email service failing (I couldn't tell from the screenshots)I would recommend checking the log at /var/log/exim_mainlog around that time to see if that gives you any additional clues.  You're also always welcome to submit a ticket to have this investigated directly on the system, as it does seem odd for there to be so much free RAM but you are still receiving OOM errors - this could be an indication of a problem with the parent server if this is a VPS machine of some sort.

    1
  • Microft

    Hi,

    Apologies for the delay getting back to you, I didn't get any notification.

    Yes, it's a VPS. Every so often services fail (see below for which) but are not restarted, unless I manually restart them or reboot the server.

    Services that all fail are:

    Ifd
    chkservd

    There are a couple more. My question was can the restart attempts be changed to automatically restart the services more than one attempt?

    As stated. My hosting was migrated from CentOS7 to Alma Linux. VPS to VPS.

    Since I rebooted the VPS yesterday, nothing has failed. So I'll keep an eye on it and if it happens again, I'll submit a ticket.

    Thanks again.

    Mike.

    0
  • cPRex Jurassic Moderator

    No, there is no way to change the number of restart attempts - everything should either restart the first time and send you an email letting you know it was restarted, or the restart fails and you get an email telling you why.  Either way you should be receiving a notification about why the issue is happening.

    0

Please sign in to leave a comment.