Re: strange exception

Sanjay Rao <[email protected]>
Newsgroups gmane.comp.web.zope.zodb
Message-ID <[email protected]>
No issues.
Sometimes just discussing problem with you guys gives a solution. Handling 
ClientDisconnected exception and closing/reopening database server solved 
my problem.

On Tuesday, 27 December 2016 21:52:11 UTC+5:30, Jim Fulton wrote:
>
>
>
> On Mon, Dec 26, 2016 at 11:22 PM, Sanjay Rao <[email protected] 
> <javascript:>> wrote:
>
>> with higher number of threads suddenly ClientDisconnected exception 
>> raised then problem starts.
>> What should be done in this case ? Shall I open DB/Storage/Connection 
>> again.
>>
>
> I can't say without seeing your code and I'm not volunteering to debug 
> your application. :)
>
> Perhaps you can create a small application, ~100 lines, that demonstrates 
> the problem. Usually, the effort to whittle down an application reveals the 
> problem.
>
> Jim 
>
>  
>
>>
>>
>> On Tuesday, 27 December 2016 11:42:55 UTC+5:30, Sanjay Rao wrote:
>>>
>>> Still same problem exists when I create a new connection & transaction 
>>> manager for each thread separately.
>>>
>>> On Tuesday, 27 December 2016 05:42:31 UTC+5:30, Jim Fulton wrote:
>>>>
>>>>
>>>>
>>>> On Sun, Dec 25, 2016 at 11:43 PM, Sanjay Rao <[email protected]> 
>>>> wrote:
>>>>
>>>>> Are you recommending to open a new ZODB connection for each thread ? 
>>>>>
>>>>
>>>> Yes.
>>>>
>>>> Jim
>>>>
>>>> -- 
>>>> Jim Fulton
>>>> http://jimfulton.info
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "zodb" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jim Fulton
> http://jimfulton.info
>

-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.