On Fri, Aug 23, 2013 at 7:14 AM, Luca Deri <[email protected]> wrote: > Steve > this is the JSON library. > > I see you are using 32 bit. Let me see if I can reproduce it too. On 64 > bit it works for me >
I am using 6695 rpm package on CentOS 6.4 64 bit in a private subnet, RRD diagram now works compare to previous CentOS rpm. Thanks for the fix. > > Luca > > On Aug 23, 2013, at 2:12 PM, Steve Clark <[email protected]> wrote: > > Hi Luca, > > Since going to 6695 ntopng won't stay up for more than a couple of minutes > without crashing. I have had > 3 crashes in the last 10 minutes. > > (gdb) r -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 > 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] > 23/Aug/2013 08:04:41 [Redis.cpp:54] Succesfully connected to Redis 32 bit > v.2.6.14 > 23/Aug/2013 08:04:41 [Ntop.cpp:419] Setting local networks to > 172.16.0.0/12,10.0.0.0/8,192.168.0.0/16 > 23/Aug/2013 08:04:41 [Ntop.cpp:419] Setting local networks to > 192.168.0.0/16,172.16.0.0/12,10.0.0.0/8,0.0.0.0/32,224.0.0.0/8,239.0.0.0/8,255.255.255.255/32 > 23/Aug/2013 08:04:41 [Prefs.cpp:513] WARNING: Config file > /var/tmp/ntopng-users.conf not found (it will be created) > 23/Aug/2013 08:04:41 [PF_RINGInterface.cpp:42] Reading packets from > PF_RING v.5.6.1 interface eth3... > 23/Aug/2013 08:04:41 [Ntop.cpp:468] Registered interface eth3 [id: 0] > [New Thread 0xb5fe6b70 (LWP 3615)] > [New Thread 0xb55e5b70 (LWP 3616)] > [New Thread 0xb47ffb70 (LWP 3617)] > [New Thread 0xb3dfeb70 (LWP 3618)] > [New Thread 0xb33fdb70 (LWP 3619)] > [New Thread 0xb25ffb70 (LWP 3620)] > 23/Aug/2013 08:04:41 [HTTPserver.cpp:308] HTTP server listening on port > 3000 [/var/lib/pgsql/ntopng/httpdocs][/var/lib/pgsql/ntopng/scripts] > 23/Aug/2013 08:04:41 [main.cpp:188] Using RRD version 1.4.7 > 23/Aug/2013 08:04:41 [main.cpp:197] Working directory: /var/tmp > 23/Aug/2013 08:04:41 [main.cpp:199] Scripts/HTML pages directory: > /var/lib/pgsql/ntopng > 23/Aug/2013 08:04:41 [Ntop.cpp:146] Welcome to ntopng i686 v.1.0.1 > ($Revision: 6695 $) - (C) 1998-13 ntop.org > 23/Aug/2013 08:04:41 [PeriodicActivities.cpp:51] Started periodic > activities loop... > [New Thread 0xb1bfeb70 (LWP 3621)] > [New Thread 0xb11fdb70 (LWP 3622)] > [New Thread 0xb05ffb70 (LWP 3623)] > [New Thread 0xafbfeb70 (LWP 3624)] > [New Thread 0xaf1fdb70 (LWP 3625)] > [New Thread 0xae7fcb70 (LWP 3626)] > 23/Aug/2013 08:04:41 [NetworkInterface.cpp:505] Started packet polling on > interface eth3... > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0xb11fdb70 (LWP 3622)] > 0x08141849 in lh_table_insert (t=0xb2715a50, k=0xb27156f0, v=0xb27156c8) > at linkhash.c:135 > 135 if(t->table[n].k == LH_EMPTY || t->table[n].k == > LH_FREED) break; > Missing separate debuginfos, use: debuginfo-install > GeoIP-1.4.8-1.1.el6.art.i686 glibc-2.12-1.47.el6_2.12.i686 > libgcc-4.4.7-3.el6.i686 libpcap-1.0.0-6.20091201git117cb5.el6.i686 > libstdc++-4.4.7-3.el6.i686 libxml2-2.7.6-12.el6_4.1.i686 > zlib-1.2.3-27.el6.i686 > (gdb) bt > #0 0x08141849 in lh_table_insert (t=0xb2715a50, k=0xb27156f0, > v=0xb27156c8) at linkhash.c:135 > #1 0x0813fc09 in json_tokener_parse_ex (tok=0xb2714f18, str=0xb2715dc4 ", > \"rcvd\": 0 } } }", len=-1) > at json_tokener.c:741 > #2 0x08140d10 in json_tokener_parse_verbose ( > str=0xb2715ae8 "{ \"Unknown\": { \"bytes\": { \"sent\": 279454, > \"rcvd\": 132 }, \"packets\": { \"sent\": 279454, \"rcvd\": 132 } }, > \"DNS\": { \"bytes\": { \"sent\": 967, \"rcvd\": 0 }, \"packets\": { > \"sent\": 967, \"rcvd\": 0 } }, \"HTTP\": { "..., error=0xb11fce8c) at > json_tokener.c:161 > #3 0x08140d68 in json_tokener_parse ( > str=0xb2715ae8 "{ \"Unknown\": { \"bytes\": { \"sent\": 279454, > \"rcvd\": 132 }, \"packets\": { \"sent\": 279454, \"rcvd\": 132 } }, > \"DNS\": { \"bytes\": { \"sent\": 967, \"rcvd\": 0 }, \"packets\": { > \"sent\": 967, \"rcvd\": 0 } }, \"HTTP\": { "...) at json_tokener.c:149 > #4 0x0806f826 in NdpiStats::getJSONObject (this=0xad9c4c20, > iface=0x8174948) at NdpiStats.cpp:212 > #5 0x0805c120 in Host::serialize (this=0xad9c4a58) at Host.cpp:451 > #6 0x0805b3b2 in Host::lua (this=0xad9c4a58, vm=0xb4bc51c0, > host_details=true, verbose=true, returnHost=true) > at Host.cpp:246 > #7 0x08071614 in NetworkInterface::getHostInfo (this=0x8174948, > vm=0xb4bc51c0, host_ip=0xabc65cd0 "10.254.67.67", > vlan_id=0) at NetworkInterface.cpp:681 > #8 0x0806ad7d in ntop_get_interface_host_info (vm=0xb4bc51c0) at > Lua.cpp:459 > #9 0x080cf22f in lj_BC_FUNCC () > #10 0x080bdb6d in lua_pcall () > #11 0xb4bc51c0 in ?? () > #12 0x08075e2e in PeriodicActivities::runScript (this=0x8172560, > path=0xb11fd24c "/var/lib/pgsql/ntopng/scripts/callbacks/minute.lua") > at PeriodicActivities.cpp:69 > #13 0x08075f99 in PeriodicActivities::minuteActivitiesLoop > (this=0x8172560) at PeriodicActivities.cpp:98 > #14 0x08075cb2 in minuteStartLoop (ptr=0x8172560) at > PeriodicActivities.cpp:44 > #15 0x007cda09 in start_thread () from /lib/libpthread.so.0 > #16 0x006df43e in clone () from /lib/libc.so.6 > (gdb) > -- > 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 > > > > _______________________________________________ > Ntop-dev mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-dev > > -- T.J. Yang
_______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
