Hi,

I'm using ntop (version 2.2) with rrdtool (version 1.0.45) and I have the following problem: when I set the dump interval at 1 second from the rrdplugin web interface, after few minutes I get a segmentation fault (see log attatched). Using older version of ntop (version 2.1.55), I had not this problem.
Do you have any suggestion?


Thank you,
Giacomo
[EMAIL PROTECTED]:/home/misure/ntop-2.2/ntop# ntop -P /home/misure/ntop_monitoraggio/ 
-u misure
Wait please: ntop is coming up...
24/Jul/2003 15:26:06 ntop v.2.2 MT (SSL) [i686-pc-linux-gnu] (07/24/03 03:22:33 PM 
build)
24/Jul/2003 15:26:06 Copyright 1998-2003 by Luca Deri <[EMAIL PROTECTED]>
24/Jul/2003 15:26:06 Get the freshest ntop from http://www.ntop.org/
24/Jul/2003 15:26:06 Initializing ntop
SSL is present but https is disabled: use -W <https port> for enabling it
24/Jul/2003 15:26:06 Initializing gdbm databases
24/Jul/2003 15:26:06 Listening on [eth0]
24/Jul/2003 15:26:06 Loading Plugins
24/Jul/2003 15:26:06 Searching for plugins in ./plugins
24/Jul/2003 15:26:06 ICMP: Welcome to icmpWatchPlugin. (C) 1999 by Luca Deri
24/Jul/2003 15:26:06 LASTSEEN: Welcome to LastSeenWatchPlugin. (C) 1999 by Andrea 
Marangoni
24/Jul/2003 15:26:06 NETFLOW: Welcome to NetFlow.(C) 2002 by Luca Deri
24/Jul/2003 15:26:06 NFS: Welcome to nfsWatchPlugin. (C) 1999 by Luca Deri
24/Jul/2003 15:26:06 PDA: Welcome to PDAPlugin. (C) 2001-2002 by L.Deri and W.Brock
24/Jul/2003 15:26:06 SFLOW: Welcome to sFlowPlugin. (C) 2002 by Luca Deri
24/Jul/2003 15:26:06 RRD: Welcome to rrdPlugin. (C) 2002 by Luca Deri.
24/Jul/2003 15:26:06 Plugins loaded... continuing with initialization
24/Jul/2003 15:26:06 Resetting traffic statistics...
24/Jul/2003 15:26:06 VENDOR: Loading MAC address table.
24/Jul/2003 15:26:06 VENDOR: Checking './specialMAC.txt'
24/Jul/2003 15:26:06 VENDOR: ...found, 61 lines, loaded 59 records!
24/Jul/2003 15:26:06 VENDOR: Checking './oui.txt'
24/Jul/2003 15:26:06 VENDOR: ...found, 70 lines, loaded 62 records!
24/Jul/2003 15:26:06 I18N: This instance of ntop does not support multiple languages
24/Jul/2003 15:26:06 IP2CC: Looking for IP address <-> Country code mapping file
24/Jul/2003 15:26:07 IP2CC: 94910 records read
24/Jul/2003 15:26:07 THREADMGMT: Packet processor thread (0) started...
24/Jul/2003 15:26:07 THREADMGMT: Started thread (1026) for network packet analyser
24/Jul/2003 15:26:07 THREADMGMT: Idle Scan thread (0) started
24/Jul/2003 15:26:07 THREADMGMT: Started thread (2051) for idle hosts detection
24/Jul/2003 15:26:07 THREADMGMT: Started thread (3076) for DNS address resolution
24/Jul/2003 15:26:07 Calling plugin start functions (if any)
24/Jul/2003 15:26:07 RRD: Welcome to the RRD plugin
24/Jul/2003 15:26:07 RRD: Created base directory (/home/misure/ntop_monitoraggio//rrd)
24/Jul/2003 15:26:07 RRD: Created directory 
(/home/misure/ntop_monitoraggio//rrd/graphics)
24/Jul/2003 15:26:07 RRD: Created directory (/home/misure/ntop_monitoraggio//rrd/flows)
24/Jul/2003 15:26:07 RRD: Created directory 
(/home/misure/ntop_monitoraggio//rrd/interfaces)
24/Jul/2003 15:26:07 THREADMGMT: Address resolution thread started...
24/Jul/2003 15:26:07 THREADMGMT: rrd thread (0) started
24/Jul/2003 15:26:07 RRD: Started thread (4101) for data collection.
24/Jul/2003 15:26:07 WEB: Initializing
24/Jul/2003 15:26:07 Note: Reporting device set to 0[eth0]
24/Jul/2003 15:26:07 WEB: Waiting for HTTP connections on port 3000
24/Jul/2003 15:26:07 THREADMGMT: web connections thread (0) started...
24/Jul/2003 15:26:07 THREADMGMT: Started thread (5126) for web server
24/Jul/2003 15:26:07 Sniffying...
24/Jul/2003 15:26:07 THREADMGMT: Started thread (6151) for network packet sniffing on 
eth0
24/Jul/2003 15:26:07 THREADMGMT: pcap dispatch thread started...
24/Jul/2003 15:26:21 RRD: rrdtool create --start now-1 file --step 1 
DS:counter:COUNTER:1:0:12500000 RRA:AVERAGE:0.5:1:259200 RRA:MIN:0.5:1:72 
RRA:MAX:0.5:1:72 RRA:AVERAGE:0.5:3600:2160 RRA:AVERAGE:0.5:86400:1080
24/Jul/2003 15:26:31 NOTE: -L | --use-syslog=facility not specified, child processes 
will log to the default (24).
24/Jul/2003 15:27:07 IDLE_PURGE: purgeIdleHosts firstRun (mutex every 64 times through 
the loop)
24/Jul/2003 15:28:34 **WARNING** RRD: 
rrd_update(/home/misure/ntop_monitoraggio//rrd/interfaces/eth0/ethernetPkts.rrd) 
error: illegal attempt to update using time 1059053314 when last update time is 
1059053314 (minimum one second step)
Segmentation fault
[EMAIL PROTECTED]:/home/misure/ntop-2.2/ntop#

Reply via email to