FreeBSD 5.3 Questions

Kris Kennaway kris at obsecurity.org
Fri Dec 3 16:01:01 PST 2004


On Fri, Dec 03, 2004 at 05:54:17PM -0600, Joshua Lokken wrote:
> On Fri, 3 Dec 2004 15:46:59 -0800, Kris Kennaway <kris at obsecurity.org> wrote:
> > On Fri, Dec 03, 2004 at 02:00:33PM -0600, Joshua Lokken wrote:
> > 
> > 
> > 
> > > > > 4) I installed portupgrade from the port, and built the database using
> > > > >
> > > > >    'pkgdb -f', but whenever I run portupgrade or portversion, it
> > > > >    displays a message "Generating INDEX.tmp - please wait.." and hangs
> > > > >    there forever. How do I fix this?
> > > >
> > > > it probably isn't hanging, but actually generating a new INDEX for you.
> > > > solutions to this have been discussed ad nauseum in several of mailing
> > > > lists.
> > >
> > > It may not be hanging, but I've got the same behavior on a fresh 4.10
> > > box at home, it chugs away for awhile, then the 'make' process(es)
> > > just sit there doing absolutely nothing forever.
> > 
> > Of course, it's neither doing "absolutely nothing" nor does it take
> > "forever"
> 
> Indeed.  I watched the make procs for awhile in top, and about
> every 30 seconds or so, one make process would show 'SELECT'
> momentarily, then go back to wait, using virtually no CPU, and I
> observed that behavior for 30 minutes before I got tired of it...

Yes, 'make index' is disk-bound since it needs to read through every
makefile in the ports tree.  On an average system it takes about an
hour or so; on a system with good disks about 15 minutes.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041203/436085e0/attachment.bin


More information about the freebsd-questions mailing list