delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/15/06:50:25

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=yksbNH++PH46Ya7k
4vem2Z2sgPIqy63On414jxIS/t/32+XYPUcgUbL52G2hHdF4ndNb5VEa42A4SyeE
5IW5D5ckUvVCNJ8lTsKP+zXZgyhOmEJfa8kcNDQLy8Tot10Ly0Y7oiJ667vizwfS
77eLVqJFlGXBTzWUuF3ZhXQDid0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=v1HC5tFfEoXESkIsluEQ4F
ErOb8=; b=BGJVK1Bnq7UgTOPsZB8s2uBRLll5REJF+F/KMxEG1tK4JE2v+CDBZt
hCNfiBGZXkSv1KLB1mOgPIHSX17gaEwUvcyOWkJwZLtS/Yd3o6Vqkcqjzbn96FMt
U8Eqe2bzLh8wyZgEUhjPQGsogEASZfP9idphHwL/yOxlJ9RUv3DgQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=HX-Priority:Normal, english, H*M:yandex, H*UA:Bat!
X-HELO: forward103p.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1550231403; bh=1hT9q3lfn5m/47M589LwDBZPV/TpsVWVrXBL3fiWa6c=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=nmsOBl8lS0wOgOTn0i2yN4kTUUgc3EjUAYMbkX+GLdgxjNbdvJLKPEcGTbh5caue3 SH7+Ze/uV7oCSTMLJ/muG1V3rv+4hbO4SWTkZay1YTatSwUCW8mL4e5eAKifrq2mma zY5o4WTGJjDGKWeraaWvyUuNZwj8MQdjgb2pALQQ=
Authentication-Results: mxback16g.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Fri, 15 Feb 2019 14:44:47 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <471075939.20190215144447@yandex.ru>
To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr AT ncbi DOT nlm DOT nih DOT gov>,
cygwin AT cygwin DOT com
Subject: Re: cygrunsrv to have a timeout parameter for service startup
In-Reply-To: <BL0PR0901MB3236D41983198109E0643AE7A5670@BL0PR0901MB3236.namprd09.prod.outlook.com>
References: <BL0PR0901MB3236D41983198109E0643AE7A5670 AT BL0PR0901MB3236 DOT namprd09 DOT prod DOT outlook DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Lavrentiev, Anton (NIH/NLM/NCBI) [C]!

> It looks like the cygrunsrv utility hardcodes 30 seconds as a maximal time
> for a service to start, then bails out with a failure.

No, 30 seconds is a hard system timeout in which a service must reply with an
appropriate control message to let services.exe know it is ready to continue
startup sequence.

> It would be quite useful (in certain situations) to have a command-line
> parameter (for the -I option) that can specify a service startup timeout,
> longer or shorter than the preset default.

Is there such a feature at all to begin with?
A link to MSDN would suffice.


-- 
With best regards,
Andrey Repin
Friday, February 15, 2019 14:42:40

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019