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: <3D50DE81.90705@gmx.net> Date: Wed, 07 Aug 2002 16:46:57 +0800 From: Nils User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Manfred Spraul CC: cygwin AT cygwin DOT com Subject: Re: [PATCH] cygwin+bash: bash reorders script output bug identified/fixed References: <3D4F758C DOT 4010109 AT colorfullife DOT com> <3D509328 DOT 3040302 AT gmx DOT net> <3D50BF6F DOT 9020101 AT colorfullife DOT com> <3D50C639 DOT 9090806 AT gmx DOT net> <3D50D617 DOT 1070805 AT colorfullife DOT com> <3D50D76C DOT 2040205 AT gmx DOT net> <3D50D8F4 DOT 8050209 AT colorfullife DOT com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Manfred Spraul wrote: >... > Could you check if the number of processes/handles increase in the > "Performance" tab of the windows task manager? > > If that one remains small, them I'm out of ideas. > Perhaps Windows runs out of process ID values, not process handles? I > don't know how windows manages the id values. Before: handles 7812 threads 409 processes 38 After: handles 7801 threads 405 processes 38 Nope, that's not it. Here's what I did: ~/go/nngs-1.1.15> ps PID PPID PGID WINPID TTY UID STIME COMMAND 17496 1 17496 17496 con 1006 15:22:51 /usr/bin/rxvt 17776 17496 17776 16932 0 1006 15:22:52 /usr/bin/bash 17552 17776 17552 29668 0 1006 16:31:05 /usr/bin/ps ~/go/nngs-1.1.15> ./configure ...normal output... ~/go/nngs-1.1.15> ps PID PPID PGID WINPID TTY UID STIME COMMAND 17496 1 17496 17496 con 1006 15:22:51 /usr/bin/rxvt 17776 17496 17776 16932 0 1006 15:22:52 /usr/bin/bash 42088 17776 42088 42068 0 1006 16:33:14 /usr/bin/ps For some reason, lower PIDs just don't get reused it seems. In process explorer and windows task manager nothing changes, except that the PIDs keep going up and up. Can you tell me what the 'Thread's are that show up as handles for rxvt? Are those forked subprocesses or what? THree of the four you see in the output stay constant, but the high one keeps spawnig off higher and higher process IDs. on the process explorer I see another one flicker into existence: ** It has the same Handle (0xE8) as the one that's there, and one's highlighted red, the other green (old and new, I assume). The green one nearly always has a higher PID than the lower one. The handles change even when I just move the mouse in and out of the rxvt. Any idea which forums could help with this? Does anyone else on the list see this kind of behavior? Thanks, Nils. -- 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/