Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 1997 17:54:30 +0100 (MET)
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        www@freebsd.org
Cc:        wosch@freebsd.org
Subject:   www statistic processes on freefall
Message-ID:  <199703171654.RAA09075@caramba.cs.tu-berlin.de>

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

The statistic processes on freefall need 2x7 min real time
and should run with a lower priority like the cvsupd processes.

Index: Makefile
===================================================================
RCS file: /home/ncvs/www/data/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	1997/02/20 20:21:16	1.12
+++ Makefile	1997/03/17 16:13:53
@@ -18,11 +18,13 @@
 LOCAL=	stats.html stats-img.html
 
 stats.html: /home/www/server/logs/access_log
+	renice +10 $$$$; \
 	(cd /usr/local/www/server/logs;zcat access_log.*.gz;cat access_log) | \
 	egrep -iv '\.(gif|jpg|jpeg|au) ' | \
 	/usr/local/www/bin/analog +i0 +R500 -o > ${.TARGET}
 
 stats-img.html: /home/www/server/logs/access_log
+	renice +10 $$$$; \
 	(cd /usr/local/www/server/logs;zcat access_log.*.gz;cat access_log) | \
 	/usr/local/www/bin/analog +i0 +R500 -o > ${.TARGET}
 

--
Wolfram Schneider    <wosch@apfel.de>    http://www.apfel.de/~wosch/



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