unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Alberto De Gaspari <a.degaspari@18months.it>
To: Eric Wong <e@80x24.org>
Cc: unicorn-public@bogomips.org
Subject: Re: Reaping process with unknown worker
Date: Thu, 19 Oct 2017 21:23:22 +0200	[thread overview]
Message-ID: <f6bc3edb-6ff4-4d59-f235-3eaeb277cf41@18months.it> (raw)
In-Reply-To: <20171019190542.GA14431@whir>

>> with a line like this in the log:
>> INFO -- : reaped #<Process::Status: pid 16101 exit 0> worker=unknown
>> if i run
>> # ps axf |grep 16101
>> i only get the ps line:
>> 10277 pts/4    S+     0:00          \_ grep 16101
>> consider that i have loads of this line in the log, like at least 1
>> every minute.
>> what could cause those reaps?
> Reaping happens after a process exits, so it won't show up
> in "ps" once it's reaped.
ok, got it:
but if at t0 i run ps axf and save the result, when at t1 i find one of
the lines in the stderr_log and try to grep the stated pid in the saved
result of t0 i don't find anything.
how can i detect what it's reaping? do you consider this a normal
behavior for a rails app which actually only receives simple get
requests and save the result in a pg db?(that's what the small instance
of unicorn does, the other is more complex, but shows the same amount
and type of info messages in errors)

Cordiali saluti
Alberto De Gaspari
CTO & Software Engineer

18Months S.r.l
Via Copernico 38, Milano 20125, Italia
Tel:    +39 02.92852164
Fax:    +39 02.45075016
Mob:    +39 349.1624385
MeetMe: doodle.com/albertodega
Email:  a.degaspari@18months.it
web:    www.18months.it

  reply	other threads:[~2017-10-19 19:23 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
2017-10-19 18:46   ` Alberto De Gaspari
2017-10-19 19:05     ` Eric Wong
2017-10-19 19:23       ` Alberto De Gaspari [this message]
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=f6bc3edb-6ff4-4d59-f235-3eaeb277cf41@18months.it \
    --to=a.degaspari@18months.it \
    --cc=e@80x24.org \
    --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).