bugSpamAssassin Milter Plugin - Bugs: bug #2018, libthread panic, spamass-milter...

 
 

bug #2018: libthread panic, spamass-milter deaths, eating processor on Solaris/x86

Submitter:  None
Submitted:  Wed 18 Dec 2002 08:16:52 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  dnelson
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 14 Aug 2014 03:38:00 AM UTC, comment #2: 

no further input; resolving;  please open if dan's original comment was flawed.

Todd Kover <kovert>
Group administrator
Wed 18 Dec 2002 09:30:10 PM UTC, comment #1: 

Check your openfiles and datasize resource limits and make sure they're not too low.  I googled on that error message and  it seems to be a pretty generic one.  The default openfiles may be as low as 64, which is probably too low for a threaded program that uses a lot of pipes and sockets like the milter does.


Dan Nelson <dnelson>
Group administrator
Wed 18 Dec 2002 08:16:52 PM UTC, original submission:  

libthread panic: _sys_thread_create():alloc_thread returns 0 (no mem) : dumping core (PID: 25884 LWP 1)
stacktrace:
        dfa08c30
        dfa08d26
        805b455
        8057f1f
        8061d07
        8061624
        80602cd
        805fa09
        df9fc26c

root:~# ldd /usr/local/sbin/spamass-milter
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libstdc++.so.2.10.0 =>   /usr/lib/libstdc++.so.2.10.0
        libm.so.1 =>     /usr/lib/libm.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libthread.so.1 =>        /usr/lib/libthread.so.1

Quite a few "too many open files" in the logs as well.

Here a backtrace from the core file:
#0  basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::replace (this=<incomplete type>, pos=0, n1=4294967295,
    s=0x8063661 ": ", n2=2)
    at /usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/../../../../include/g++-3/stl_alloc.h:422
#1  0x805942c in mlfi_header (ctx=0x807eaf8, headerf=0x807f068 "From",
    headerv=0x807f06d "Mail Delivery Subsystem <MAILER-DAEMON@aol.com>")
    at /usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/../../../../include/g++-3/std/bastring.h:215
#2  0x8061ca2 in st_header () at spamass-milter.cpp:1140
#3  0x8061624 in mi_engine () at spamass-milter.cpp:1140
#4  0x80602cd in mi_handle_session () at spamass-milter.cpp:1140
#5  0x805fa09 in mi_thread_handle_wrapper () at spamass-milter.cpp:1140


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by kovert (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-08-14 kovert StatusNone Need Info
        Open/ClosedOpen Closed
    2002-12-18 dnelson Assigned toNone None

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code