Using a MogileFS::Client from Gearman::Worker
brad at danga.com
Tue Mar 11 20:53:14 UTC 2008
MogileFS::Client isn't async/state-machine-y .... it shouldn't block. What
does strace say when it blocks?
On Tue, Mar 11, 2008 at 6:44 AM, Sebastian Willert <willert at gmail.com>
> Hi folks,
> I've been playing around with Gearman and MogileFS for the last few days
> and up until now, they been doing everything I ever dreamed of. The only
> problem that I encountered, and unfortunately this is a show-stopper for
> me, is that I wasn't able to create or access a MogileFS::Client from
> within a worker. MogileFS::Client->new just blocks indefinitely. My
> (uneducated) guess is that they both use the same event queue and thus
> starve each other.
> Is it generally possible to use Gearman and MogileFS together? What do I
> have to consider while doing so? Currently I am starting workers as
> Daemon::Generic subclasses, maybe this is the culprit here, but before
> investing more work, I'd like to know that I am at least running in the
> right direction.
> Sebastian Willert
> Gearman mailing list
> Gearman at lists.danga.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gearman