I believe it to be a 2GHz (though I'm not sure) dual core Pentium so I doubt the CPU is the problem.
Running the script by hand give a few errors and takes about 4 minutes: [EMAIL PROTECTED]:/usr/local/bin # ./rrdfix.sh ERROR: opening '/var/ntop/rrd/flows/Host': No such file or directory ERROR: opening '/var/ntop/rrd/flows/Host': No such file or directory Those errors appear almost immediately then the rest of the time nothing is displayed. Running "rm /home/httpd/html/graphs/*.png &>/dev/null" finishes instantly. compdoc wrote: > > 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 > > -- View this message in context: http://www.nabble.com/rrdfix.sh-VERY-high-CPU-and-memory-usage-EFW-2.2RC3-tp20813429p20816017.html Sent from the efw-user mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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