[email protected] wrote:
> On Aug 19, 2011, at 5:46 PM, Alex Sharp wrote:
> > The exception message I get is: Mongo::ConnectionFailure: Failed to
> > connect to host xxx.yyy.zzz.com and port 12345: Interrupted system
> > call - connect(2)
> 
> I've been experiencing the same issue in production with
> fauna/memcached gem which is backed by the libmemcached C library.

Unlike Mongo and Net::HTTP, the memcached gem doesn't use the standard
Ruby socket library.  Can you show us a backtrace (and probably Cc: Evan
Weaver (fauna)) so we can get it fixed?

Any process accepting signals can have system calls fail with
EINTR, and buggy libraries don't handle it properly.

The Ruby standard library is mostly good at gracefully handling EINTR,
and I've gotten all instances I've encountered fixed in MRI 1.9.x.

-- 
Eric Wong
_______________________________________________
Unicorn mailing list - [email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

Reply via email to