Skip to main content.
home | support | download

Back to List Archive

RE: SLOW indexing on Sun E450

From: David Sweet <dsweet(at)not-real.tgd-inc.com>
Date: Thu Oct 05 2000 - 07:30:13 GMT
On Wed, 4 Oct 2000, Joseph Alba wrote:

> Here's an excerpt:
> 
> lstat("04309533.htm", 0xFFBEF9D8)               Err#2 ENOENT

ENOENT is error no entry".
The equivalent command line error is "No such file or directory.

> lstat("/export/webroots/www/report/summaries/04309533.htm", 0xFFBEF9D8) = 0
> stat("/export/webroots/www/report/summaries/04309533.htm", 0xFFBEF9D8) = 0
> stat("/export/webroots/www/report/summaries/04309533.htm", 0xFFBEF9D8) = 0
> open("/export/webroots/www/report/summaries/04309533.htm", O_RDONLY) = 4
> fstat64(4, 0xFFBEF908)                          = 0
> ioctl(4, TCGETA, 0xFFBEF894)                    Err#25 ENOTTY

This is normal, sort of.
Swish-e is making sure FD 4 (04309533.htm) is not a tty (a device).
This method is used in a alot of programs to make sure nothing funky
  is going on before reading a file.
This does slow down the program because now it is jumping into the
  error routines.

> read(4, " < f o n t   s i z e = "".., 8192)     = 531
> read(4, 0x0021E64C, 8192)                       = 0
> llseek(4, 0, SEEK_CUR)                          = 531
> close(4)                                        = 0
> lstat("03814082.htm", 0xFFBEF9D8)               Err#2 ENOENT
> 
> 
> Does anyone know what these error messages are?  The Err#2 ENOENT and 
> Err#25 ENOTTY?  Thanks for taking the time to help me out here.  I really 
> appreciate it!  It's so discouraging to perform a huge upgrade, only to 
> have the performance degrade.
> 
> 
> 
> At 08:38 AM 10/4/00 -0700, Rainer.Scherg@rexroth.de wrote:
> >What does "truss" say?
> >
> >-----Original Message-----
> >From: Joseph Alba [mailto:jalba@projo.com]
> 
> 


--

Colonel, he is not the guerrilla type.
According to records mayor your son is a prominent student leader.
Ah, yes well, he is a leader but no in a violent or physical way.
No you see Daryl, he is more of a politician; like his father.
A member of an elite paramilitarian organization, eagle scout.
Ah y-yes, but, but that is not military.
Now look Colonel, if he is alive, he is scared, and he is hungry, and he is just as anxious to avoid conflict as you and me.
He is not a trouble maker.

  -- Mayor Bates
  -- Colonel Bella


http://www.tgd-inc.com/~dsweet/red_dawn/20_eaglescout.wav
Received on Thu Oct 5 07:30:51 2000