Re: USR2 to unicorn leads to Errno::EINTR

2014-02-26 Thread Eric Wong
Дмитрий Голубь  wrote:
> Errno::EINTR: Interrupted system call - identify -quiet -ping -format
> "%w %h\\n" "/tmp/mini_magick20140226-3105-gexmt1"
> 
> It's pretty clear that image processing process was interrupted, but
> why it happened? As I understand unicorn should wait until it's
> children will complete current request.

This appears to be a bug in (older) Ruby itself:
 https://bugs.ruby-lang.org/issues/8770

The latest Ruby releeases (2.1.1, 2.0.0-p451, 1.9.3-p545) should have
this fixed.  Please let Ruby developers know if you still hit this error
with the latest versions.  Thanks.
___
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


USR2 to unicorn leads to Errno::EINTR

2014-02-26 Thread Дмитрий Голубь
Hello
Sometimes when I reload unicorn I receive different errors, usually these are 
system errors, starting with Errno.
Last time it was:

Errno::EINTR: Interrupted system call - identify -quiet -ping -format "%w 
%h\\n" "/tmp/mini_magick20140226-3105-gexmt1"

It's pretty clear that image processing process was interrupted, but why it 
happened? As I understand unicorn should wait until it's children will complete 
current request.

Thanks.
___
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying