X-Spam-Check-By: sourceware.org Date: Tue, 25 Apr 2006 10:41:07 -0700 From: "Jerry D. Hedden" Subject: RE: Call for testing Cygwin snapshot To: cygwin AT cygwin DOT com Message-ID: <20060425104107.fb30e530d17747c2b054d625b8945d88.e59fc5a7e5.wbe@email.secureserver.net> MIME-Version: 1.0 Content-Type: MULTIPART/mixed; BOUNDARY="-901763139-1836857470-1145986867=:17253" User-Agent: Web-Based Email 4.1.13 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com ---901763139-1836857470-1145986867=:17253 Content-Type: TEXT/plain; CHARSET=US-ASCII Jerry D. Hedden wrote: >I have a cron job (a bash script) that runs every 6 minutes, polling >and downloading info off the web. > >The problem is the script hangs at various places and the stuck >processes keep building up. > >Further, I have to kill these processes using the task monitor: kill >reports 'No such process'. Christopher Faylor replied: >As mentioned above, a test case showing the problem sure would be >nifty. Jerry D. Hedden responded: >I agree and would have provided one if I could. However, I have no >idea what is causing this, nor how to write a test case for it. > >As I said, it's a cron job running a bash script - nothing fancy. The >hang does not happen on every invokation of the script, but it does >occur frequently. Where in the script it gets stuck seems to be >random: wget, mkdir, mv, date, diff, etc.. Christopher Faylor asked: > Can you at least post the script? Certainly. Attached. Christopher Faylor asked: > Also, knowing the first snapshot which shows the problem would be helpful. Jerry D. Hedden responded: >As I said, these sort of problems started after the 2006-03-09 snapshot. > I double checked, and the problem does occur with the 2006-03-13 >snapshot. Christopher Faylor replied: >What you said was "However, I have experienced problems with most >snapshots after it", where "it" was the 2006-03-09 snapshot. The use of >the word "most" rather than "all" there implies, to me at least, that >there were snapshots that worked. You seem to now be saying that this >is not the case, which implies that something stopped working for you >on 2006-03-13 and that no snapshot on or after that point worked. Let me clarify. Starting with the 2006-03-13 snapshot, every snapshot I tried caused problems. Although I did not try every one (sorry, but I did not keep track of which ones), I know I tried over half of the 18 or so snapshots in question. Since none that I tried worked, I have been held at the 2006-03-09 snapshot. The basic problem noted in each case had to do with forks - either a cron script hangs (as reported), a build script fails because of fork failures ('resource not available' type messages), or couldn't bring up shell windows (as reported in http://cygwin.com/ml/cygwin/2006-03/msg00487.html). All of this started with Christopher Faylor's changes related to 'fork' that started with the 2006-03-13 snapshot. As I did report one problem related to this matter on the 3/15 but go no response, I figured the work was ongoing. I just kept trying subsequent snapshots hoping the problem would be cleared up eventually, but it hasn't. ---901763139-1836857470-1145986867=:17253 Content-Type: TEXT/plain; name="weather"; CHARSET=US-ASCII Content-Transfer-Encoding: BASE64 Content-Disposition: attachment; filename=weather IyEvdXNyL2Jpbi9iYXNoCiMjIyMjCiMKIyB3ZWF0aGVyIC0gRG93bmxvYWRz IHdlYXRoZXIgbWFwcwojCiMgVXNhZ2U6ICB3ZWF0aGVyIFsgcGF1c2UgfCBy ZXN1bWUgXSBbIHNob3cgfCB1bnNob3cgXSBbIGNsZWFuIF0KIwojICRSQ1Nm aWxlOiB3ZWF0aGVyLHYgJAojICRSZXZpc2lvbjogMS4xNSAkCiMgJERhdGU6 IDIwMDYvMDMvMjAgMTU6MDE6NTQgJAojCiMjIyMjCgpmdW5jdGlvbiBnZXRf aXQKewogICAgZmlsZT0kMQogICAgdXJsPSQyCgogICAgL3Vzci9iaW4vd2dl dCAtcSAtLW5vLWNhY2hlIC1UIDE1IC10IDIgLU8gJGZpbGUgJHVybCA+Pndl YXRoZXIubG9nIDI+JjEKICAgIGlmIFtbICEgLXMgJGZpbGUgXV07IHRoZW4K ICAgICAgICBybSAtZiAkZmlsZQogICAgICAgIGVjaG8gIkZhaWx1cmUgZ2V0 dGluZyAkZmlsZTogJHVybCIgPj53ZWF0aGVyLmxvZwogICAgICAgIGRhdGUg Pj53ZWF0aGVyLmxvZwogICAgICAgIGV4aXQgMQogICAgZmkKfQoKCmlmIFtb ICRMT0dOQU1FID09ICdKZXJyeScgXV07IHRoZW4KICAgIGNkIC95CmVsc2UK ICAgIGNkIC94CmZpCmlmIFtbICEgLWQgV2VhdGhlciBdXTsgdGhlbgogICAg bWtkaXIgV2VhdGhlcgpmaQpjZCBXZWF0aGVyCgojIFBhdXNlIGluIHdlYXRo ZXIgcHJvY2Vzc2luZwppZiBbWyAtbiAkMSBdXTsgdGhlbgogICAgaWYgW1sg JDEgPT0gJ3BhdXNlJyBdXTsgdGhlbgogICAgICAgIHRvdWNoIFBBVVNFCiAg ICAgICAgZWNobyAnV2VhdGhlciBwYXVzZWQnCiAgICAgICAgZXhpdCAwCiAg ICBlbGlmIFtbICQxID09ICdyZXN1bWUnIF1dOyB0aGVuCiAgICAgICAgcm0g LWYgUEFVU0UKICAgICAgICBlY2hvICdXZWF0aGVyIHJlc3VtZWQnCiAgICBl bGlmIFtbICQxID09ICdzaG93JyBdXTsgdGhlbgogICAgICAgIHdlYXRoZXJ4 CiAgICAgICAgZXhpdCAwCiAgICBlbGlmIFtbICQxID09ICd1bnNob3cnIF1d OyB0aGVuCiAgICAgICAga2lsbCBgY2F0IC92YXIvcnVuL3dlYXRoZXJ4LnBp ZGAKICAgICAgICBybSAtZiAvdmFyL3J1bi93ZWF0aGVyeC5waWQKICAgICAg ICBleGl0IDAKICAgIGVsaWYgW1sgJDEgPT0gJ2NsZWFuJyBdXTsgdGhlbgog ICAgICAgIGVjaG8gJ0NsZWFuaW5nLi4uJwogICAgICAgIHRvZGF5PWBkYXRl ICslbSVkYAogICAgICAgIGZvciBkaXIgaW4gbWFwIHJzbSBybGcgY3VyIHNh dCB2aXM7IGRvCiAgICAgICAgICAgIGtlZXA9IiRkaXIvJHRvZGF5IgogICAg ICAgICAgICBmb3IgeCBpbiAkZGlyLz8/Pz87IGRvCiAgICAgICAgICAgICAg ICBpZiBbWyAkeCAhPSAka2VlcCBdXTsgdGhlbgogICAgICAgICAgICAgICAg ICAgIHJtIC1mciAkeAogICAgICAgICAgICAgICAgZmkKICAgICAgICAgICAg ZG9uZ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hZ2VzL21h cHMvZm9yZWNhc3QvYW1mY3N0XzcyMHg0ODYuanBnCiAgICBnZXRfaXQgZm9y ZS9fM19taWQuanBnIGh0dHA6Ly9pbWFnZS53ZWF0aGVyLmNvbS9pbWFnZXMv bWFwcy9mb3JlY2FzdC9taWRmY3N0XzcyMHg0ODYuanBnCiAgICBnZXRfaXQg Zm9yZS9fMV9wbS5qcGcgaHR0cDovL2ltYWdlLndlYXRoZXIuY29tL2ltYWdl cy9tYXBzL2ZvcmVjYXN0L3BtZmNzdF83MjB4NDg2LmpwZwpmaQoKaWYgW1sg LXMgd2VhdGhlci5sb2cgXV07IHRoZW4KICAgIGRhdGUgPj53ZWF0aGVyLmxv ZwplbHNlCiAgICBybSB3ZWF0aGVyLmxvZwpmaQoKIyBFT0YK ---901763139-1836857470-1145986867=:17253 Content-Type: text/plain; charset=us-ascii -- 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/ ---901763139-1836857470-1145986867=:17253--