unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <e@80x24.org>
To: Alberto De Gaspari <a.degaspari@18months.it>
Cc: unicorn-public@bogomips.org
Subject: Re: Reaping process with unknown worker
Date: Thu, 19 Oct 2017 18:20:50 +0000	[thread overview]
Message-ID: <20171019182050.GA11899@whir> (raw)
In-Reply-To: <da4adb1c-e609-fa12-eba8-4dc4e5f6b055@18months.it>

Alberto De Gaspari <a.degaspari@18months.it> wrote:
> Hello everyone, maybe this is a noob question, but it seems strange from
> my point of view, so here i am:
> I have 2 master processes running on the same server, pointing to the
> same rails application dir.
> I need 2 of them because i need some workers to be dedicated responding
> to requests coming from a specific socket(and i'm not sure this is the
> right way to do this)

That's fine.

> Both the standard_error_logs are full of messages like the following:
> INFO -- : reaped #<Process::Status: pid 23835 exit 0> worker=unknown
> is this a misconfiguration or something similar?

Does your application fork processes?  It may not be reaping
them.   Are your normal unicorn workers dying, too?

You can check the process tree or periodically run "ps" to see
what was running as the reaped pid before it died.

I use "ps axf" from the "procps" package on some Linux sytems;
or "pstree" if installed to see the process tree.

  reply	other threads:[~2017-10-19 18:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-19 17:42 Reaping process with unknown worker Alberto De Gaspari
2017-10-19 18:20 ` Eric Wong [this message]
2017-10-19 18:46   ` Alberto De Gaspari
2017-10-19 19:05     ` Eric Wong
2017-10-19 19:23       ` Alberto De Gaspari
2017-10-19 19:37         ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171019182050.GA11899@whir \
    --to=e@80x24.org \
    --cc=a.degaspari@18months.it \
    --cc=unicorn-public@bogomips.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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).