Mail Archives: cygwin/2008/03/12/14:54:03
--Boundary_(ID_AtFuSD0C3as2e671wOQzlA)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
Hello again,
>> Hello,
>>
>> I recently installed cygwin on a new windows 2003 server box, and am experiencing 100% CPU utilization for several seconds (approx 7) when running many commands via ssh connection *to* that box -- even simple commands like "ls -l", "find", that usually return immediately.
>>
>> What's more interesting is when I run sshd in a command window (either with -d or not) on the server, instead of via service control manager/cygrunsrv, the problem goes away. I've tried reverting back to the previous cygrunsrv version (1.18), with no change in behavior. I've also experimented with various settings in the sshd service (ntsec, etc).
>>
>> I also suspected that it might only involve commands that interact heavily with the filesystem, but even trying to run "vi" with a small file or no file at all produces the same result.
>>
>> I saw in the list archives some suggestion about anti-virus/firewall software causing problems when forking processes, but i don't have any installed on this machine at the moment.
>>
>> Any thoughts on where I should turn next to troubleshoot?
>>
>> I've attached 'cygcheck -s -v -r' output.
With regard to this performance problem, I've discovered that this is not just an sshd problem -- scripts/commands I run through cron also exhibit the same behavior. (ie. find, curl, date, etc). Is there something about the user context under which these services run that could be causing this? Or does this point to cygrunsrv?
I should note this is a multi-processor machine (2 dual-core CPUs) -- not sure if there could be any issues there.
re-attached cygcheck output for reference.
Thanks,
Steve
--Boundary_(ID_AtFuSD0C3as2e671wOQzlA)
Content-type: text/plain; NAME=cygcheck.out; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=cygcheck.out
Cygwin Configuration Diagnostics
Current System Time: Thu Mar 06 09:23:23 2008
Windows 2003 Server Ver 5.2 Build 3790 Service Pack 1
Running in Terminal Service session
Path: e:\cygwin\usr\local\bin
e:\cygwin\bin
e:\cygwin\bin
e:\cygwin\usr\X11R6\bin
e:\Program Files\Resource Kit\
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\Microsoft SQL Server\80\Tools\Binn\
c:\Program Files\Microsoft Windows Small Business Server\Networking\
e:\Program Files\Dell\SysMgt\RAC5
e:\Program Files\Dell\SysMgt\oma\bin
Output from e:\cygwin\bin\id.exe (nontsec)
UID: 11133(talksoft) GID: 10513(Domain Users)
513(Domain Users) 544(Administrators) 545(Users)
10513(Domain Users)
Output from e:\cygwin\bin\id.exe (ntsec)
UID: 11133(talksoft) GID: 10513(Domain Users)
513(Domain Users) 544(Administrators) 545(Users)
10513(Domain Users)
SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS
USER = 'talksoft'
PWD = '/home/talksoft'
HOME = '/home/talksoft'
MAKE_MODE = 'unix'
HOMEPATH = '\Documents and Settings\talksoft.TALKSOFT2'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Documents and Settings\talksoft.TALKSOFT2\Application Data'
HOSTNAME = 'puss'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 15 Stepping 11, GenuineIntel'
WINDIR = 'C:\WINDOWS'
OLDPWD = '/usr/bin'
USERDOMAIN = 'TALKSOFT2'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
TEMP = '/mnt/c/DOCUME~1/TALKSO~1.TAL/LOCALS~1/Temp/4'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
USERNAME = 'talksoft'
CLUSTERLOG = 'C:\WINDOWS\Cluster\cluster.log'
PROCESSOR_LEVEL = '6'
SBSPROGRAMDIR = 'C:\Program Files\Microsoft Windows Small Business Server'
WINSBPROGRAMDIR = 'C:\Program Files\Windows for Small Business Server'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Documents and Settings\talksoft.TALKSOFT2'
CLIENTNAME = 'TINK'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\PUSS'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\Documents and Settings\talksoft.TALKSOFT2\Desktop'
SHLVL = '1'
USERDNSDOMAIN = 'TALKSOFT.LOCAL'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/mnt/c/DOCUME~1/TALKSO~1.TAL/LOCALS~1/Temp/4'
SYSTEMROOT = 'C:\WINDOWS'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0f0b'
!E: = 'E:\cygwin\bin'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '4'
SESSIONNAME = 'RDP-Tcp#32'
COMPUTERNAME = 'PUSS'
_ = '/usr/bin/cygcheck'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
(default) = '/mnt'
cygdrive flags = 0x0000002a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
(default) = 'e:\cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = 'e:\cygwin/bin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = 'e:\cygwin/lib'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
c: hd NTFS 1024Mb 1% CP CS UN PA FC
d: cd N/A N/A
e: hd NTFS 212053Mb 1% CP CS UN PA FC DATA
f: hd NTFS 238472Mb 57% CP CS UN PA FC shared
e:\cygwin / system binmode
e:\cygwin/bin /usr/bin system binmode
e:\cygwin/lib /usr/lib system binmode
. /mnt system binmode,cygdrive
Found: e:\cygwin\bin\awk.exe
Found: e:\cygwin\bin\bash.exe
Found: e:\cygwin\bin\cat.exe
Found: e:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: e:\cygwin\bin\crontab.exe
Found: e:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: e:\cygwin\bin\grep.exe
Found: e:\cygwin\bin\kill.exe
Not Found: ld
Found: e:\cygwin\bin\ls.exe
Not Found: make
Found: e:\cygwin\bin\mv.exe
Found: e:\cygwin\bin\patch.exe
Not Found: perl
Found: e:\cygwin\bin\rm.exe
Found: e:\cygwin\bin\sed.exe
Found: e:\cygwin\bin\ssh.exe
Found: e:\cygwin\bin\sh.exe
Found: e:\cygwin\bin\tar.exe
Found: e:\cygwin\bin\test.exe
Not Found: vi
Found: e:\cygwin\bin\vim.exe
61k 2006/11/10 e:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
"cygbz2-1.dll" v0.0 ts=2006/11/10 18:42
7k 2003/10/19 e:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
"cygcrypt-0.dll" v0.0 ts=2003/10/19 3:57
1059k 2007/10/19 e:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto-0.9.8.dll" v0.0 ts=2007/10/19 7:45
221k 2007/06/30 e:\cygwin\bin\cygcurl-4.dll - os=4.0 img=1.0 sys=4.0
"cygcurl-4.dll" v0.0 ts=2007/6/29 20:54
40k 2006/11/15 e:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
"cygform-8.dll" v0.0 ts=2006/11/15 2:06
25k 2008/01/04 e:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
"cyghistory6.dll" v0.0 ts=2008/1/3 22:31
271k 2007/08/24 e:\cygwin\bin\cygicons-0.dll - os=4.0 img=1.0 sys=4.0
"cygicons-0.dll" v0.0 ts=2007/8/24 3:24
976k 2006/10/22 e:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
"cygiconv-2.dll" v0.0 ts=2006/10/22 19:44
31k 2005/11/20 e:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
"cygintl-3.dll" v0.0 ts=2005/11/19 21:04
31k 2006/10/23 e:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
"cygintl-8.dll" v0.0 ts=2006/10/22 20:12
83k 2007/06/06 e:\cygwin\bin\cygmagic-1.dll - os=4.0 img=1.0 sys=4.0
"cygmagic-1.dll" v0.0 ts=2007/6/6 6:41
21k 2006/11/15 e:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
"cygmenu-8.dll" v0.0 ts=2006/11/15 2:05
20k 2006/12/21 e:\cygwin\bin\cygminires.dll - os=4.0 img=1.1 sys=4.0
"cygminires.dll" v0.0 ts=2006/12/21 0:07
67k 2006/11/15 e:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++-8.dll" v0.0 ts=2006/11/15 2:13
237k 2006/11/15 e:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
"cygncurses-8.dll" v0.0 ts=2006/11/15 2:02
12k 2006/11/15 e:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
"cygpanel-8.dll" v0.0 ts=2006/11/15 2:04
133k 2007/06/27 e:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcre-0.dll" v0.0 ts=2007/6/26 23:49
303k 2007/06/27 e:\cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcrecpp-0.dll" v0.0 ts=2007/6/26 23:50
7k 2007/06/27 e:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix-0.dll" v0.0 ts=2007/6/26 23:50
22k 2002/06/09 e:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
"cygpopt-0.dll" v0.0 ts=2002/6/9 1:45
155k 2008/01/04 e:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
"cygreadline6.dll" v0.0 ts=2008/1/3 22:31
118k 2007/06/27 e:\cygwin\bin\cygssh2-1.dll - os=4.0 img=1.0 sys=4.0
"cygssh2-1.dll" v0.0 ts=2007/6/27 1:56
219k 2007/10/19 e:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
"cygssl-0.9.8.dll" v0.0 ts=2007/10/19 7:45
5k 2007/12/05 e:\cygwin\bin\cygstunnel.dll - os=4.0 img=1.0 sys=4.0
"cygstunnel.dll" v0.0 ts=2007/12/5 9:59
65k 2006/10/16 e:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2006/10/15 21:10
1829k 2007/12/14 e:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2007/12/14 13:22
Cygwin DLL version info:
DLL version: 1.5.25
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 156
Shared data: 4
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Fri Dec 14 19:21:07 CET 2007
CVS tag: cr-0x5f1
Shared id: cygwin1S4
Service : cron
Display name : Cron daemon
Current State : Running
Controls Accepted : Stop
Command : /usr/sbin/cron -n -x ext,sch,proc,pars,load,misc
stdin path : /dev/null
stdout path : /var/log/cron.log
stderr path : /var/log/cron.log
Environment : CYGWIN="ntsec smbntsec"
Process Type : Own Process
Startup : Automatic
Account : TALKSOFT2\cron_server
Service : sshd
Display name : CYGWIN sshd
Current State : Running
Controls Accepted : Stop
Command : /usr/sbin/sshd -D
stdin path : /dev/null
stdout path : /var/log/sshd.log
stderr path : /var/log/sshd.log
Environment : CYGWIN="ntsec"
Process Type : Own Process
Startup : Automatic
Dependencies : tcpip
Account : TALKSOFT2\sshd_server
Cygwin Package Information
Last downloaded files to: C:\Documents and Settings\Administrator\Desktop
Last downloaded files from: ftp://mirror.switch.ch/mirror/cygwin
Package Version
_update-info-dir 00591-1
alternatives 1.3.29a-1
ash 20040127-3
base-files 3.7-1
base-passwd 2.2-1
bash 3.2.33-18
bzip2 1.0.3-2
connect-proxy 1.100-1
coreutils 6.10-1
cron 4.1-6
crypt 1.1-1
curl 7.16.3-1
cygrunsrv 1.18-1
cygutils 1.3.2-1
cygwin 1.5.25-7
cygwin-doc 1.4-4
editrights 1.01-2
email 2.5.1-1
file 4.21-1
findutils 4.3.13-1
gawk 3.1.6-1
gnupg 1.4.5-1
grep 2.5.1a-4
groff 1.18.1-2
gzip 1.3.12-2
less 382-1
libbz2_1 1.0.3-2
libcurl4 7.16.3-1
libiconv2 1.11-1
libintl3 0.14.5-1
libintl8 0.15-1
libncurses-devel 5.5-3
libncurses8 5.5-3
libpcre0 7.2-1
libpopt0 1.6.4-4
libreadline6 5.2.12-10
libssh2_1 0.15-1
login 1.9-7
man 1.6e-1
minires 1.01-1
mutt 1.4.2.2-2
ncftp 3.2.1-1
netcat 1.10-2
openssh 4.7p1-2
openssl 0.9.8g-1
patch 2.5.8-9
ping 1.0-1
readline 5.2.12-10
rebase 2.4.3-1
rsync 2.6.9-2
run 1.1.10-1
rxvt 20050409-7
sed 4.1.5-2
shutdown 1.7-1
ssmtp 2.61-1
stunnel 4.21-1
tar 1.19.90-1
termcap 20050421-1
terminfo 5.5_20061104-1
texinfo 4.8a-1
tzcode 2007h-2
unzip 5.52-2
vim 7.1-1
wget 1.10.2-2
which 2.19-1
zip 2.32-2
zlib 1.2.3-2
Use -h to see help about each section
--Boundary_(ID_AtFuSD0C3as2e671wOQzlA)
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/
--Boundary_(ID_AtFuSD0C3as2e671wOQzlA)--
- Raw text -