MogileFS::Client isn&#39;t async/state-machine-y .... it shouldn&#39;t block.&nbsp; What does strace say when it blocks?<br><br><div class="gmail_quote">On Tue, Mar 11, 2008 at 6:44 AM, Sebastian Willert &lt;<a href="mailto:willert@gmail.com">willert@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi folks,<br>
<br>
I&#39;ve been playing around with Gearman and MogileFS for the last few days<br>
and up until now, they been doing everything I ever dreamed of. The only<br>
problem that I encountered, and unfortunately this is a show-stopper for<br>
me, is that I wasn&#39;t able to create or access a MogileFS::Client from<br>
within a worker. MogileFS::Client-&gt;new just blocks indefinitely. My<br>
(uneducated) guess is that they both use the same event queue and thus<br>
starve each other.<br>
<br>
Is it generally possible to use Gearman and MogileFS together? What do I<br>
have to consider while doing so? Currently I am starting workers as<br>
Daemon::Generic subclasses, maybe this is the culprit here, but before<br>
investing more work, I&#39;d like to know that I am at least running in the<br>
right direction.<br>
<br>
Cheers,<br>
 &nbsp;Sebastian Willert<br>
<br>
_______________________________________________<br>
Gearman mailing list<br>
<a href="mailto:Gearman@lists.danga.com">Gearman@lists.danga.com</a><br>
<a href="http://lists.danga.com/mailman/listinfo/gearman" target="_blank">http://lists.danga.com/mailman/listinfo/gearman</a><br>
</blockquote></div><br>