Re: snmpd creating dirty buffers on a D-Link DFE-580TX

richard lucassen <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization XAQ Systems
Message-ID <[email protected]>
On Tue, 18 Dec 2007 14:39:07 +0100
Thomas Anders <[email protected]> wrote:

> richard lucassen wrote:
> >> I use a quad ethernet card D-Link DFE-580TX in my server. As soon
> >as I > start snmpd I get this in syslog:
> >>
> >> kernel: 00 39d52000 00000000 00000000(00) 00000000 00000000
> >> [snip bunch of messages like above]
> >> kernel: TxListPtr=39d00150 netif_queue_stopped=0
> >> kernel: cur_tx=3126(16) dirty_tx=3126(16)
> >> kernel: cur_rx=20 dirty_rx=20
> >> kernel: cur_task=3126
> >> kernel: TxStatus=1500
> > 
> > I just installed sndmp (also Debian Etch net-snmpd-5.2.3) on
> > different hardware (DL320) with the same D-Link networkcard and I
> > get exactly the same messages.
> 
> Sounds like a kernel problem that just happens to get *triggered* by
> snmpd. You may want to run snmpd under "strace" to find out what exact
> system call triggers the message. Is it just syslog noise or are you
> seeing any real problems?

Just syslog noise. I replaced the card with chipsets DL10050D by a
DL10050C, but nothing changed. This is what I see using strace:

[snip]
mprotect(0x2b4221749000, 86016, PROT_READ) = 0
arch_prctl(ARCH_SET_FS, 0x2b4221d11e00) = 0
munmap(0x2b42208cc000, 25026)           = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
close(1023)                             = -1 EBADF (Bad file descriptor)
close(1022)                             = -1 EBADF (Bad file descriptor)
close(1021)                             = -1 EBADF (Bad file descriptor)
close(1020)                             = -1 EBADF (Bad file descriptor)
[snip many lines like above]

Full versions are here:



http://www.xaq.nl/divers/strace

strace -o /ff/strace-f snmpd -Lsd -Lf /dev/null -u snmp -I -smux -p
/var/run/snmpd.pid 127.0.0.1



http://www.xaq.nl/divers/strace-f

strace -f -o /ff/strace-f snmpd -Lsd -Lf /dev/null -u snmp -I -smux -p
/var/run/snmpd.pid 127.0.0.1

I'm not a programmer unfortunately, so I can't get any futher than
running some tests.

R.

-- 
___________________________________________________________________
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.

+------------------------------------------------------------------+
| Richard Lucassen, Utrecht                                        |
| Public key and email address:                                    |
| http://www.lucassen.org/mail-pubkey.html                         |
+------------------------------------------------------------------+

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.