lfd Process match for Ruby on Rails
Posted: 26 Mar 2008, 01:24
Hello,
Ruby on Rails under cpanel uses the mongrel server, and so is a long running process that needs to be ignored by lfd.
The process is:
/usr/bin/ruby /usr/bin/mongrel_rails start -p xxx -d -e production -P log/mongrel.pid
I don't want to ignore all long running ruby processes, so I'd like to be able to include the parameter in the csf.pignore match:
This doesn't work, but before I go rooting through the code, does anyone know whether lfd looks past the running process executable to even be able to match on parameters?
Thanks,
Paul Murphy
Ruby on Rails under cpanel uses the mongrel server, and so is a long running process that needs to be ignored by lfd.
The process is:
/usr/bin/ruby /usr/bin/mongrel_rails start -p xxx -d -e production -P log/mongrel.pid
I don't want to ignore all long running ruby processes, so I'd like to be able to include the parameter in the csf.pignore match:
Code: Select all
pexe:/usr/bin/ruby /usr/bin/mongrel_rails
Thanks,
Paul Murphy