Mail Archives: cygwin/2002/08/07/03:34:12
--------------020205020609090501030708
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Manfred Spraul wrote:
> Nils wrote:
>> This may have been what I was running into as well. See
>> http://cygwin.com/ml/cygwin/2002-07/msg01894.html
>>
>> When doing the same compiles with in a window with tcsh running (even
>> if bash gets invoked later on) the process numbers seem to increase
>> much more slowly. If you do a large compile using bash as your shell,
>> do you see process numbers creeping upward (in task manager) gradually
>> as well?
>
> That sounds like either windows or cygwin is leaking handles. Get
> handleex from sysinternals (google finds it) and check if there is an
> unusal amount of open handles around, and which process owns them.
Doesn't look like it. The number of handles never really changes in any
of the processes, but I do see that the threads that rxvt is spawning
off keep getting higher IDs. I invoke the rxvt as follows:
C:\cygwin\bin\rxvt.exe -ls -fn "Lucida Console-14" -fg green -bg black
-sr -sl 2400
My shell is set to /bin/bash in /etc/passwd (strangely: when I change it
to /bin/tcsh or /bin/csh $SHELL says I'm using that shell but rxvt still
starts up in bash, and that's what I see in the process list!)
I'll attach the list of open handles for bash and rxvt when i first
start them, and then another copy of rxvt after running a ./configure
The handles for bash never changed, but the pids listed in the thread
handles for rxvt do. What does this mean?
Please let me know what other info is helpful.
Thanks,
Nils.
--------------020205020609090501030708
Content-Type: text/plain;
name="bash.exe.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="bash.exe.txt"
Process: bash.exe Pid: 16932
Handle Type Access Name
0x7B0 Directory 0x0002000F \BaseNamedObjects
0xC Section 0x000F0007 \BaseNamedObjects\cygpid.4224
0x744 Section 0x000F0007 \BaseNamedObjects\cygpid.4570
0xD8 Event 0x001F0003 \BaseNamedObjects\cygtty0.input.avail
0x730 Event 0x001F0003 \BaseNamedObjects\cygtty0.input.avail
0x778 Event 0x001F0003 \BaseNamedObjects\cygtty0.input.avail
0x780 Event 0x001F0003 \BaseNamedObjects\cygtty0.input.avail
0xE4 Mutant 0x001F0001 \BaseNamedObjects\cygtty0.input.mutex
0x720 Mutant 0x001F0001 \BaseNamedObjects\cygtty0.input.mutex
0x770 Mutant 0x001F0001 \BaseNamedObjects\cygtty0.input.mutex
0x788 Mutant 0x001F0001 \BaseNamedObjects\cygtty0.input.mutex
0xE8 Mutant 0x001F0001 \BaseNamedObjects\cygtty0.output.mutex
0x724 Mutant 0x001F0001 \BaseNamedObjects\cygtty0.output.mutex
0x774 Mutant 0x001F0001 \BaseNamedObjects\cygtty0.output.mutex
0x77C Mutant 0x001F0001 \BaseNamedObjects\cygtty0.output.mutex
0xD0 Event 0x001F0003 \BaseNamedObjects\cygtty0.slave_alive
0x714 Event 0x001F0003 \BaseNamedObjects\cygtty0.slave_alive
0x764 Event 0x001F0003 \BaseNamedObjects\cygtty0.slave_alive
0x784 Event 0x001F0003 \BaseNamedObjects\cygtty0.slave_alive
0x64 Section 0x000F0007 \BaseNamedObjects\cygwin1S3.Nils Boeffel.272002-07-06 02:16
0x7A4 Section 0x00000006 \BaseNamedObjects\cygwin1S3.Nils Boeffel.272002-07-06 02:16
0x48 Section 0x000F0007 \BaseNamedObjects\cygwin1S3.shared.32002-07-06 02:16
0x758 Semaphore 0x001F0003 \BaseNamedObjects\cygwin1S3.sigcatch.169322002-07-06 02:16
0x7AC Mutant 0x001F0001 \BaseNamedObjects\cygwin1S3.title_mutex.02002-07-06 02:16
0x704 Mutant 0x00120001 \BaseNamedObjects\ShimCacheMutex
0x700 Section 0x00000002 \BaseNamedObjects\ShimSharedMemory
0x7CC Desktop 0x000F01FF \Default
0xB0 File 0x00120189 \Device\NamedPipe\Win32Pipes.00004458.00000001
0xD4 File 0x00120189 \Device\NamedPipe\Win32Pipes.00004458.00000001
0xDC File 0x00120189 \Device\NamedPipe\Win32Pipes.00004458.00000001
0x71C File 0x00120189 \Device\NamedPipe\Win32Pipes.00004458.00000001
0x76C File 0x00120189 \Device\NamedPipe\Win32Pipes.00004458.00000001
0xBC File 0x00120116 \Device\NamedPipe\Win32Pipes.00004458.00000002
0xCC File 0x00120116 \Device\NamedPipe\Win32Pipes.00004458.00000002
0x718 File 0x00120116 \Device\NamedPipe\Win32Pipes.00004458.00000002
0x768 File 0x00120116 \Device\NamedPipe\Win32Pipes.00004458.00000002
0x78C File 0x00120116 \Device\NamedPipe\Win32Pipes.00004458.00000002
0x7F8 KeyedEvent 0x000F0003 \KernelObjects\CritSecOutOfMemoryEvent
0x7F4 Directory 0x00000003 \KnownDlls
0x7F0 Mutant 0x00000001 \NlsCacheMutant
0x7EC Directory 0x000F000F \Windows
0x7D0 WindowStation 0x000F037F \Windows\WindowStations\WinSta0
0x7D8 WindowStation 0x000F037F \Windows\WindowStations\WinSta0
0x794 Process 0x001F0FFF <Non-existant Process>(17776)
0x708 Process 0x001F0FFF <Non-existant Process>(17796)
0x7C8 Process 0x001F0FFF bash.exe(16932)
0x790 Thread 0x001F03FF bash.exe(16932): 16920
0x7C4 Thread 0x001F03FF bash.exe(16932): 16940
0x760 Thread 0x001F03FF bash.exe(16932): 17800
0x78 File 0x00100001 C:\cygwin\etc
0x70C File 0x00100020 C:\cygwin\home\Nils
0x79C Key 0x000F003F HKCU
0x7E4 Key 0x000F003F HKLM
0x7FC Process 0x001F0FFF rxvt.exe(17496)
--------------020205020609090501030708
Content-Type: text/plain;
name="rxvt.exe.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="rxvt.exe.txt"
Process: rxvt.exe Pid: 17496
Handle Type Access Name
0x44 Directory 0x0002000F \BaseNamedObjects
0x74 Section 0x000F0007 \BaseNamedObjects\cygpid.4458
0xFC Section 0x000F0007 \BaseNamedObjects\cygpid.4570
0xC0 Event 0x001F0003 \BaseNamedObjects\cygtty0.input.avail
0xC8 Mutant 0x001F0001 \BaseNamedObjects\cygtty0.input.mutex
0xCC Event 0x001F0003 \BaseNamedObjects\cygtty0.master_alive
0xC4 Mutant 0x001F0001 \BaseNamedObjects\cygtty0.output.mutex
0x64 Section 0x000F0007 \BaseNamedObjects\cygwin1S3.Nils Boeffel.272002-07-06 02:16
0x48 Section 0x000F0007 \BaseNamedObjects\cygwin1S3.shared.32002-07-06 02:16
0x8C Semaphore 0x001F0003 \BaseNamedObjects\cygwin1S3.sigcatch.174962002-07-06 02:16
0x6C Mutant 0x001F0001 \BaseNamedObjects\cygwin1S3.title_mutex.02002-07-06 02:16
0x108 Mutant 0x00120001 \BaseNamedObjects\ShimCacheMutex
0x10C Section 0x00000002 \BaseNamedObjects\ShimSharedMemory
0xAC Section 0x000F0007 \BaseNamedObjects\SynTPFcsMemMap
0xA8 Mutant 0x001F0001 \BaseNamedObjects\SynTPFcsMutex
0x34 Desktop 0x000F01FF \Default
0xB0 File 0x00120189 \Device\NamedPipe\Win32Pipes.00004458.00000001
0xB4 File 0x00120116 \Device\NamedPipe\Win32Pipes.00004458.00000001
0xB8 File 0x00120189 \Device\NamedPipe\Win32Pipes.00004458.00000002
0xBC File 0x00120116 \Device\NamedPipe\Win32Pipes.00004458.00000002
0x4 KeyedEvent 0x000F0003 \KernelObjects\CritSecOutOfMemoryEvent
0x8 Directory 0x00000003 \KnownDlls
0x10 Mutant 0x00000001 \NlsCacheMutant
0x14 Directory 0x000F000F \Windows
0x28 WindowStation 0x000F037F \Windows\WindowStations\WinSta0
0x30 WindowStation 0x000F037F \Windows\WindowStations\WinSta0
0xF0 Process 0x001F0FFF <Non-existant Process>(17776)
0x104 Process 0x001F0FFF <Non-existant Process>(17776)
0x110 Process 0x001F0FFF bash.exe(16932)
0x78 File 0x00100001 C:\cygwin\etc
0xC File 0x00100020 C:\Documents and Settings\Nils Boeffel\Desktop
0x5C Key 0x000F003F HKCU
0x1C Key 0x000F003F HKLM
0x38 Process 0x001F0FFF rxvt.exe(17496)
0xE8 Thread 0x001F03FF rxvt.exe(17496): 16452
0x3C Thread 0x001F03FF rxvt.exe(17496): 17464
0xEC Thread 0x001F03FF rxvt.exe(17496): 17588
0x84 Thread 0x001F03FF rxvt.exe(17496): 1848
--------------020205020609090501030708
Content-Type: text/plain;
name="rxvt.exe-after.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="rxvt.exe-after.txt"
Process: rxvt.exe Pid: 17496
Handle Type Access Name
0xE8 Thread 0x001F03FF rxvt.exe(17496): 28960
0x84 Thread 0x001F03FF rxvt.exe(17496): 1848
0xEC Thread 0x001F03FF rxvt.exe(17496): 17588
0x3C Thread 0x001F03FF rxvt.exe(17496): 17464
0x38 Process 0x001F0FFF rxvt.exe(17496)
0x1C Key 0x000F003F HKLM
0x5C Key 0x000F003F HKCU
0xC File 0x00100020 C:\Documents and Settings\Nils Boeffel\Desktop
0x78 File 0x00100001 C:\cygwin\etc
0x110 Process 0x001F0FFF bash.exe(16932)
0xF0 Process 0x001F0FFF <Non-existant Process>(17776)
0x104 Process 0x001F0FFF <Non-existant Process>(17776)
0x28 WindowStation 0x000F037F \Windows\WindowStations\WinSta0
0x30 WindowStation 0x000F037F \Windows\WindowStations\WinSta0
0x14 Directory 0x000F000F \Windows
0x10 Mutant 0x00000001 \NlsCacheMutant
0x8 Directory 0x00000003 \KnownDlls
0x4 KeyedEvent 0x000F0003 \KernelObjects\CritSecOutOfMemoryEvent
0xB8 File 0x00120189 \Device\NamedPipe\Win32Pipes.00004458.00000002
0xBC File 0x00120116 \Device\NamedPipe\Win32Pipes.00004458.00000002
0xB0 File 0x00120189 \Device\NamedPipe\Win32Pipes.00004458.00000001
0xB4 File 0x00120116 \Device\NamedPipe\Win32Pipes.00004458.00000001
0x34 Desktop 0x000F01FF \Default
0xA8 Mutant 0x001F0001 \BaseNamedObjects\SynTPFcsMutex
0xAC Section 0x000F0007 \BaseNamedObjects\SynTPFcsMemMap
0x10C Section 0x00000002 \BaseNamedObjects\ShimSharedMemory
0x108 Mutant 0x00120001 \BaseNamedObjects\ShimCacheMutex
0x6C Mutant 0x001F0001 \BaseNamedObjects\cygwin1S3.title_mutex.02002-07-06 02:16
0x8C Semaphore 0x001F0003 \BaseNamedObjects\cygwin1S3.sigcatch.174962002-07-06 02:16
0x48 Section 0x000F0007 \BaseNamedObjects\cygwin1S3.shared.32002-07-06 02:16
0x64 Section 0x000F0007 \BaseNamedObjects\cygwin1S3.Nils Boeffel.272002-07-06 02:16
0xC4 Mutant 0x001F0001 \BaseNamedObjects\cygtty0.output.mutex
0xCC Event 0x001F0003 \BaseNamedObjects\cygtty0.master_alive
0xC8 Mutant 0x001F0001 \BaseNamedObjects\cygtty0.input.mutex
0xC0 Event 0x001F0003 \BaseNamedObjects\cygtty0.input.avail
0xFC Section 0x000F0007 \BaseNamedObjects\cygpid.4570
0x74 Section 0x000F0007 \BaseNamedObjects\cygpid.4458
0x44 Directory 0x0002000F \BaseNamedObjects
--------------020205020609090501030708
Content-Type: text/plain; charset=us-ascii
--
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/
--------------020205020609090501030708--
- Raw text -