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 Message-ID: <010401c2cfc9$a8bed510$6b7c86d9@webdev> Reply-To: "Elfyn McBratney" From: "Elfyn McBratney" To: "cygwin" References: <83040F98B407E6428FEC18AC720F5D73E501F1 AT exchange DOT tropicnetworks DOT com> Subject: Re: 1.3.19: fork() strange memory leak under W2K Date: Sat, 8 Feb 2003 23:27:24 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 > Some time ago, when I was using at home 1.3.18 version of > CygWin under Windows 2000 Workstation + SP3, I > discovered that every command execution lead to some memory > leak. It's especially noticeably when I try to run large > scripts (like "configure") - the memory loading (as viewed > in Task Manager) grow to its physical size and next I > get message like this: > > 0 [main] sh 35620 sync_with_child: child 35636(0xDC) > died before initialization with status code 0x80 > 6847 [main] sh 35620 sync_with_child: *** child state > waiting for longjmp > ./../ltconfig: fork: Resource temporarily unavailable > > After this, any process can't be started without rebooting > (or killing other process). > > Recently, I upgraded my system to Windows 2000 Server + > SP3 (with total precleanup) and CygWin 1.3.19, but problem is > there as before. :( > > [...] > > It's very strange, but all this works nice at my work on > computer with Windows 2000 Workstation + SP3! My home > computer hardware is AMD Duron 800 MHz, Abit KT7A > Motherboard, 256 MB RAM; at work Celeron 800 MHz, Acorp i815 > Motherboard, 128 MB RAM. The difference is also in the > filesystems: FAT32 at home and NTFS at work. > > [...] Sorry for the "me too" on this, but well Me too ;-) I am unable to test this on a FAT32 partition as I don't have one on my or any other system I work with. Perhaps you could provide strace output? Igor gave some very good pointers ("Re: rcs ci and co hang") on this list a few days ago, although it's not the same issue, you could use some of the instructions to gather the strace output and send some/it to the list. If it does reach an outrageous size, or you're not to sure what it means, I don't mind if you send it to me off-list and I'll take a gander (compressed ofcourse ;-)... Regards, Elfyn McBratney elfyn AT exposure DOT org DOT uk www.exposure.org.uk -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/