On Mon, Aug 1, 2011 at 11:01 AM, Rudy Gevaert <[email protected]> wrote:

> I'm using Debian squeeze 64bit with snmpd 5.4.3~dfsg-2.
>
> On this system I'm running several Cyrus IMAP server instances.  Every
> cyrus instances is started to connect to a snmp agentx:
>
> snmp      7292  0.0  0.0  51596  4096 ?        S    Jul15  10:38
> /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -I -smux -p
> /var/run/snmpd-mail20.pid -x /var/agentx/mail20 --agentxperms=775 755
> root mail tcp:mail20.ugent.be
>
> The cyrus imap daemon's master process is (well was) configured to
> connect to /var/agentx/mail[number]
>
>  From time to time my cyrus master process vanishes!  This leaves the
> service unavailable.
>
> I have looked at this with a cyrus developper and looking at the
> backtrace we see that the problem lies in the integration with snmp.
>
> (gdb) bt
> #0  0x00007f4a56cd6013 in sendto () from /lib/libc.so.6
> #1  0x00007f4a5868b1ae in ?? () from /usr/lib/libnetsnmp.so.15
> #2  0x00007f4a5865ae6a in snmp_sess_async_send () from
> /usr/lib/libnetsnmp.so.15
> #3  0x00007f4a58634c97 in snmp_synch_response_cb () from
> /usr/lib/libnetsnmp.so.15
> #4  0x00007f4a58e8add7 in agentx_send_ping () from
> /usr/lib/libnetsnmpagent.so.15
> #5  0x00007f4a58e7a889 in agentx_check_session () from
> /usr/lib/libnetsnmpagent.so.15
> #6  0x00007f4a5867c4a4 in run_alarms () from /usr/lib/libnetsnmp.so.15
> #7  0x0000000000408999 in main (argc=<value optimized out>, argv=<value
> optimized out>) at master.c:2221
>
> You can find the source on
>
> http://git.cyrusimap.org/cyrus-imapd/tree/master/master.c?id=cyrus-imapd-2.4.10
>
> The only thing else I can tell is that the crash happens very randomly.
>  I can't see any pattern.
>
> I would appreciate any help to further debug this. As we don't have any
> snmp statistics for the time being.
>

Has this issue already been analyzed with Valgrind ?

Bart.
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
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

Reply via email to