delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/07/15:29:43

X-Spam-Check-By: sourceware.org
Message-ID: <43C02499.1090107@prospeed.net>
Date: Sat, 07 Jan 2006 15:29:13 -0500
From: Larry Hall <lhall AT prospeed DOT net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.3.0
MIME-Version: 1.0
To: jd list <jdlists AT gmail DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: php scripts dying in cron, runs fine in task scheduler (W2k3)
References: <4d26f2cc0601031023l2d098931sf5896349c28684e0 AT mail DOT gmail DOT com> <43BAC461 DOT 3040504 AT cygwin DOT com> <4d26f2cc0601070907g1277fa6eg82a6cc758624d6cc AT mail DOT gmail DOT com>
In-Reply-To: <4d26f2cc0601070907g1277fa6eg82a6cc758624d6cc@mail.gmail.com>
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

jd list wrote:
> On 1/3/06, Larry Hall (Cygwin) <reply-to-list-only-lh AT cygwin DOT com> wrote:
> 
>> jd list wrote:
>> 
>>> I'm running cygwin on W2K3 with php built into windows via the binary 
>>> from php.net.
>>> 
>>> I run php scripts, via cron, at freqent intervals, one is a simple 
>>> database script that copies data from a back-end database to a 
>>> front-end database, which has been running fine within cron for many 
>>> many months. - runs every two minutes
>>> 
>>> The second script, also every two minutes, that reads xml files, from 
>>> 50Kb to 400Kb,  and inserts this data into a sybase (back-end) 
>>> database. At any given time there is anywhere from 5-20+ files that it 
>>> will need to process.
>>> 
>>> The problem is, the second script dies at various parts of the script, 
>>> with no consistency.  When this was first seen, php was throwing errors
>>> on the console that it had ran out of memory, at that time i had cron
>>> running as part of the Administrators Group, but not as Administrator -
>>> username was cron_server.  When this was seen, i reinstalled cron (and
>>> cygwin to the lastest versions of everything) and ran the serivce as
>>> Administrator, which stopped php from throwing errors, but did not stop
>>> the script from dying mid-stream.
>> 
>> 
>> <snip>
>> 
>> 
>>> Selected output from cygcheck -s -v -r
>>> 
>>> With cygwin version - Cygwin DLL version info: DLL version: 1.5.18
>> 
>> 
>> Does it work any better or worse with a recent snapshot? 
>> <cygwin.com/snapshots>
>> 
> 
> Hi list/Larry.
> 
> upgrading the cygwin-1.dll to the lastest snap shot, three days ago now,
> seemed to work, was there a known issue?  Wanted a let it run for a few
> days before posting back.
> 

I wouldn't say it was a known issue specifically.  At least it's not in
my recollection.  But allot has changed between 1.5.18 and now so it's
usually good practice to try a recent snapshot when a problem occurs to see
if the issue has been resolved by some intervening change.

Glad to hear it worked.

-- 
Larry


--
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