Hi Luca,

I ran all night without a crash - but did not have a web browser running the
gui.

If I start a browser and select ip 172.25.8.35 from the hosts list menu
and just let it set on that unit at the host overview,
 it _usually_ crashes withing a few minutes.

Starting program: /var/lib/pgsql/ntopng/ntopng -l -s -i eth3 -d/var/tmp -w 3000 
-n 0 -m 172.16.0.0/12,10.0.0.0/8,192.168.0.0/16
[Thread debugging using libthread_db enabled]
30/Aug/2013 10:14:15 [Redis.cpp:54] Succesfully connected to Redis 32 bit 
v.2.6.14
30/Aug/2013 10:14:15 [Ntop.cpp:422] Setting local networks to 
172.16.0.0/12,10.0.0.0/8,192.168.0.0/16
30/Aug/2013 10:14:15 [Prefs.cpp:527] WARNING: Config file 
/var/tmp/ntopng-users.conf not found (it will be created)
30/Aug/2013 10:14:15 [PF_RINGInterface.cpp:42] Reading packets from PF_RING 
v.5.6.2 interface eth3...
30/Aug/2013 10:14:15 [Ntop.cpp:471] Registered interface eth3 [id: 0]
30/Aug/2013 10:14:15 [main.cpp:161] PID stored in file /var/tmp/ntopng.pid
[New Thread 0xb5fe6b70 (LWP 18261)]
[New Thread 0xb55e5b70 (LWP 18262)]
[New Thread 0xb49ffb70 (LWP 18263)]
[New Thread 0xb3dffb70 (LWP 18264)]
[New Thread 0xb31feb70 (LWP 18265)]
[New Thread 0xb25ffb70 (LWP 18266)]
30/Aug/2013 10:14:15 [HTTPserver.cpp:308] HTTP server listening on port 3000 
[/var/lib/pgsql/ntopng/httpdocs][/var/lib/pgsql/ntopng/scripts]
30/Aug/2013 10:14:15 [main.cpp:193] Using RRD version 1.4.7
30/Aug/2013 10:14:15 [main.cpp:202] Working directory: /var/tmp
30/Aug/2013 10:14:15 [main.cpp:204] Scripts/HTML pages directory: 
/var/lib/pgsql/ntopng
30/Aug/2013 10:14:15 [Ntop.cpp:149] Welcome to ntopng i686 v.1.0.1 (r6733) - 
(C) 1998-13 ntop.org
30/Aug/2013 10:14:15 [PeriodicActivities.cpp:53] Started periodic activities 
loop...
[New Thread 0xb17ffb70 (LWP 18267)]
[New Thread 0xb0dfeb70 (LWP 18268)]
[New Thread 0xb03fdb70 (LWP 18269)]
[New Thread 0xaf9fcb70 (LWP 18270)]
[New Thread 0xaeffbb70 (LWP 18271)]
[New Thread 0xae5fab70 (LWP 18272)]
30/Aug/2013 10:14:15 [NetworkInterface.cpp:507] Started packet polling on 
interface eth3...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb25ffb70 (LWP 18266)]
0x776f6e6b in ?? ()
(gdb) bt
#0  0x776f6e6b in ?? ()
#1  0x081403b0 in json_object_object_to_json_string (jso=0xb180f900, 
pb=0xb1817118, level=0, flags=1) at json_object.c:333
#2  0x08140a8e in json_object_to_json_string_ext (jso=0xb180f900, flags=1) at 
json_object.c:278
#3  0x08140ad9 in json_object_to_json_string (jso=0xb180f900) at 
json_object.c:288
#4  0x0805ca03 in Host::serialize (this=0x88f29f8) at Host.cpp:491
#5  0x0805b912 in Host::lua (this=0x88f29f8, vm=0xb339f1c0, host_details=true, 
verbose=true, returnHost=true)
    at Host.cpp:255
#6  0x080722e4 in NetworkInterface::getHostInfo (this=0x81767b8, vm=0xb339f1c0, 
host_ip=0xb33a75d0 "172.25.8.35",
    vlan_id=0) at NetworkInterface.cpp:713
#7  0x0806b695 in ntop_get_interface_host_info (vm=0xb339f1c0) at Lua.cpp:459
#8  0x080d0c5f in lj_BC_FUNCC ()
#9  0x080bf59d in lua_pcall ()
#10 0xb339f1c0 in ?? ()
#11 0x08069832 in handle_lua_request (conn=0xb1800468) at HTTPserver.cpp:254
#12 0x080660ff in handle_request (conn=0xb1800468) at 
./third-party/mongoose/mongoose.c:4277
#13 0x08067fb1 in process_new_connection (conn=0xb1800468) at 
./third-party/mongoose/mongoose.c:4890
#14 0x08068482 in worker_thread (thread_func_param=0x875d178) at 
./third-party/mongoose/mongoose.c:4984
#15 0x007cda09 in start_thread (arg=0xb25ffb70) at pthread_create.c:301
#16 0x006df43e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133
(gdb)

*Also I am occasionally getting:*

[New Thread 0xae5fcb70 (LWP 21309)]
30/Aug/2013 10:24:59 [NetworkInterface.cpp:507] Started packet polling on 
interface eth3...
lh_table_new: calloc failed
[Thread 0xaeffdb70 (LWP 21308) exited]
[Thread 0xaf9feb70 (LWP 21307) exited]
[Thread 0xb03ffb70 (LWP 21306) exited]
[Thread 0xb0ffdb70 (LWP 21305) exited]
[Thread 0xb19feb70 (LWP 21304) exited]
[Thread 0xb23ffb70 (LWP 21303) exited]
[Thread 0xb31ffb70 (LWP 21302) exited]
[Thread 0xb3dffb70 (LWP 21301) exited]
[Thread 0xb49feb70 (LWP 21300) exited]
[Thread 0xb53ffb70 (LWP 21299) exited]
[Thread 0xb5fe6b70 (LWP 21298) exited]
[Thread 0xae5fcb70 (LWP 21309) exited]

Program exited with code 01.



--
Stephen Clark
*NetWolves*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: [email protected]
http://www.netwolves.com
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to