mainSpamAssassin Milter Plugin - Support: sr #106245, FreeBSD 6.3 cpu hog with...

 
 

sr #106245: FreeBSD 6.3 cpu hog with spamass-milter - broken thread ?

Submitter:  None
Submitted:  Tue 05 Feb 2008 08:21:14 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 19 Feb 2008 11:18:15 AM UTC, comment #1: 


Yep, have to patch.

http://www.freebsd.org/cgi/query-pr.cgi?pr=threads/119920

or compile with other thread libs

Anonymous
Tue 05 Feb 2008 08:21:14 PM UTC, original submission:  


spamass-milter detach and use all cpu (93% here) in a few minutes :

root   74781 93.1  0.3 20860  2588  ??  RL    7:39PM   0:03.38 /usr/local/sbin/spamass-milter -f -p /var/run/spamass-milter.sock                        

Using the same source/config on 6.2 work very well.


All these process mostly stay at :

(gdb) where
#0  0x281a1198 in pthread_sigmask () from /lib/libpthread.so.2
#1  0x281a1148 in sigprocmask () from /lib/libpthread.so.2
#2  0x281ab60c in pthread_mutexattr_init () from /lib/libpthread.so.2
#3  0x2819e2db in fork () from /lib/libpthread.so.2
#4  0x0804de64 in SpamAssassin::Connect (this=0x805ee80) at spamass-milter.cpp:1355


caught one staying at :

gdb) where
#0  0x281a85c1 in _pthread_mutex_trylock () from /lib/libpthread.so.2
#1  0x281aa5b4 in _pthread_mutex_lock () from /lib/libpthread.so.2
#2  0x281a0361 in _spinlock () from /lib/libpthread.so.2
#3  0x28215d3b in _UTF8_init () from /lib/libc.so.6
#4  0x282925e0 in _thread_autoinit_dummy_decl_stub () from /lib/libc.so.6
#5  0x080c0700 in ?? ()
#6  0x080b0880 in ?? ()
#7  0x282159a5 in _UTF8_init () from /lib/libc.so.6
...
#26 0x00000000 in ?? ()
#27 0x281b53f5 in __error () from /lib/libpthread.so.2
#28 0x281b5322 in __error () from /lib/libpthread.so.2
#29 0x281b53a6 in __error () from /lib/libpthread.so.2
#30 0x281ab586 in pthread_mutexattr_init () from /lib/libpthread.so.2
#31 0x2819e2db in fork () from /lib/libpthread.so.2
#32 0x0804de64 in SpamAssassin::Connect (this=0x80c0700) at spamass-milter.cpp:1355

6.2 static binaries running on 6.3 produce same results.

are the 6.3 FreeBSD pthreads broken ?

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

 

CC list is empty

 

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.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code