Steph | 1 Dec 2008 11:14
Favicon

2.2RC3 Remote logging not working ?

Hi,

I'm using EFW 2.2 RC3 Remote logging with Kiwi syslog installed on my 
workstation.
Work nice in previous versions of EFW
Do you have same problem ? no log from EFW !

Regards
Stephane

Bonjour,
J'utilise actuellement EFW 2.2 RC3 avec Kiwi syslog installé sur mon poste 
de travail.
Cela fonctionnait parfaitement sur les versions précédentes de EFW
avez vous le meme probleme ? aucun log n'est envoyé depuis EFW ! 

-------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/efw-user
Steph | 2 Dec 2008 12:30
Favicon

Re: 2.2RC3 Remote logging not working ?

Follow : http://bugs.endian.it/view.php?id=1489

-------------------------------------------------------------------------
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=/
Sam Osborne | 3 Dec 2008 00:38
Picon

Daily Summary Proxy Report

Hi Everyone,

Anyone know of a way or plugin that will enable me to see a daily  
summary of the amount of downloads a specific user has used in a day?

We usually download 2G/day and last Thursday we downloaded 9G.  I'm  
just trying to isolate who it was.

It would also be good to also see the top hit websites for the day too.

TIA

Sam.

-------------------------------------------------------------------------
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=/
danodemano | 3 Dec 2008 14:59
Picon

rrdfix.sh VERY high CPU and memory usage EFW 2.2RC3


Just in the past probably two weeks, the memory, CPU usage, and disk activity
on my server have sky rocketed.  My average memory usage has gone from
around 500MB to nearly 1.5GB!  The CPU usage has gone from one or two
percent to nearly 20%.  The disk activity has gone from nil to 2800 on the
writing.  Running "top" through SSH shows that rrdfix.sh seems to be the
cause.  It takes around 5 minutes to run, saturating the memory, CPU, and
hard drive in the process.  Not long after it finishes, it starts again. 
The system has been up for a mere 30 minutes and memory usage has already
broken 1.3GB.

I attempted to restore a backup from before this started happening with no
luck, it continues to happen.  I shut down EVERYTHING on my internet network
to ensure that nothing else was causing it but the problem continues. 
Anyone have any thoughts as to the cause of this?  I was going to post it in
Mantis as a bug but I wanted to confirm a cause first.  Thanks for your
help!
--

-- 
View this message in context: http://www.nabble.com/rrdfix.sh-VERY-high-CPU-and-memory-usage-EFW-2.2RC3-tp20813429p20813429.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=/
compdoc | 3 Dec 2008 16:11
Favicon

Re: rrdfix.sh VERY high CPU and memory usage EFW 2.2RC3

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

(Continue reading)

danodemano | 3 Dec 2008 17:13
Picon

Re: rrdfix.sh VERY high CPU and memory usage EFW 2.2RC3


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:
root <at> gateway:/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
> 
(Continue reading)

compdoc | 3 Dec 2008 17:25
Favicon

Re: rrdfix.sh VERY high CPU and memory usage EFW 2.2RC3

That should be a fine cpu for ewf.

I have no files in /var/ntop/rrd/flows/

Open rrdfix.sh with an editor. Is it the same as mine?

Try these commands:

cd /var/ntop/rrd
ls -al

total 20
drwxr-xr-x  5 ntop ntop 4096 Oct 14 08:01 .
drwxr-xr-x  4 ntop ntop 4096 Nov 27 16:51 ..
drwx------  2 ntop ntop 4096 Oct 14 08:01 flows
drwx------  2 ntop ntop 4096 Nov 16 20:12 graphics
drwx------  3 ntop ntop 4096 Oct 14 08:02 interfaces

is ntop the user/owner for these directories? Do they have
the same permissions?

-----Original Message-----
From: danodemano [mailto:danodemano@...] 
Sent: Wednesday, December 03, 2008 9:14 AM
To: efw-user@...
Subject: Re: [Efw-user] rrdfix.sh VERY high CPU and memory
usage EFW 2.2RC3

I believe it to be a 2GHz (though I'm not sure) dual core
Pentium so I doubt
(Continue reading)

danodemano | 3 Dec 2008 17:33
Picon

Re: rrdfix.sh VERY high CPU and memory usage EFW 2.2RC3


This is the contents so it appears to be:
#!/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

ntop does appear to be the owner also:
root <at> gateway:/var/ntop/rrd # ls -al
total 20
drwxr-xr-x  5 ntop ntop 4096 Nov 15 14:10 .
drwxr-xr-x  4 ntop ntop 4096 Dec  3 10:18 ..
drwx------  8 ntop ntop 4096 Nov 25 23:15 flows
drwx------  2 ntop ntop 4096 Dec  3 09:31 graphics
drwx------  5 ntop ntop 4096 Nov 16 18:50 interfaces

compdoc wrote:
> 
> That should be a fine cpu for ewf.
(Continue reading)

compdoc | 3 Dec 2008 17:37
Favicon

Re: rrdfix.sh VERY high CPU and memory usage EFW 2.2RC3

Are there files in files in /var/ntop/rrd/flows/  ?

-------------------------------------------------------------------------
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=/
danodemano | 3 Dec 2008 17:40
Picon

Re: rrdfix.sh VERY high CPU and memory usage EFW 2.2RC3


This is all that is in there:
root <at> gateway:/var/ntop/rrd/flows # ls
Host Last Seen  ICMP Watch  NetFlow  PDA  Remote  Round-Robin Databases

compdoc wrote:
> 
> Are there files in files in /var/ntop/rrd/flows/  ?
> 
> 
> 
> -------------------------------------------------------------------------
> 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@...
> 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-tp20813429p20816576.html
Sent from the efw-user mailing list archive at Nabble.com.

(Continue reading)


Gmane