I've had efw 2.2r3 running for 2 months for a customer that
has about 30 users. The cpu use in those two months averages
about 3.4%

The script for rrdfix.sh is pretty simple, and seems to
mainly being trying to delete files associated with system
graphs:

#!/bin/sh

DIRS="/var/log/rrd/ /var/ntop/"

rm /home/httpd/html/graphs/*.png &>/dev/null

find $DIRS -name "*.rrd" | \
    while read F; do
    NOW=$(date "+%s")
    LAST=$(rrdtool last $F)
    if [ "$LAST" -gt "$NOW" ]; then
        echo "rrd file $F contains timestamps in future.
Remove the file!"
        rm -f $F
    fi
done


You could try running the first command by hand to see what
happens:  

rm /home/httpd/html/graphs/*.png &>/dev/null

This will delete all your system graph data, so for a few
moments it won't display any graphs...

You can also try running the whole script by hand:

cd /usr/local/bin
./rrdfix.sh

This takes a second to run for me, and doesn't return any
errors. Google returns some hits mentioning slow CPUs and
that command. What speed CPU are you using?










-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Efw-user mailing list
Efw-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/efw-user

Reply via email to