* RE: ls takes a long time.
@ 2002-10-30 6:08 Pavel Rozenboim
0 siblings, 0 replies; 7+ messages in thread
From: Pavel Rozenboim @ 2002-10-30 6:08 UTC (permalink / raw)
To: Cygwin (E-mail)
In strace output I see the follwing messages:
133 64630 [main] ls 1980 path_conv::check: root_dir(C:\),
this->path(C:\cygwin\home\pavel\temp.e), set_has_acls(8)
152 64782 [main] ls 1980 read_sd: file = C:\cygwin\home\pavel\temp.e
282 65064 [main] ls 1980 read_sd: file = C:\cygwin\home\pavel\temp.e:
len=196
Here is a long delay.
45002157 45067221 [main] ls 1980 seterrno_from_win_error:
/netrel/src/cygwin-1.3.14-1/winsup/cygwin/sec_helper.cc:225 windows error
1789
418 45067639 [main] ls 1980 geterrno_from_win_error: unknown windows error
1789, setting errno to 13
Long delay again.
45002075 90069714 [main] ls 1980 seterrno_from_win_error:
/netrel/src/cygwin-1.3.14-1/winsup/cygwin/sec_helper.cc:225 windows error
1789
876 90070590 [main] ls 1980 geterrno_from_win_error: unknown windows error
1789, setting errno to 13
183 90070773 [main] ls 1980 getacl: 0 = getacl
(C:\cygwin\home\pavel\temp.e)
Error 1789 means:
The trust relationship between this workstation and the primary domain
failed.
It looks that cygwin tries to contact the domain and fails.
Why does it try to contact domain?
Why does it fail doing this ? I have no problems accessing domain.
> -----Original Message-----
> From: Harig, Mark A. [mailto:maharig@idirect.net]
> Sent: Wed, October 30, 2002 1:25 AM
> To: Pavel Rozenboim; cygwin@cygwin.com
> Subject: RE: ls takes a long time.
>
>
> I can't see what is causing your problem. For what it's worth,
> it does not appear to be inherent in Cygwin:
>
> $ uname -r
> 1.3.13(0.62/3/2)
>
> $ /usr/bin/ls --version
> ls (fileutils) 4.1
>
> $ touch foo && chmod +s foo && time /usr/bin/ls -l foo
> -rwSr-Sr-- 1 maharig Power Us 0 Oct 29 18:18 foo
>
> real 0m0.390s
> user 0m0.030s
> sys 0m0.060s
>
> I repeated the above commands on another computer that is
> running Cygwin
> 1.3.12 -- similar results (slightly faster). Both computers
> are running
> Windows 2000.
>
> > -----Original Message-----
> > From: Pavel Rozenboim [mailto:pavelr@coresma.com]
> > Sent: Tuesday, October 29, 2002 2:33 AM
> > To: cygwin@cygwin.com
> > Subject: RE: ls takes a long time.
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: Harig, Mark A. [mailto:maharig@idirect.net]
> > > Sent: Mon, October 28, 2002 7:54 PM
> > > To: Pavel Rozenboim; cygwin@cygwin.com
> > > Subject: RE: ls takes a long time.
> > >
> > >
> > > try including the path to 'ls' so that you are
> > > certain that you are not running an unusual
> > > version in /usr/local/bin, that is,
> > >
> > > $ /usr/bin/ls <filename>
> > > $ /usr/bin/ls -l <filename>
> >
> > pavel@PAVEL ~
> > $ time /usr/bin/ls.exe -l temp.e
> > -rw-rw-rw- 1 pavel Domain U 4393 Oct 22 18:58 temp.e
> >
> > real 0m0.067s
> > user 0m0.060s
> > sys 0m0.010s
> >
> > pavel@PAVEL ~
> > $ chmod +s temp.e
> >
> > pavel@PAVEL ~
> > $ time /usr/bin/ls -l temp.e
> > -rwSrwSrw- 1 pavel Domain U 4393 Oct 22 18:58 temp.e
> >
> > real 1m30.117s
> > user 0m0.020s
> > sys 0m0.040s
> >
>
> --
> 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/
>
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: ls takes a long time.
@ 2002-10-29 19:48 Harig, Mark A.
0 siblings, 0 replies; 7+ messages in thread
From: Harig, Mark A. @ 2002-10-29 19:48 UTC (permalink / raw)
To: Pavel Rozenboim, cygwin
I can't see what is causing your problem. For what it's worth,
it does not appear to be inherent in Cygwin:
$ uname -r
1.3.13(0.62/3/2)
$ /usr/bin/ls --version
ls (fileutils) 4.1
$ touch foo && chmod +s foo && time /usr/bin/ls -l foo
-rwSr-Sr-- 1 maharig Power Us 0 Oct 29 18:18 foo
real 0m0.390s
user 0m0.030s
sys 0m0.060s
I repeated the above commands on another computer that is running Cygwin
1.3.12 -- similar results (slightly faster). Both computers are running
Windows 2000.
> -----Original Message-----
> From: Pavel Rozenboim [mailto:pavelr@coresma.com]
> Sent: Tuesday, October 29, 2002 2:33 AM
> To: cygwin@cygwin.com
> Subject: RE: ls takes a long time.
>
>
>
>
> > -----Original Message-----
> > From: Harig, Mark A. [mailto:maharig@idirect.net]
> > Sent: Mon, October 28, 2002 7:54 PM
> > To: Pavel Rozenboim; cygwin@cygwin.com
> > Subject: RE: ls takes a long time.
> >
> >
> > try including the path to 'ls' so that you are
> > certain that you are not running an unusual
> > version in /usr/local/bin, that is,
> >
> > $ /usr/bin/ls <filename>
> > $ /usr/bin/ls -l <filename>
>
> pavel@PAVEL ~
> $ time /usr/bin/ls.exe -l temp.e
> -rw-rw-rw- 1 pavel Domain U 4393 Oct 22 18:58 temp.e
>
> real 0m0.067s
> user 0m0.060s
> sys 0m0.010s
>
> pavel@PAVEL ~
> $ chmod +s temp.e
>
> pavel@PAVEL ~
> $ time /usr/bin/ls -l temp.e
> -rwSrwSrw- 1 pavel Domain U 4393 Oct 22 18:58 temp.e
>
> real 1m30.117s
> user 0m0.020s
> sys 0m0.040s
>
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: ls takes a long time.
@ 2002-10-29 2:38 Pavel Rozenboim
0 siblings, 0 replies; 7+ messages in thread
From: Pavel Rozenboim @ 2002-10-29 2:38 UTC (permalink / raw)
To: cygwin
> -----Original Message-----
> From: Harig, Mark A. [mailto:maharig@idirect.net]
> Sent: Mon, October 28, 2002 7:54 PM
> To: Pavel Rozenboim; cygwin@cygwin.com
> Subject: RE: ls takes a long time.
>
>
> try including the path to 'ls' so that you are
> certain that you are not running an unusual
> version in /usr/local/bin, that is,
>
> $ /usr/bin/ls <filename>
> $ /usr/bin/ls -l <filename>
pavel@PAVEL ~
$ time /usr/bin/ls.exe -l temp.e
-rw-rw-rw- 1 pavel Domain U 4393 Oct 22 18:58 temp.e
real 0m0.067s
user 0m0.060s
sys 0m0.010s
pavel@PAVEL ~
$ chmod +s temp.e
pavel@PAVEL ~
$ time /usr/bin/ls -l temp.e
-rwSrwSrw- 1 pavel Domain U 4393 Oct 22 18:58 temp.e
real 1m30.117s
user 0m0.020s
sys 0m0.040s
>
> > -----Original Message-----
> > From: Pavel Rozenboim [mailto:pavelr@coresma.com]
> > Sent: Monday, October 28, 2002 12:37 PM
> > To: Harig, Mark A.
> > Subject: RE: ls takes a long time.
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: Harig, Mark A. [mailto:maharig@idirect.net]
> > > Sent: Mon, October 28, 2002 7:41 PM
> > > To: Pavel Rozenboim; Cygwin (E-mail)
> > > Subject: RE: ls takes a long time.
> > >
> > >
> > > 1. What is the value of your 'PATH' environment variable?
> > >
> > > $ echo $PATH
> > /usr/local/bin:/usr/bin:/bin:/cygdrive/c/Tornado/host/x86-win3
> > 2/bin:/cygdriv
> > e/c/Tornado2.0.1_ARM/host/x86-win32/bin:/cygdrive/c/SFU/common
> > /:/cygdrive/c/
> > SFU/Perl/bin/:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cy
> > gdrive/c/WINNT
> > /System32/Wbem:/cygdrive/c/Program Files/Resource
> > Kit/:/cygdrive/c/PROGRA~1/ULTRAE~1:/cygdrive/c/Program
> Files/SecureCRT
> > 3.0:/cygdrive/c/ARM250/BIN:/cygdrive/c/Program
> > Files/Adabas/pgm:/usr/X11R6/bin:/proj/cmts_sw/build
> >
> > >
> > > 2. What version of 'ls' are you running?
> > >
> > > $ ls --version
> > ls (fileutils) 4.1
> > Written by Richard Stallman and David MacKenzie.
> >
> > Copyright (C) 2001 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions.
> > There is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A
> > PARTICULAR PURPOSE.
> >
> > >
> > > > -----Original Message-----
> > > > From: Pavel Rozenboim [mailto:pavelr@coresma.com]
> > > > Sent: Monday, October 28, 2002 12:25 PM
> > > > To: Cygwin (E-mail)
> > > > Subject: ls takes a long time.
> > > >
> > > >
> > > > Hi,
> > > >
> > > > I have following problem. When I execute 'ls -l <file>' and
> > > > file has setuid
> > > > bit set, it takes about 1.5 minute to execute. If I execute
> > > > 'ls <file>' it
> > > > works ok. This happens with all versions of cygwin I could
> > > > test: 1.3.12,
> > > > 1.3.13 and 1.3.14. I'm running cygwin on Win2k.
> > > >
> > > > $ time ls -l test
> > > >
> > > > -rwSrwSrw- 1 pavel Domain U 0 Oct 27 11:20 test
> > > >
> > > > real 1m30.061s
> > > > user 0m0.020s
> > > > sys 0m0.060s
> > > >
> > > > Any ideas why does it happen?
> > > >
> > > > Thanks,
> > > > Pavel.
> > > >
> > > > --
> > > > 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/
> > > >
> > > >
> > >
> >
>
> --
> 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/
>
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: ls takes a long time.
@ 2002-10-28 12:24 Harig, Mark A.
0 siblings, 0 replies; 7+ messages in thread
From: Harig, Mark A. @ 2002-10-28 12:24 UTC (permalink / raw)
To: Pavel Rozenboim, cygwin
try including the path to 'ls' so that you are
certain that you are not running an unusual
version in /usr/local/bin, that is,
$ /usr/bin/ls <filename>
$ /usr/bin/ls -l <filename>
> -----Original Message-----
> From: Pavel Rozenboim [mailto:pavelr@coresma.com]
> Sent: Monday, October 28, 2002 12:37 PM
> To: Harig, Mark A.
> Subject: RE: ls takes a long time.
>
>
>
>
> > -----Original Message-----
> > From: Harig, Mark A. [mailto:maharig@idirect.net]
> > Sent: Mon, October 28, 2002 7:41 PM
> > To: Pavel Rozenboim; Cygwin (E-mail)
> > Subject: RE: ls takes a long time.
> >
> >
> > 1. What is the value of your 'PATH' environment variable?
> >
> > $ echo $PATH
> /usr/local/bin:/usr/bin:/bin:/cygdrive/c/Tornado/host/x86-win3
> 2/bin:/cygdriv
> e/c/Tornado2.0.1_ARM/host/x86-win32/bin:/cygdrive/c/SFU/common
> /:/cygdrive/c/
> SFU/Perl/bin/:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cy
> gdrive/c/WINNT
> /System32/Wbem:/cygdrive/c/Program Files/Resource
> Kit/:/cygdrive/c/PROGRA~1/ULTRAE~1:/cygdrive/c/Program Files/SecureCRT
> 3.0:/cygdrive/c/ARM250/BIN:/cygdrive/c/Program
> Files/Adabas/pgm:/usr/X11R6/bin:/proj/cmts_sw/build
>
> >
> > 2. What version of 'ls' are you running?
> >
> > $ ls --version
> ls (fileutils) 4.1
> Written by Richard Stallman and David MacKenzie.
>
> Copyright (C) 2001 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
>
> >
> > > -----Original Message-----
> > > From: Pavel Rozenboim [mailto:pavelr@coresma.com]
> > > Sent: Monday, October 28, 2002 12:25 PM
> > > To: Cygwin (E-mail)
> > > Subject: ls takes a long time.
> > >
> > >
> > > Hi,
> > >
> > > I have following problem. When I execute 'ls -l <file>' and
> > > file has setuid
> > > bit set, it takes about 1.5 minute to execute. If I execute
> > > 'ls <file>' it
> > > works ok. This happens with all versions of cygwin I could
> > > test: 1.3.12,
> > > 1.3.13 and 1.3.14. I'm running cygwin on Win2k.
> > >
> > > $ time ls -l test
> > >
> > > -rwSrwSrw- 1 pavel Domain U 0 Oct 27 11:20 test
> > >
> > > real 1m30.061s
> > > user 0m0.020s
> > > sys 0m0.060s
> > >
> > > Any ideas why does it happen?
> > >
> > > Thanks,
> > > Pavel.
> > >
> > > --
> > > 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/
> > >
> > >
> >
>
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: ls takes a long time.
@ 2002-10-28 12:19 Harig, Mark A.
0 siblings, 0 replies; 7+ messages in thread
From: Harig, Mark A. @ 2002-10-28 12:19 UTC (permalink / raw)
To: Pavel Rozenboim, Cygwin (E-mail)
1. What is the value of your 'PATH' environment variable?
$ echo $PATH
2. What version of 'ls' are you running?
$ ls --version
> -----Original Message-----
> From: Pavel Rozenboim [mailto:pavelr@coresma.com]
> Sent: Monday, October 28, 2002 12:25 PM
> To: Cygwin (E-mail)
> Subject: ls takes a long time.
>
>
> Hi,
>
> I have following problem. When I execute 'ls -l <file>' and
> file has setuid
> bit set, it takes about 1.5 minute to execute. If I execute
> 'ls <file>' it
> works ok. This happens with all versions of cygwin I could
> test: 1.3.12,
> 1.3.13 and 1.3.14. I'm running cygwin on Win2k.
>
> $ time ls -l test
>
> -rwSrwSrw- 1 pavel Domain U 0 Oct 27 11:20 test
>
> real 1m30.061s
> user 0m0.020s
> sys 0m0.060s
>
> Any ideas why does it happen?
>
> Thanks,
> Pavel.
>
> --
> 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/
>
>
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* ls takes a long time.
@ 2002-10-28 11:31 Pavel Rozenboim
0 siblings, 0 replies; 7+ messages in thread
From: Pavel Rozenboim @ 2002-10-28 11:31 UTC (permalink / raw)
To: Cygwin (E-mail)
Hi,
I have following problem. When I execute 'ls -l <file>' and file has setuid
bit set, it takes about 1.5 minute to execute. If I execute 'ls <file>' it
works ok. This happens with all versions of cygwin I could test: 1.3.12,
1.3.13 and 1.3.14. I'm running cygwin on Win2k.
$ time ls -l test
-rwSrwSrw- 1 pavel Domain U 0 Oct 27 11:20 test
real 1m30.061s
user 0m0.020s
sys 0m0.060s
Any ideas why does it happen?
Thanks,
Pavel.
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* ls takes a long time.
@ 2002-10-27 10:24 Pavel Rozenboim
0 siblings, 0 replies; 7+ messages in thread
From: Pavel Rozenboim @ 2002-10-27 10:24 UTC (permalink / raw)
To: Cygwin (E-mail)
Hi,
I have following problem. When I execute 'ls -l <file>' and file is setuid
permission set, it takes about 1.5 minute to execute. If I execute 'ls
<file>' it works ok. This happens with all versions of cygwin I could test:
1.3.12, 1.3.13 and 1.3.14.
$ time ls -l test
-rwSrwSrw- 1 pavel Domain U 0 Oct 27 11:20 test
real 1m30.061s
user 0m0.020s
sys 0m0.060s
Any ideas why does it happen?
Thanks,
Pavel.
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-10-30 11:55 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-30 6:08 ls takes a long time Pavel Rozenboim
-- strict thread matches above, loose matches on Subject: below --
2002-10-29 19:48 Harig, Mark A.
2002-10-29 2:38 Pavel Rozenboim
2002-10-28 12:24 Harig, Mark A.
2002-10-28 12:19 Harig, Mark A.
2002-10-28 11:31 Pavel Rozenboim
2002-10-27 10:24 Pavel Rozenboim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).