From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2208 Path: news.gmane.org!not-for-mail From: Peter Hickman Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Suddenly sv does not start, gives a timeout Date: Wed, 22 May 2013 14:32:14 +0100 Message-ID: References: <1369217804.2313.20.camel@lenny.robinbowes.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b343da204d38a04dd4e9819 X-Trace: ger.gmane.org 1369229538 25574 80.91.229.3 (22 May 2013 13:32:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 May 2013 13:32:18 +0000 (UTC) Cc: "" Original-X-From: supervision-return-2442-gcsg-supervision=m.gmane.org@list.skarnet.org Wed May 22 15:32:20 2013 Return-path: Envelope-to: gcsg-supervision@plane.gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Uf99N-0002Mj-94 for gcsg-supervision@plane.gmane.org; Wed, 22 May 2013 15:32:17 +0200 Original-Received: (qmail 26550 invoked by uid 76); 22 May 2013 12:25:10 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 26540 invoked from network); 22 May 2013 12:25:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=wxtvPR3MIAfC9aO2rZuYS5fYpWr1IxOVwkX85KnTVq0=; b=E60gGcq4Z7YIMMZ2JDuCf3EBUMim/elf0bZDAMLswjjBCIH8VUPYj//DzJM6faE8sF Phr4tgeGjvCpYe7JIVRq3dEWieHsBhzrg/aCj1ONVaXmoQUYNeKPoPfyqcn0bS9cUFyv rBU1HCASy9NMltA/aa7eBpnvYJyGc3bRnT+9JRqBq5DP863QC5tuzI1DTsxOW2TtCj5F FjBE92/DWihQD48VfqZYt82kNk0GopoZmwAJZ+JU0mRBP4/6AjoTvC5BnSrMo1LSIBjV pmIRT/LEzNehRhLHM+FSXPTzTKRdl77Bn8Kn3j5UfM30teahazkyUF8q5dlHHpg2CZhp PXIA== X-Received: by 10.14.181.131 with SMTP id l3mr19161747eem.16.1369229534472; Wed, 22 May 2013 06:32:14 -0700 (PDT) In-Reply-To: <1369217804.2313.20.camel@lenny.robinbowes.com> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2208 Archived-At: --047d7b343da204d38a04dd4e9819 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Well this is what we have. Firstly we manually started it so lets kill it: $ ps ax | grep scorecard 731 ? S 0:11 runsv scorecard_cricket_scores_importer 2980 ? Sl 0:34 services/scorecard_cricket_scores_importer.rb 16599 pts/0 S+ 0:00 grep scorecard $ kill -9 2980 $ ps ax | grep scorecard 731 ? S 0:11 runsv scorecard_cricket_scores_importer 16671 pts/0 S+ 0:00 grep scorecard The process has gone and will not be restarted no matter how long you wait. So we try and start it with sv: $ sv start ./service/scorecard_cricket_scores_importer/ timeout: down: ./service/scorecard_cricket_scores_importer/: 1s, normally up, want up $ ps ax | grep scorecard 731 ? S 0:11 runsv scorecard_cricket_scores_importer 16868 pts/0 S+ 0:00 grep scorecard Still not started. So we try it manually: $ ./service/scorecard_cricket_scores_importer/run & [1] 16929 $ ps ax | grep scorecard 731 ? S 0:12 runsv scorecard_cricket_scores_importer 16929 pts/0 Sl 0:10 services/scorecard_cricket_scores_importer.rb 18896 pts/0 R+ 0:00 grep scorecard $ And it keeps running without any problems for as long as you let it There are no errors in the logs and nothing reported in: runsvdir -P /etc/service log: ...........................................................................= ...........................................................................= ...........................................................................= ................................. Is there some other runit log that I should look into? --047d7b343da204d38a04dd4e9819--