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 Reply-To: From: "Bill McCormick" To: Subject: RE: Information regarding problem when Windows cannot re-use PID numbers Date: Sat, 9 Aug 2003 14:02:59 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <20030809175354.GC9863@redhat.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 FYI, I'm running cygwin on Win2K Pro and don't appear to have any memory leaks, or any problems in general. My machine pretty much stays up 24/7 (I do occasionally reboot out of force of habit.) I've got no personal FW, am running AVG Anti Virus 6.0 and a pretty mixed bag of Windows services and cygwin services. And I use Perl daily :) with no problems (albeit web server cgi scripts.) Here are some of my machine details: $ uname -a CYGWIN_NT-5.0 billhome 1.5.0(0.88/3/2) 2003-07-09 22:14 i686 unknown unknown Cygwin 512K RAM, SP 3 $ ps -W PID PPID PGID WINPID TTY UID STIME COMMAND 8 0 0 8 ? 0 14:24:48 *** unknown *** 140 0 0 140 ? 0 Aug 6 \SystemRoot\System32\smss.exe 188 0 0 188 ? 0 Aug 6 \??\C:\WINNT\system32\winlogon.exe 216 0 0 216 ? 0 Aug 6 C:\WINNT\system32\services.exe 228 0 0 228 ? 0 Aug 6 C:\WINNT\system32\lsass.exe 480 0 0 480 ? 0 Aug 6 C:\WINNT\system32\svchost.exe 516 0 0 516 ? 0 Aug 6 C:\WINNT\system32\spoolsv.exe 580 0 0 580 ? 0 Aug 6 C:\PROGRA~1\Grisoft\AVG6\avgserv.exe 592 0 0 592 ? 0 Aug 6 C:\WINNT\System32\drivers\CDAC11BA.EXE 616 0 0 616 ? 0 Aug 6 C:\ControlIT\CtrITService.exe 644 0 0 644 ? 0 Aug 6 C:\ControlIT\rp32u.exe 652 1 652 652 ? 18 Aug 6 /usr/bin/cygrunsrv 680 0 0 680 ? 0 Aug 6 C:\WINNT\System32\svchost.exe 712 1 712 712 ? 18 Aug 6 /usr/bin/cygrunsrv 744 0 0 744 ? 0 Aug 6 C:\cygwin\usr\sbin\cron.exe 756 1 756 756 ? 18 Aug 6 /usr/sbin/inetd 764 0 0 764 ? 0 Aug 6 C:\cygwin\usr\sbin\httpd.exe 796 756 756 796 ? 18 Aug 6 /usr/sbin/inetd 704 0 0 704 ? 0 Aug 6 C:\WINNT\LogWatNT.exe 816 0 0 816 ? 0 Aug 6 C:\mysql\bin\mysqld.exe 856 0 0 856 ? 0 Aug 6 C:\WINNT\system32\regsvc.exe 872 0 0 872 ? 0 Aug 6 C:\WINNT\system32\MSTask.exe 916 1 916 916 ? 18 Aug 6 /usr/bin/cygrunsrv 980 0 0 980 ? 0 Aug 6 C:\WINNT\system32\stisvc.exe 988 0 0 988 ? 0 Aug 6 C:\cygwin\usr\sbin\sshd.exe 1040 0 0 1040 ? 0 Aug 6 C:\Program Files\Executive Software\Undelete\UdServe.exe 1064 0 0 1064 ? 0 Aug 6 C:\WINNT\System32\WBEM\WinMgmt.exe 1096 0 0 1096 ? 0 Aug 6 C:\WINNT\system32\faxsvc.exe 1352 0 0 1352 ? 0 Aug 6 C:\WINNT\Explorer.EXE 1296 732 732 1296 ? 1005 Aug 6 /usr/sbin/httpd 1356 732 732 1356 ? 1005 Aug 6 /usr/sbin/httpd 1364 732 732 1364 ? 1005 Aug 6 /usr/sbin/httpd 1384 732 732 1384 ? 1005 Aug 6 /usr/sbin/httpd 1408 732 732 1408 ? 1005 Aug 6 /usr/sbin/httpd 1552 0 0 1552 ? 0 Aug 6 C:\WINNT\System32\atiptaxx.exe 1564 0 0 1564 ? 0 Aug 6 C:\Program Files\Hewlett-Packard\HP Share-to-Web\hpgs2wnd.exe 1588 0 0 1588 ? 0 Aug 6 C:\Program Files\Microsoft Hardware\Mouse\point32.exe 1608 0 0 1608 ? 0 Aug 6 C:\PROGRA~1\HEWLET~1\HPSHAR~1\hpgs2wnf.exe 1616 0 0 1616 ? 0 Aug 6 C:\PROGRA~1\B'SCLI~1\Win2K\BSCLIP.exe 1632 0 0 1632 ? 0 Aug 6 C:\PROGRA~1\Grisoft\AVG6\avgcc32.exe 1644 0 0 1644 ? 0 Aug 6 C:\Program Files\QuickTime\qttask.exe 1656 0 0 1656 ? 0 Aug 6 C:\Program Files\ATI Multimedia\main\ATISched.EXE 688 0 0 688 ? 0 Aug 6 C:\Program Files\Hewlett-Packard\Digital Imaging\bin\hpobnz08.exe 1672 0 0 1672 ? 0 Aug 6 C:\Program Files\Hewlett-Packard\Digital Imaging\bin\hpotdd01.exe 1696 0 0 1696 ? 0 Aug 6 C:\Program Files\Microsoft Office\Office\OSA.EXE 1324 0 0 1324 ? 0 Aug 6 C:\Program Files\QUICKENW\QWDLLS.EXE 1676 0 0 1676 ? 0 Aug 6 C:\Program Files\Microsoft Office\Office\1033\OLFSNT40.EXE 1872 0 0 1872 ? 0 Aug 6 C:\mysql\bin\winmysqladmin.exe 1896 0 0 1896 ? 0 Aug 6 C:\Program Files\Hewlett-Packard\Digital Imaging\bin\hpoevm08.exe 212 0 0 212 ? 0 Aug 6 C:\WINNT\System32\HPZipm12.exe 1804 0 0 1804 ? 0 Aug 6 C:\Program Files\Hewlett-Packard\Digital Imaging\Bin\hpoSTS08.exe 1740 732 732 1740 ? 1005 Aug 6 /usr/sbin/httpd 1724 732 732 1724 ? 1005 Aug 6 /usr/sbin/httpd 1716 732 732 1716 ? 1005 Aug 6 /usr/sbin/httpd 1964 732 732 1964 ? 1005 Aug 6 /usr/sbin/httpd 2028 732 732 2028 ? 1005 Aug 6 /usr/sbin/httpd 1956 0 0 1956 ? 0 Aug 7 C:\Program Files\TextPad\TXTPAD32.EXE 2120 0 0 2120 ? 0 Aug 7 C:\Program Files\Internet Explorer\IEXPLORE.EXE 2144 0 0 2144 ? 0 Aug 7 C:\Program Files\PopupAdZero\PopupZeroTray.exe 2508 1 2508 2508 0 1000 Aug 7 /usr/bin/rxvt 2240 0 0 2240 ? 0 Aug 7 C:\cygwin\bin\bash.exe 2084 0 0 2084 ? 0 Aug 7 C:\Program Files\Internet Explorer\IEXPLORE.EXE 2388 0 0 2388 ? 0 Aug 7 C:\Program Files\mysqlcc\mysqlcc.exe 540 0 0 540 ? 0 Aug 7 C:\Program Files\Internet Explorer\IEXPLORE.EXE 2340 0 0 2340 ? 0 Aug 7 C:\Program Files\Microsoft Office\Office\FRONTPG.EXE 2496 0 0 2496 ? 0 Aug 8 C:\Program Files\Microsoft Office\Office\OUTLOOK.EXE 2560 0 0 2560 ? 0 Aug 8 C:\Program Files\Microsoft Office\Office\1033\wfxmsrvr.exe 1936 0 0 1936 ? 0 Aug 8 C:\PROGRA~1\MICROS~3\Office\1033\OLFMOD32.EXE 2568 0 0 2568 ? 0 Aug 8 C:\Program Files\Internet Explorer\IEXPLORE.EXE 2680 1 2680 2680 2 1000 13:28:54 /usr/bin/rxvt 2512 0 0 2512 ? 0 13:28:54 C:\cygwin\bin\bash.exe 2632 0 0 2632 ? 0 13:29:02 C:\cygwin\bin\perl.exe 2128 0 0 2128 ? 0 13:29:02 C:\cygwin\bin\sh.exe I 2132 2396 2664 2132 3 1000 13:29:02 /usr/bin/less 2176 2012 2176 2492 1 1000 13:54:47 /usr/bin/ps 2492 0 0 2492 ? 0 13:54:48 C:\cygwin\bin\ps.exe I hope this might help. Bill > On Sat, Aug 09, 2003 at 07:40:57PM +0200, Yorick Koster wrote: > >Hello list, > > > >Rogier & I have been busy trying to isolate the memory leak problem we > >have encountered on Win2k machines. A lot of people on this list have > >suggested this is in fact a Win2k problem. We have indeed verified this > >is indeed not a CygWin issue, but I am not totally convinced this is a > >Windows problem. The following command can be used to reproduce the leak: > > > >FOR /L %a IN (1,1,65535) DO echo exit | cmd > > > >By using the task manager, you can notice an increase in the use of > >memory. symptoms: > >- the available free physical memory reduces with a constant interval, > >this will continue untill all physical memory is used > >- apparently Windows can not swap this space, when it is no longer > >possible to start a new command shell, there is still lots of swap space > >available > >- the memory is never freed, not even when a user logs off > >- starting more applications will eventually cause Windows to crash > > > >The reason why I am not convinced this is a Windows problem, is because > >of the fact that I have tested this on several Win2k machines, some of > >them suffer from this bug while others do not. These machines are > >identical and are installed using the same image. My guess was that it > >is related to same 3rd party services, likely antivirus and/or personal > >firewall software. > > The above would certainly rule out cygwin then since there isn't > any cygwin > component. > > Does RAMpage "fix" this problem, assuming you can even run it? If so, > that would indicate a memory fragmentation problem rather than a lack > of memory problem. > > cgf > > -- > 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/ > > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.506 / Virus Database: 303 - Release Date: 8/1/2003 > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.506 / Virus Database: 303 - Release Date: 8/1/2003 -- 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/