* USR2 to unicorn leads to Errno::EINTR
@ 2014-02-26 12:02 Дмитрий Голубь
2014-02-26 18:18 ` Eric Wong
0 siblings, 1 reply; 2+ messages in thread
From: Дмитрий Голубь @ 2014-02-26 12:02 UTC (permalink / raw)
To: mongrel-unicorn
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: USR2 to unicorn leads to Errno::EINTR
2014-02-26 12:02 USR2 to unicorn leads to Errno::EINTR Дмитрий Голубь
@ 2014-02-26 18:18 ` Eric Wong
0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2014-02-26 18:18 UTC (permalink / raw)
To: unicorn list
Cc: Дмитрий Голубь
Дмитрий Голубь <dmitrii.golub@me.com> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-26 18:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-26 12:02 USR2 to unicorn leads to Errno::EINTR Дмитрий Голубь
2014-02-26 18:18 ` Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/unicorn.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).