Skip to main content

Redis Podman Container Restarting Itself

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey there! Do you see anything in /var/log/chkservd.log that would indicate cPanel is restarting the service?  If so, you may need to add a new monitor for that tool as outlined here:

    https://docs.cpanel.net/knowledge-base/cpanel-product/tailwatch/#add-a-new-monitor

    which would look like this:

    #cat /etc/chkserv.d/redis 
    service[redis]=6379,ping,\+PONG,/scripts/restartsrv_redis,redis,redis

     

    0
  • jharmon

    There is nothing in /var/log/chkservd.log for redis or podman in the host OS.

    There is no chkservd.log file at all in the container.

    If I add a monitor, would I need to add it for redis, or the container since redis is running inside the container?

    0
  • cPRex Jurassic Moderator

    You would only need to add a monitor if you wanted chkservd to watch the service.

    It might be best to submit a ticket so we can check this one out since I would expect there to be logs somewhere if the service is failing.

    0

Please sign in to leave a comment.