[Popcon-developers] nofiles
Bill Allombert
Bill.Allombert at math.u-bordeaux1.fr
Fri Jun 15 16:52:23 UTC 2007
On Wed, Jun 13, 2007 at 03:13:39PM +0200, Bill Allombert wrote:
> On Tue, Jun 12, 2007 at 06:10:06PM +0100, Kai Hendry wrote:
> > I've noticed that wordpress, webpy & flup comes up as nofiles. Which
> > isn't cool for Enrico's ept-cache.
>
> PHP files are not atking into account by popcon. Could you check whether the atime of php files bears a relation to there actual usage ? (i.e. the atime
> is not reset by a system process (via a cronjob or a dpkg trigger) ?
If no such issues are found I suggest we apply the following patch.
Cheers,
--
Bill. <ballombe at debian.org>
Imagine a large red swirl here.
Index: popularity-contest
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/popularity-contest,v
retrieving revision 1.17
diff -u -r1.17 popularity-contest
--- popularity-contest 8 Oct 2006 20:17:59 -0000 1.17
+++ popularity-contest 15 Jun 2007 16:49:48 -0000
@@ -83,7 +83,7 @@
while (<FILES>)
{
chop;
- m{/bin/|/sbin/|^/usr/games/|\.[ah]$|\.pm|^/boot/System\.map-} or next;
+ m{/bin/|/sbin/|^/usr/games/|\.[ah]$|\.pm|\.php|^/boot/System\.map-} or next;
-f $_ or next;
my($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
$atime,$mtime,$ctime,$blksize,$blocks)
More information about the Popcon-developers
mailing list