Forum: Ferret Monitor ferret Drb with launchd on OS X

Posted by E Durante (Guest)
on 2008-08-01 01:38
(Received via mailing list)
Has anyone tried monitoring the ferret Drb server with launchd (OS X)?
Does anyone know if there is any limitation that would prevent ferret
from being monitored by launchd? I have tried many different plists
and none work. One starts too many ferret servers  and one cannot
start any server. If anyone has experience with this, any information
would be most appreciated.

Thanks.
Posted by E Durante (Guest)
on 2008-08-02 23:37
(Received via mailing list)
I figured it out. I am using AAF gem v. 0.4.3 which has a new
ferret_server wrapper which does not have a non-daemonizing option.
This patch fixes the problem:

[Patch] Allow ferret_server to run in blocking (non-daemon) mode
http://projects.jkraemer.net/acts_as_ferret/ticket/184

If you are getting a lot of "Throttling respawn: Will start in x
seconds" messages in your logs, and notice that you have way more ruby
processes running than you had ever planned, check out this patch.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.