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 Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <005801c1c312$441db5f0$0100a8c0@advent02> From: "Chris January" To: Subject: long delays on fhandler_base::open with cygwin 1.3.10 Date: Mon, 4 Mar 2002 00:19:34 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 I'm using Cygwin 1.3.10 DLL and I occasionally get long delays (>2s !) when fhandler_base::open is called on a disk file. This occurs sporadically and is not dependant on the file being opened. I've included a little strace snippet below. Just look how long fhandler_base::open takes to return! No other CPU intensive programs are running and, no, I'm not selecting text in the console window and not realising it... :-) Regards Chris 2992 6679406 [main] base 2324 symlink_info::check: not a symlink 1060 6680466 [main] base 2324 symlink_info::check: 0 = symlink.check (C:\cygwin \opt\kde2\lib\cygkcm_background.dll, 0x22F4B4) (0xA) 1579 6682045 [main] base 2324 path_conv::check: root_dir(C:\), this->path(C:\cy gwin\opt\kde2\lib\cygkcm_background.dll), set_has_acls(8) 1575 6683620 [main] base 2324 dtable::build_fhandler: fd -1, fh 0x61561FA8 1248 6684868 [main] base 2324 stat_worker: (lib/cygkcm_background.dll, 0x22FD34 , 1, 0x22F984), file_attributes 32 1911 6686779 [main] base 2324 fhandler_base::open: (C:\cygwin\opt\kde2\lib\cygk cm_background.dll, 0x110000) 18893877 25580656 [main] base 2324 fhandler_base::open: 0x100 = CreateFileA (C:\ cygwin\opt\kde2\lib\cygkcm_background.dll, 0x80000000, 0x7, 0x22F764, 0x3, 0x200 0080, 0) 688795 26269451 [main] base 2324 fhandler_base::open: filemode set to binary 841 26270292 [main] base 2324 fhandler_base::open: 1 = fhandler_base::open (C: \cygwin\opt\kde2\lib\cygkcm_background.dll, 0x110000) 1312 26271604 [main] base 2324 fhandler_disk_file::open: 1 = fhandler_disk_file ::open (C:\cygwin\opt\kde2\lib\cygkcm_background.dll, 0x110000) 1366 26272970 [main] base 2324 fhandler_disk_file::fstat_helper: 1 = GetFileInf ormationByHandle (C:\cygwin\opt\kde2\lib\cygkcm_background.dll, 256) 2345 26275315 [main] base 2324 fhandler_disk_file::fstat_helper: 0 = fstat (, 0 x22FD34) st_atime=3C82BC77 st_size=549376, st_mode=0x81ED, st_ino=360793, sizeof =64 2054 26277369 [main] base 2324 fhandler_base::close: closing 'lib/cygkcm_backgr ound.dll' handle 0x100 1377 26278746 [main] base 2324 stat_worker: 0 = (lib/cygkcm_background.dll, 0x2 2FD34) -- 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/