Without knowing what your workflow is actually doing, if you process large 
quantities of objects, you should consider using 
ERXFetchSpecificationBatchIterator. While cycling through your objects, you can 
create new contexts with each batch.

You may want to check out this video:
Concurrency and Thread-Safe Data Processing in Background Tasks
http://www.wocommunity.org/podcasts/wowodc/2011/BackgroundTasks.mov

-G

On Jan 18, 2013, at 4:29 AM, Sisi Li <[email protected]> wrote:

> Dear WO community,
> 
> We are recently upgraded our WO application to a 64bit large amazon instance. 
> We ae currently having some problems with the application and some advice is 
> much appreciated:
> 
> - We are using AjaxLongResponse to handle some accounting routine. This is 
> processed in a separate thread but it is taking a long time to complete. We 
> have profiled the application and we can see the thread running while other 
> threads are in hold. This is causing timeouts and users being thrown out of 
> the application. However, the threads launched continue running  and 
> eventually complete.
> 
> - As far as we can see there are no deadlocks.
> 
> -  I have read through several threads and some advice to modify the Receive 
> and Connect timeouts adaptor settings. (we do get BrokenPipe exception). What 
> is the actual default time?
> 
> - We are disposing of EditingContext correctly whenever we create them 
> manually,  we are not seeing a memory leak.
> 
> Is there something we missed perhaps with a 64bit machine. We are running WO 
> 5.4.3 with Latest Wonder release.
> 
> 
> Your help is much appreciated,
> 
> Mourad
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/mastermind%40knuckleheads.net
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to