Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 1997 22:03:05 -0400 (EDT)
From:      Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
To:        ponds!freefall.cdrom.com!freebsd-hackers, ponds!lakes.water.net!rivers
Subject:   Why news expiration is sooo slowww with 2.2.x.
Message-ID:  <199707070203.WAA00427@lakes.water.net>

next in thread | raw e-mail | index | archive | help

If you recall, I mentioned that my news expiration took
a serious turn for the worse when I installed 2.2.1.  That is,
expirations went from a few hours to 2-3 days (sometimes even
longer now...)

I believe I've tripped over the issue.  It would appear that
readdir et. al. is taking a *long* time.  If I go to a directory
which has a lot of files and simply do an 'ls', it can
take on the order of 20-30 minutes...  I wouldn't expect the sort
to be the culprit here...  and, since I'm not asking for any
file information, I think we can eliminate stat() as a potential
culprit.

I thought I would try to investigate what the problem was, but, 
before that; I'd send out the standard "has anyone seen/done anything
in this area already?"   Has anyone else noticed an issue with
readdir()?

	- Thanks -
	- Dave Rivers -




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707070203.WAA00427>