From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS200130 46.101.96.0/20 X-Spam-Status: No, score=-3.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.18months.it (mail.18months.it [46.101.96.188]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 6888E202A2 for ; Thu, 19 Oct 2017 18:46:35 +0000 (UTC) Received: from [10.10.10.81] (unknown [212.91.77.61]) (Authenticated sender: a.degaspari@18months.it) by mail.18months.it (Postfix) with ESMTPSA id 1BA3214149E; Thu, 19 Oct 2017 18:46:34 +0000 (UTC) Subject: Re: Reaping process with unknown worker To: Eric Wong Cc: unicorn-public@bogomips.org References: <20171019182050.GA11899@whir> From: Alberto De Gaspari Openpgp: id=9EF065835AAC9CEB4B6079FB3DED6A67961D1DFC Message-ID: <42b8a217-e2f4-e06b-77ef-c86370a00083@18months.it> Date: Thu, 19 Oct 2017 20:46:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171019182050.GA11899@whir> Content-Type: text/plain; charset=utf-8 Content-Language: it-IT Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=18months.it; s=dkim; t=1508438794; h=from:subject:date:message-id:to:cc:mime-version:content-type:content-transfer-encoding:in-reply-to:references; bh=tCXCUn8PqyWRdOZ9W6xnYj6I/4FpzkUL8//P4BPPE+M=; b=dRFK1YoRW6i5gsAX4bOvoQbG7lH9jE5byCp+MQF2XjU6JwMY0faLKXAXRxbb18+nyxpHNL h+sOZmvvRC0GQPUbd6m+Q8HSXuRePt24zz3tf14Vqr697tXE/1YMKRO7vq3LFG2ayECkoh K++Ge+Z1zNyGlRecqDJDhOW3yWqSkOY/Io54i11neXS/r0RqX1Oxub590NwiFzELXzVL2O i2Jz46PKhAwdgY6jdeRGkdslRJhimBj1oEwUph4XSwBZGvGwVtNVAutTVXxLhwvtwOhwgx Vu5Kvn/15XWviDNVd2aI8Xj1nhjOd0HPW+mJkRXTtSnc6g8UwRHCbQRTIwbTDQ== ARC-Seal: i=1; s=dkim; d=18months.it; t=1508438794; a=rsa-sha256; cv=none; b=cYLg3qbVFjmGLUIln19LhltgzHpZKBKofPlEJyHC9nCbULMKGahGKQPdRm6uels0dvi5APA8BviSG8QnXPKgGRhh99rqWQxjxoBD9JTB3F0HLV3ij96HKv75hf/Q2YId5eNT799yFmNm5pUJ/86mpSbvzW9AXa5TzIbK+QRz59XRI4I6UGlKUXHFNa0pt6mtsil/UeCYrh3ISG8uI+b1KyLUCKQpYIHf8x8+WdQrpforOxFWcL+e1nuDutLUvTz/aI8rztp+E1CLpZoNbLzCBucJz7vGIyTxRKDZErDJ/gGynEPBDKxB+IbnCoGi3cdrqbGOruEUm0LE3ylFifsY8A== ARC-Authentication-Results: i=1; auth=pass smtp.auth=a.degaspari@18months.it smtp.mailfrom=a.degaspari@18months.it DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=18months.it; s=dkim; t=1508438794; h=from:subject:date:message-id:to:cc:mime-version:content-type:content-transfer-encoding:in-reply-to:references; bh=tCXCUn8PqyWRdOZ9W6xnYj6I/4FpzkUL8//P4BPPE+M=; b=TkLEr+QHDuUvGLtcFwDmxxNrZDQBkOdJRt+DAsIEb2j6aO7jNZgp32Ezy+WzkB6XJVsh78 9yV/wASWWXJ10tiSOJNqc8pRvVBsAxFGwz1bDbMMt4qm2iLA4w1uHwpMqhxfNcuDe3PLqZ 8+yKtEbeSsUoj9hIBZje0Vu+grhfgHOff3MkvCM7PDogaxn0bB4GJFXw/k4RdmgkKwlZVI yWxfg+W//KBR5eGv3ysVsYL0T1vqxLM78JSxzqq6pc3iXqxEDnuk+eczd5ihEWITtWnl9a Oroul5DyKiWfwWU27mlHv7j5GEYlWDM75Eq8vxCeAUX7mXVtgeSw0k5xHKh4+Q== List-Id: >> Both the standard_error_logs are full of messages like the following: >> >> INFO -- : reaped # 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? no, workers never dies > > 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. > i'm sorry but i don't get it. with a line like this in the log: INFO -- : reaped # 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?