This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: php scripts dying in cron, runs fine in task scheduler (W2k3)


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>


-- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]