Network memory allocation failures
Mahlon E. Smith
mahlon at martini.nu
Wed Sep 8 14:50:34 UTC 2010
On Tue, Sep 07, 2010, Pyun YongHyeon wrote:
>
> [...]
>
> You may see more detailed MAC statistics if controller saw some kind
> of memory related failure from the output of "sysctl dev.bce.0".
Snagged that output immediately after an allocation error. I don't see
anything "bad" here, but sending to the list for more eyes.
obb# scp holp:/usr/local/tmp/testfile .
testfile 11% 1157MB 28.5MB/s 05:18 ETA
Write failed: Cannot allocate memory
lost connection
obb# sysctl dev.bce.0 | less
dev.bce.0.%desc: Broadcom NetXtreme II BCM5709 1000Base-T (C0)
dev.bce.0.%driver: bce
dev.bce.0.%location: slot=0 function=0
dev.bce.0.%pnpinfo: vendor=0x14e4 device=0x1639 subvendor=0x1028 subdevice=0x02d4 class=0x020000
dev.bce.0.%parent: pci1
dev.bce.0.l2fhdr_error_count: 0
dev.bce.0.mbuf_alloc_failed_count: 0
dev.bce.0.fragmented_mbuf_count: 0
dev.bce.0.dma_map_addr_rx_failed_count: 0
dev.bce.0.dma_map_addr_tx_failed_count: 0
dev.bce.0.unexpected_attention_count: 0
dev.bce.0.stat_IfHcInOctets: 9574840018
dev.bce.0.stat_IfHCInBadOctets: 33793
dev.bce.0.stat_IfHCOutOctets: 5227554926
dev.bce.0.stat_IfHCOutBadOctets: 0
dev.bce.0.stat_IfHCInUcastPkts: 13315747
dev.bce.0.stat_IfHCInMulticastPkts: 1677373
dev.bce.0.stat_IfHCInBroadcastPkts: 3170095
dev.bce.0.stat_IfHCOutUcastPkts: 14516907
dev.bce.0.stat_IfHCOutMulticastPkts: 3799
dev.bce.0.stat_IfHCOutBroadcastPkts: 2864
dev.bce.0.stat_emac_tx_stat_dot3statsinternalmactransmiterrors: 0
dev.bce.0.stat_Dot3StatsCarrierSenseErrors: 0
dev.bce.0.stat_Dot3StatsFCSErrors: 0
dev.bce.0.stat_Dot3StatsAlignmentErrors: 0
dev.bce.0.stat_Dot3StatsSingleCollisionFrames: 0
dev.bce.0.stat_Dot3StatsMultipleCollisionFrames: 0
dev.bce.0.stat_Dot3StatsDeferredTransmissions: 0
dev.bce.0.stat_Dot3StatsExcessiveCollisions: 0
dev.bce.0.stat_Dot3StatsLateCollisions: 0
dev.bce.0.stat_EtherStatsCollisions: 0
dev.bce.0.stat_EtherStatsFragments: 0
dev.bce.0.stat_EtherStatsJabbers: 0
dev.bce.0.stat_EtherStatsUndersizePkts: 0
dev.bce.0.stat_EtherStatsOversizePkts: 0
dev.bce.0.stat_EtherStatsPktsRx64Octets: 1837825
dev.bce.0.stat_EtherStatsPktsRx65Octetsto127Octets: 3654565
dev.bce.0.stat_EtherStatsPktsRx128Octetsto255Octets: 4448594
dev.bce.0.stat_EtherStatsPktsRx256Octetsto511Octets: 3353660
dev.bce.0.stat_EtherStatsPktsRx512Octetsto1023Octets: 516080
dev.bce.0.stat_EtherStatsPktsRx1024Octetsto1522Octets: 4352491
dev.bce.0.stat_EtherStatsPktsRx1523Octetsto9022Octets: 0
dev.bce.0.stat_EtherStatsPktsTx64Octets: 74155
dev.bce.0.stat_EtherStatsPktsTx65Octetsto127Octets: 5516618
dev.bce.0.stat_EtherStatsPktsTx128Octetsto255Octets: 1709976
dev.bce.0.stat_EtherStatsPktsTx256Octetsto511Octets: 5174458
dev.bce.0.stat_EtherStatsPktsTx512Octetsto1023Octets: 202881
dev.bce.0.stat_EtherStatsPktsTx1024Octetsto1522Octets: 1845482
dev.bce.0.stat_EtherStatsPktsTx1523Octetsto9022Octets: 0
dev.bce.0.stat_XonPauseFramesReceived: 0
dev.bce.0.stat_XoffPauseFramesReceived: 0
dev.bce.0.stat_OutXonSent: 0
dev.bce.0.stat_OutXoffSent: 0
dev.bce.0.stat_FlowControlDone: 0
dev.bce.0.stat_MacControlFramesReceived: 0
dev.bce.0.stat_XoffStateEntered: 0
dev.bce.0.stat_IfInFramesL2FilterDiscards: 238
dev.bce.0.stat_IfInRuleCheckerDiscards: 0
dev.bce.0.stat_IfInFTQDiscards: 0
dev.bce.0.stat_IfInMBUFDiscards: 0
dev.bce.0.stat_IfInRuleCheckerP4Hit: 4843765
dev.bce.0.stat_CatchupInRuleCheckerDiscards: 0
dev.bce.0.stat_CatchupInFTQDiscards: 0
dev.bce.0.stat_CatchupInMBUFDiscards: 0
dev.bce.0.stat_CatchupInRuleCheckerP4Hit: 0
dev.bce.0.com_no_buffers: 0
--
Mahlon E. Smith
http://www.martini.nu/contact.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20100908/cf1ee2ea/attachment.pgp
More information about the freebsd-stable
mailing list