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


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

Submitted by:  None
Submitted on:  Wed 18 Dec 2002 08:16:52 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  Dan Nelson <dnelson>
Open/Closed:  Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project 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>
Project AdministratorIn charge of this item.
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)

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



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

Attach Files:

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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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 => NA

    Back to the top

    Powered by Savane 3.3