I found when I increased the rrd level to "full" for hosts, domains, and
interfaces it would fault very often - sometimes it would only run for a
few seconds.  The gdb spewed various messages about files missing, etc.
I've since changed it to Full for Interfaces only and it's much better.

I've also found that if a browser is left open for long periods on any
number of report pages, this will eventually cause a fault as well.  I
had nTop running perfect for about a month then it started dying several
times a day.  I found one of my team had added nTop reports to his ..
"monitoring console" - which is a browser window open to a BUNCH of
various monitoring things: MRTG, nTop, etc.  I had him remove it and all
is well again.  Log files showed "EPIPE" errors when sending to web
client....

G


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Thomas Harold
Sent: Friday, May 09, 2008 6:20 AM
To: [email protected]
Subject: Re: [Ntop] Segfault on Fedora 8

I've also been seeing random crashes for the past month on CentOS 5.1 
with v3.3 (ntop.x86_64 3.3-1.el5.rf).  These started after we changed 
the default settings for RRD and ntop itself.  Most of the crashes leave

no information in /var/log/messages, only a segfault message from the 
kernel.

Higher levels of network activity seem to make it crash more often (it 
averages one crash every 6-12 hours.  Sometimes the gap is as short as 
45 minutes, other times it runs for over a day.

...

For the moment, we've resorted to running a script every 3 minutes via 
cron to restart ntop when it falls over.  It doesn't do anything to help

maintain our Global Traffic Statistics page totals, but it at least 
keeps the Network Load graphs from having too many gaps.

#!/bin/bash
# Watches the ntop process
if [ ! `/usr/bin/pgrep -u ntop ntop` ]; then
         echo "ntop is not running, restarting it"
         /etc/init.d/ntop start;
else
         echo "ntop is running"
fi

And we setup Nagios to keep an eye on things for times when the watch 
script doesn't do its job.
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop





<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'>
</div>
"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."
</font>

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to