[Mongrel] Linux ps reports mongrel as [ruby18]
ms at pccl.info
Fri Feb 20 07:45:53 EST 2009
On Wed, Feb 18, 2009 at 05:32:35AM +0100, Jay Kraly wrote:
> I'm running two sets of mongrels using mongrel 1.1.4, one for production
> one for staging. When executing 'ps' from a linux shell, the production
> mongrels report as expected, however the staging processes are listed as
> [ruby 18]. The result seems to be that mongrel_rails cannot stop the
> staging processes because it doesn't recognize [ruby18] as a mongrel
You could try adding a line like this to the mongrel_rails script:
$0 = "mongrel_rails"
That will set the process name.
More information about the Mongrel-users