[Devel] all openser processes do not get killed

Jeffrey Magder jmagder at somanetworks.com
Tue May 8 17:34:27 CEST 2007


I remember running into this problem when I was developing the SNMPStats 
module.  In my case it
was because I had a printf() in a signal handler, which is not a thread 
safe function.  If the problem
is intermittent but tends to happen more when a certain module is 
present, perhaps either:

1) A function is called that is not thread safe from within a signal 
handler provided by that module or,
2) There exists some other signal handling race condition.

Unfortunately I don't have the time to look into it at the moment 
(wedding next week, house
planning, and of course working to pay the bills),  but I thought my 
experience with the SNMPStats
module may be helpful.

Cheers!

- Jeffrey Magder

Jerome Martin wrote:
> A little correction : I mean it is not presence-SPECIFIC, but it might
> be presence-RELATED ... however, I found this in settings using
> different db modules, some without tm, and with really different set of
> other modules. Plus, in somes cases it is very sporadic and random, in
> some other more recurrent. 
>
> On Thu, 2007-05-03 at 22:19 +0200, Jerome Martin wrote:
>   
>> On Thu, 2007-05-03 at 22:13 +0200, klaus.mailinglists at pernau.at wrote:
>>     
>>>> I'm surprised that no one reported this before, I've being seeing this
>>>> problem since mid-2006 !
>>>>         
>>> I had such problems since I use (open)ser but could never debug it. Thus,
>>> I do not think that it is presence related.
>>>       
>> Same here. I tried to trace it down, but I spent so much time on it
>> without success that I finally decided to go for the heavy ugly way :
>> stop, test, stop, test, and eventually kill. 
>>
>> I know this might be disapointing to Juha who is trying to find the root
>> cause, but honestly, for now this is the best cost/result ratio I've
>> found. When all my feature dev will work as I wish, I might spent some
>> more time on hunting down the root cause.
>>
>> And clearly, this issue shows up in some settings, while totally absent
>> from other ... without any common pattern I could figure out. Clearly,
>> this is not presence related (I don't use presence at all).
>>
>>     
>
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>   




More information about the Devel mailing list