Get ₹1000 welcome cash by signing-up on Pomento IT Companies
Anybody that reads blogs from the Rails group has in all probability already heard about God. No, not the deity within the sky, however a wonderful monitoring software that watches your processes and retains them operating. I’ve largely seen it used for taming mongrel however it may be used to watch any course of.
We’re operating God for all our managed Hosting purchasers to ensure their mongrels do not cross out from exhaustion. It is held up nice to date. See the assets on the finish of this text for our init script and a pattern world config.
The God configuration file needs to be self explanatory. It is simply Ruby code, nothing magic occurring there. I’ve simply wrapped the core God.watch code round some loops to allow help for monitoring a limiteless variety of functions. One small be aware concerning the init.d script: it first launches God, after which masses the config file through the ‘god load’ command. I am conscious that you could ship god the -c parameter when launching it, however I’ve discovered that generally (seemingly randomly) that will not load the config.
The init.d script ought to work tremendous on any RHEL/CentOS system. When you add the file to /and so on/init.d/god simply do:
chmod +x /and so on/init.d/godchkconfig --add god
chkconfig --level 345 god on
/and so on/init.d/god begin
Now you are good to go. Let these misbehaving Ok-9 devils do their finest – they’re no match for God.
Listed below are a pair assets related to this text:
- God
- Integral Impressions managed Hosting service [
- /etc/init.d/god
- /etc/god.conf