delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/26/15:27:11

X-Spam-Check-By: sourceware.org
Message-ID: <1146079610.444fc97ac1a51@webmail.capdata.fr>
Date: Wed, 26 Apr 2006 21:26:50 +0200
From: etorre AT capdata DOT fr
To: cygwin AT cygwin DOT com
Subject: Cygwin 1.5.19 Windows 2003 / croned shells stay hung
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 3.2.3
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Hi,

this problem only concern shells run by cron dameon. By running shells manually
they always work. Every scripts logs in general log file that is access by every
croned shell and each of them use temp files for their business. The scripts
call generally database command interpreters for very short queries.

We use cygwin for 2/3 years on NT4, Windows 2000 to run admin bash scripts.

On NT4 no problem at all, whatever we do, everything is fine.

On Windows 2000, we got sometimes croned processes that stayed stuck. It was
random and not depending on service pack or CPU load, as it could happen on
an idle machine or a very busy server. In every problem, the request is finished
and the database command interpreter has exited. Only remains the cron, the sh
and the bash processes, all of 3 idle. A simple kill pid is sufficient, have to
kill -9 pid to get rid of them.

Generally, we run about 6 jobs every quarter. Cronning them simultaneously
increases the chance of having a process stuck. By moving the differents
executions of few minutes it works well.

Until Janurary 2006, we were using an old version (1.5.3-1). When we installed
the 1.5.19, all the windows 2000 problems disappeared !

Since we installed on Windows 2003 (SP1 or not) few weeks ago, the same problem
came back. So I got my own croned job garbage collector that avoid having 50
bash.exe/sh.exe and cron.exe in the air after one month of execution.

I browse for a long time the mailing lists and google and so on.

If you have some advices or questions, ...


Thanks for your help
Emmanuel



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


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

- Raw text -


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