Re: New FreeBSD 5.3 e-mail server extremely slow - traced to getpwnam maybe ?

2005-01-05 Thread Bruce Campbell
Quoting Bruce Campbell <[EMAIL PROTECTED]>: > ... > Well, somewhat unbelievably, copying a getpwent.c from 4.7 > and remaking libc on 5.3 with it worked. Load average > has gone from 70 to 2. > One of my co-workers has found a less kludgey workaround for the high load problem we were seeing on 5

Re: New FreeBSD 5.3 e-mail server extremely slow - traced to getpwnam maybe ?

2005-01-05 Thread Bruce Campbell
Quoting Bruce Campbell <[EMAIL PROTECTED]>: > Quoting Bruce Campbell <[EMAIL PROTECTED]>: > > > On Tue, Jan 04, 2005 at 09:27:27PM -0500, Bruce Campbell wrote: > > > > > > > I wrote a small program: > > > > > > > > #include > > > > #include > > > > > > > > main( int argc, char *argv[] )

Re: New FreeBSD 5.3 e-mail server extremely slow - traced to getpwnam maybe ?

2005-01-05 Thread Bruce Campbell
Quoting Bruce Campbell <[EMAIL PROTECTED]>: > > On Tue, Jan 04, 2005 at 09:27:27PM -0500, Bruce Campbell wrote: > > > > > I wrote a small program: > > > > > > #include > > > #include > > > > > > main( int argc, char *argv[] ) > > > { > > > getpwuid( 13076 ); > > > } > > > > > > an

Re: New FreeBSD 5.3 e-mail server extremely slow - traced to getpwnam maybe ?

2005-01-05 Thread Bruce Campbell
Quoting Kris Kennaway <[EMAIL PROTECTED]>: > On Tue, Jan 04, 2005 at 09:27:27PM -0500, Bruce Campbell wrote: > > > I wrote a small program: > > > > #include > > #include > > > > main( int argc, char *argv[] ) > > { > > getpwuid( 13076 ); > > } > > > > and ran it under truss on 5.

Re: New FreeBSD 5.3 e-mail server extremely slow - traced to getpwnam maybe ?

2005-01-04 Thread Kris Kennaway
On Tue, Jan 04, 2005 at 09:27:27PM -0500, Bruce Campbell wrote: > I wrote a small program: > > #include > #include > > main( int argc, char *argv[] ) > { > getpwuid( 13076 ); > } > > and ran it under truss on 5.x and it generated 178,711 lines of output. > (the bulk of which is th

Re: New FreeBSD 5.3 e-mail server extremely slow - traced to getpwnam maybe ?

2005-01-04 Thread Bruce Campbell
Quoting Kris Kennaway <[EMAIL PROTECTED]>: >> > Well, no, not quite. > > > > old: imap-uw-2002_1,1 > > new: imap-uw-2004a,1 > > OK, that's where you should start, then. Go back to the software > configuration that you know is working and see if it still misbehaves. > > Kris Thanks. I shutdown