Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libthr question




Hi guys.


I'm having a weird problem. I have an application (FreeRADIUS) that
seems to behave very strangly:

1) Compiled against libpthread it simply crashed during a stress test.
Always with Signal 6, mostly with "free(): chunk is already free" error.

2) Compiled against libthr, after processing a certain number of
requests, the process simply hangs and stops responding. When it does
that all threads that were active stay running. When i do top
i see ALOT of threads in "lthr" state, and a few in "umtx" state, like
this:


72201 root      96    0  5708K  3968K lthr   1   0:01  0.00%  0.00%
radiusd
72201 root      96    0  5708K  3968K lthr   0   0:01  0.00%  0.00%
radiusd
72201 root      96    0  5708K  3968K umtx   1   0:01  0.00%  0.00%
radiusd
72201 root      96    0  5708K  3968K umtx   0   0:01  0.00%  0.00%
radiusd
72201 root      96    0  5708K  3968K lthr   0   0:01  0.00%  0.00%
radiusd
72201 root      96    0  5708K  3968K lthr   1   0:01  0.00%  0.00%
radiusd


Any pointers on hoe to debug it ? Where to start ?



Thanx
Paul

Attachment: signature.asc
Description: This is a digitally signed message part