Hey Andrii,

2009/5/20 Andrii Arsirii <[email protected]>:
> Koen Deforche wrote:
>> Do you know why the shared session processed die however?
>
> I guess it's some kind of programming bug (maybe mine) in application.
> Unfortunately, for some reason shared process (that seems to be forked
> by wt) doesn't leave any core dump.

That should only be affected by (apaches) ulimit setting ?

>> I also saw
>> in the code that only 5 times a shared session process is respawned
>> before giving up entirely. I would imagine that you may run into that
>> problem then as well ?
>>
>
> Yes, you're right. After 5 re-spawns application seems to stuck.
> As far as I understand the intention of that limit (5) is to stop
> infinite re-spawning of the buggy code that will damage the system
> performance.
> Maybe it's worth to put limit of re-spawns per second instead?

Indeed. I guess we could just timestamp respawning shared processes
and bail out if the last respawn was needed less than e.g. 1 second
ago.

Regards,
koen

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to