Actions
Bug #343
closedruntime updates of stats.log broken
Affected Versions:
Effort:
Difficulty:
Label:
Description
Stats.log prints only 0's for all counters until the last (shutdown) entry for pcap file handling. Interestingly, it's not consistent with all runmodes.
single:
------------------------------------------------------------------- Date: 10/13/2011 -- 11:44:19 (uptime: 0d, 00h 02m 00s) ------------------------------------------------------------------- Counter | TM Name | Value ------------------------------------------------------------------- decoder.pkts | PcapFile | 0 decoder.bytes | PcapFile | 0 decoder.ipv4 | PcapFile | 0 decoder.ipv6 | PcapFile | 0 decoder.ethernet | PcapFile | 0 decoder.raw | PcapFile | 0 decoder.sll | PcapFile | 0 decoder.tcp | PcapFile | 0 decoder.udp | PcapFile | 0 decoder.sctp | PcapFile | 0 decoder.icmpv4 | PcapFile | 0 decoder.icmpv6 | PcapFile | 0 decoder.ppp | PcapFile | 0 decoder.pppoe | PcapFile | 0 decoder.gre | PcapFile | 0 decoder.vlan | PcapFile | 0 decoder.avg_pkt_size | PcapFile | 0.000000 decoder.max_pkt_size | PcapFile | 0 defrag.ipv4.fragments | PcapFile | 0 defrag.ipv4.reassembled | PcapFile | 0 defrag.ipv4.timeouts | PcapFile | 0 defrag.ipv6.fragments | PcapFile | 0 defrag.ipv6.reassembled | PcapFile | 0 defrag.ipv6.timeouts | PcapFile | 0 tcp.sessions | PcapFile | 0 tcp.ssn_memcap_drop | PcapFile | 0 tcp.pseudo | PcapFile | 0 tcp.segment_memcap_drop | PcapFile | 0 tcp.stream_depth_reached | PcapFile | 0 detect.alert | PcapFile | 0 ------------------------------------------------------------------- Date: 10/13/2011 -- 11:44:21 (uptime: 0d, 00h 02m 02s) ------------------------------------------------------------------- Counter | TM Name | Value ------------------------------------------------------------------- decoder.pkts | PcapFile | 1354508 decoder.bytes | PcapFile | 413760573 decoder.ipv4 | PcapFile | 1351967 decoder.ipv6 | PcapFile | 0 decoder.ethernet | PcapFile | 1354508 decoder.raw | PcapFile | 0 decoder.sll | PcapFile | 0 decoder.tcp | PcapFile | 1121380 decoder.udp | PcapFile | 69661 decoder.sctp | PcapFile | 0 decoder.icmpv4 | PcapFile | 160352 decoder.icmpv6 | PcapFile | 0 decoder.ppp | PcapFile | 0 decoder.pppoe | PcapFile | 0 decoder.gre | PcapFile | 0 decoder.vlan | PcapFile | 0 decoder.avg_pkt_size | PcapFile | 305.469272 decoder.max_pkt_size | PcapFile | 1514 defrag.ipv4.fragments | PcapFile | 0 defrag.ipv4.reassembled | PcapFile | 0 defrag.ipv4.timeouts | PcapFile | 0 defrag.ipv6.fragments | PcapFile | 0 defrag.ipv6.reassembled | PcapFile | 0 defrag.ipv6.timeouts | PcapFile | 0 tcp.sessions | PcapFile | 111351 tcp.ssn_memcap_drop | PcapFile | 0 tcp.pseudo | PcapFile | 35026 tcp.segment_memcap_drop | PcapFile | 0 tcp.stream_depth_reached | PcapFile | 20 detect.alert | PcapFile | 107811
auto:
------------------------------------------------------------------- Date: 10/13/2011 -- 11:41:08 (uptime: 0d, 00h 01m 31s) ------------------------------------------------------------------- Counter | TM Name | Value ------------------------------------------------------------------- decoder.pkts | ReceivePcapFile | 0 decoder.bytes | ReceivePcapFile | 0 decoder.ipv4 | ReceivePcapFile | 0 decoder.ipv6 | ReceivePcapFile | 0 decoder.ethernet | ReceivePcapFile | 0 decoder.raw | ReceivePcapFile | 0 decoder.sll | ReceivePcapFile | 0 decoder.tcp | ReceivePcapFile | 0 decoder.udp | ReceivePcapFile | 0 decoder.sctp | ReceivePcapFile | 0 decoder.icmpv4 | ReceivePcapFile | 0 decoder.icmpv6 | ReceivePcapFile | 0 decoder.ppp | ReceivePcapFile | 0 decoder.pppoe | ReceivePcapFile | 0 decoder.gre | ReceivePcapFile | 0 decoder.vlan | ReceivePcapFile | 0 decoder.avg_pkt_size | ReceivePcapFile | 0.000000 decoder.max_pkt_size | ReceivePcapFile | 0 defrag.ipv4.fragments | ReceivePcapFile | 0 defrag.ipv4.reassembled | ReceivePcapFile | 0 defrag.ipv4.timeouts | ReceivePcapFile | 0 defrag.ipv6.fragments | ReceivePcapFile | 0 defrag.ipv6.reassembled | ReceivePcapFile | 0 defrag.ipv6.timeouts | ReceivePcapFile | 0 tcp.sessions | ReceivePcapFile | 0 tcp.ssn_memcap_drop | ReceivePcapFile | 0 tcp.pseudo | ReceivePcapFile | 0 tcp.segment_memcap_drop | ReceivePcapFile | 0 tcp.stream_depth_reached | ReceivePcapFile | 0 detect.alert | Detect | 103972 ------------------------------------------------------------------- Date: 10/13/2011 -- 11:41:09 (uptime: 0d, 00h 01m 32s) ------------------------------------------------------------------- Counter | TM Name | Value ------------------------------------------------------------------- decoder.pkts | ReceivePcapFile | 1354508 decoder.bytes | ReceivePcapFile | 413760573 decoder.ipv4 | ReceivePcapFile | 1351967 decoder.ipv6 | ReceivePcapFile | 0 decoder.ethernet | ReceivePcapFile | 1354508 decoder.raw | ReceivePcapFile | 0 decoder.sll | ReceivePcapFile | 0 decoder.tcp | ReceivePcapFile | 1121380 decoder.udp | ReceivePcapFile | 69661 decoder.sctp | ReceivePcapFile | 0 decoder.icmpv4 | ReceivePcapFile | 160352 decoder.icmpv6 | ReceivePcapFile | 0 decoder.ppp | ReceivePcapFile | 0 decoder.pppoe | ReceivePcapFile | 0 decoder.gre | ReceivePcapFile | 0 decoder.vlan | ReceivePcapFile | 0 decoder.avg_pkt_size | ReceivePcapFile | 305.469272 decoder.max_pkt_size | ReceivePcapFile | 1514 defrag.ipv4.fragments | ReceivePcapFile | 0 defrag.ipv4.reassembled | ReceivePcapFile | 0 defrag.ipv4.timeouts | ReceivePcapFile | 0 defrag.ipv6.fragments | ReceivePcapFile | 0 defrag.ipv6.reassembled | ReceivePcapFile | 0 defrag.ipv6.timeouts | ReceivePcapFile | 0 tcp.sessions | ReceivePcapFile | 111351 tcp.ssn_memcap_drop | ReceivePcapFile | 0 tcp.pseudo | ReceivePcapFile | 35033 tcp.segment_memcap_drop | ReceivePcapFile | 0 tcp.stream_depth_reached | ReceivePcapFile | 20 detect.alert | Detect | 107773
autofp:
------------------------------------------------------------------- Date: 10/13/2011 -- 11:38:06 (uptime: 0d, 00h 01m 38s) ------------------------------------------------------------------- Counter | TM Name | Value ------------------------------------------------------------------- decoder.pkts | ReceivePcapFile | 0 decoder.bytes | ReceivePcapFile | 0 decoder.ipv4 | ReceivePcapFile | 0 decoder.ipv6 | ReceivePcapFile | 0 decoder.ethernet | ReceivePcapFile | 0 decoder.raw | ReceivePcapFile | 0 decoder.sll | ReceivePcapFile | 0 decoder.tcp | ReceivePcapFile | 0 decoder.udp | ReceivePcapFile | 0 decoder.sctp | ReceivePcapFile | 0 decoder.icmpv4 | ReceivePcapFile | 0 decoder.icmpv6 | ReceivePcapFile | 0 decoder.ppp | ReceivePcapFile | 0 decoder.pppoe | ReceivePcapFile | 0 decoder.gre | ReceivePcapFile | 0 decoder.vlan | ReceivePcapFile | 0 decoder.avg_pkt_size | ReceivePcapFile | 0.000000 decoder.max_pkt_size | ReceivePcapFile | 0 defrag.ipv4.fragments | ReceivePcapFile | 0 defrag.ipv4.reassembled | ReceivePcapFile | 0 defrag.ipv4.timeouts | ReceivePcapFile | 0 defrag.ipv6.fragments | ReceivePcapFile | 0 defrag.ipv6.reassembled | ReceivePcapFile | 0 defrag.ipv6.timeouts | ReceivePcapFile | 0 tcp.sessions | Detect | 101494 tcp.ssn_memcap_drop | Detect | 0 tcp.pseudo | Detect | 33809 tcp.segment_memcap_drop | Detect | 0 tcp.stream_depth_reached | Detect | 20 detect.alert | Detect | 101667 ------------------------------------------------------------------- Date: 10/13/2011 -- 11:38:11 (uptime: 0d, 00h 01m 43s) ------------------------------------------------------------------- Counter | TM Name | Value ------------------------------------------------------------------- decoder.pkts | ReceivePcapFile | 1354508 decoder.bytes | ReceivePcapFile | 413760573 decoder.ipv4 | ReceivePcapFile | 1351967 decoder.ipv6 | ReceivePcapFile | 0 decoder.ethernet | ReceivePcapFile | 1354508 decoder.raw | ReceivePcapFile | 0 decoder.sll | ReceivePcapFile | 0 decoder.tcp | ReceivePcapFile | 1121380 decoder.udp | ReceivePcapFile | 69661 decoder.sctp | ReceivePcapFile | 0 decoder.icmpv4 | ReceivePcapFile | 160352 decoder.icmpv6 | ReceivePcapFile | 0 decoder.ppp | ReceivePcapFile | 0 decoder.pppoe | ReceivePcapFile | 0 decoder.gre | ReceivePcapFile | 0 decoder.vlan | ReceivePcapFile | 0 decoder.avg_pkt_size | ReceivePcapFile | 305.469272 decoder.max_pkt_size | ReceivePcapFile | 1514 defrag.ipv4.fragments | ReceivePcapFile | 0 defrag.ipv4.reassembled | ReceivePcapFile | 0 defrag.ipv4.timeouts | ReceivePcapFile | 0 defrag.ipv6.fragments | ReceivePcapFile | 0 defrag.ipv6.reassembled | ReceivePcapFile | 0 defrag.ipv6.timeouts | ReceivePcapFile | 0 tcp.sessions | Detect | 111338 tcp.ssn_memcap_drop | Detect | 0 tcp.pseudo | Detect | 35133 tcp.segment_memcap_drop | Detect | 0 tcp.stream_depth_reached | Detect | 20 detect.alert | Detect | 108290
Files
Updated by Anoop Saldanha almost 13 years ago
- File 0001-update-broken-stats.log.-Use-pktacqloop-funcs-in-pca.patch 0001-update-broken-stats.log.-Use-pktacqloop-funcs-in-pca.patch added
- Estimated time changed from 4.00 h to 2.00 h
fix attached.
Updated by Anoop Saldanha almost 13 years ago
- File 0002-introduce-SCPerfSyncCounters-SCPerfSyncCounters-macr.patch 0002-introduce-SCPerfSyncCounters-SCPerfSyncCounters-macr.patch added
- Estimated time changed from 2.00 h to 3.00 h
introduce macros to handle sync with global counters
Updated by Victor Julien almost 13 years ago
- Status changed from Assigned to Closed
Applied and pushed to the git master. Thanks Anoop.
Actions