# Find\_pid broken in mongrel\_cluster 1.0.4

**URL:** <https://www.ruby-forum.com/t/find-pid-broken-in-mongrel-cluster-1-0-4/119444>\
**Category:** Mongrel\
**Created:** [November 7, 2007, 1:54am UTC](https://www.ruby-forum.com/t/find-pid-broken-in-mongrel-cluster-1-0-4/119444 "2007-11-07T01:54:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric\_Kolve](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/f475e1/32.png) [@Eric\_Kolve](https://www.ruby-forum.com/u/Eric_Kolve)\
**Post date:** [November 7, 2007, 1:54am UTC](https://www.ruby-forum.com/t/find-pid-broken-in-mongrel-cluster-1-0-4/119444/1 "2007-11-07T01:54:52Z")

</div>

The find\_pid method no longer returns a nil by default which causes  
some breakage in cases where the pid can’t be found since the local  
variable ‘pid’ becomes the entire output of the ‘ps’ command. Can you  
add this return back in so that it behaves the way it did earlier?

thanks,  
eric

---

<div class="post-metadata">

**Author:** ![Eric\_Kolve](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/f475e1/32.png) [@Eric\_Kolve](https://www.ruby-forum.com/u/Eric_Kolve)\
**Post date:** [November 7, 2007, 2:11am UTC](https://www.ruby-forum.com/t/find-pid-broken-in-mongrel-cluster-1-0-4/119444/2 "2007-11-07T02:11:51Z")

</div>

I fixed this on my local builds by adding a `return nil` at the bottom  
of the function.

Is there a place to put patches like this? The rubyforge page for  
mongrel cluster seems dead.

---

<div class="post-metadata">

**Author:** ![Eric\_Kolve](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/f475e1/32.png) [@Eric\_Kolve](https://www.ruby-forum.com/u/Eric_Kolve)\
**Post date:** [November 7, 2007, 2:18am UTC](https://www.ruby-forum.com/t/find-pid-broken-in-mongrel-cluster-1-0-4/119444/3 "2007-11-07T02:18:52Z")

</div>

On Tue, 6 Nov 2007, Eden Li wrote:

> I fixed this on my local builds by adding a `return nil` at the bottom  
> of the function.
> 
> Is there a place to put patches like this? The rubyforge page for  
> mongrel cluster seems dead.

Put this in mongrel tracker/patches page, please.

Here is a direct link:  
[http://rubyforge.org/tracker/?atid=5147&group\_id=1306&func=browse](http://rubyforge.org/tracker/?atid=5147&group_id=1306&func=browse)

Thank you guys for the report and the patch 😃

filipe {  
@ [icewall.org](http://icewall.org)  
GPG 1024D/A6BA423E  
Jabber removed\_email\_address@domain.invalid  
}
