E-Mail server is going down. How to make it restart as soon as it goes down? [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
开发者_运维问答 Improve this questionI have a VPS with 256mb running a magento store. I'm running out of memory and that's causing the services to be momentarily unavailable. All but the E-Mail service come back up.
How do can I monitor the status of the service and make it restart as soon as it goes down? How can I check what is going down exactly? pop3, smtp, or another service I don't know about?
I'm going to upgrade the VPS for 1gb of memory, but meanwhile I'd like to set this up automatically.
You can use monit http://mmonit.com/monit/ or other similar daemon for inspecting your resource availability and service status
精彩评论