[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Re: [CDO] Timeout while getting worker Thread?!

Am Freitag, den 18.09.2009, 10:18 -0400 schrieb Eike Stepper:
> Hi Stefan,
> 
> Looks as if your box is just too slow :P
Newly purchased Phenom II X4 945 @3GHz w/ 4GB RAM?
No way :-P

> Can you reproduce this scenario in a test case?
> 
> We might factor the creation of the QueueRunner into a protected method 
> so that you can override it and set a higher activation timeout. Please 
> file a bugzilla.

I'm just doing a new run doing some intermediate commits every 100,000
objects. Maybe this helps. So, currently, I hope, I can't rproduce
it :-P

Cheers,
Stefan


> Cheers
> /Eike
> 
> ----
> http://thegordian.blogspot.com
> 
> 
> 
> Stefan Winkler schrieb:
> > Hi,
> >
> > as some of you may already know, I am doing quite large calculations
> > which end up producing a lot of objects.
> >
> > E.g., I have a calculation, which creates a resource with about
> > 1,500,000 new CDO objects each of which have bidirectional references
> > to several existing CDO objects. Thus I get very large transactions.
> >
> > I'm currently running into a weird timeout error which I don't really
> > know what to do about:
> >
> > ERROR] java.util.concurrent.TimeoutException: Worker thread activation
> > timed out after 10000 millis
> > org.eclipse.net4j.util.lifecycle.LifecycleException:
> > java.util.concurrent.TimeoutException: Worker thread activation timed
> > out after 10000 millis
> > 	at
> > org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:93)
> > 	at
> > org.eclipse.emf.internal.cdo.session.CDOSessionImpl.getInvalidationRunner(CDOSessionImpl.java:603)
> > 	at
> > org.eclipse.emf.internal.cdo.session.CDOSessionImpl.handleCommitNotification(CDOSessionImpl.java:541)
> > 	at
> > org.eclipse.emf.internal.cdo.session.CDOSessionImpl.handleCommitNotification(CDOSessionImpl.java:473)
> > 	at org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl
> > $CDOCommitContextImpl.postCommit(CDOTransactionImpl.java:1347)
> > 	at
> > org.eclipse.emf.internal.cdo.transaction.CDOSingleTransactionStrategyImpl.commit(CDOSingleTransactionStrategyImpl.java:72)
> > 	at
> > org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.commit(CDOTransactionImpl.java:598)
> > 	at
> > org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.commit(CDOTransactionImpl.java:612)
> > .... several more ...
> > Caused by: java.util.concurrent.TimeoutException: Worker thread
> > activation timed out after 10000 millis
> > 	at org.eclipse.net4j.util.concurrent.Worker.doActivate(Worker.java:94)
> > 	at
> > org.eclipse.net4j.util.concurrent.QueueWorker.doActivate(QueueWorker.java:80)
> > 	at
> > org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:65)
> > 	... 57 more
> >
> > What could cause this timeout? Are there too few Worker Threads in the
> > pool? But then again, the pool should grow, shouldn't it? 
> >
> > Any ideas?
> >
> > Cheers,
> > Stefan
> >
> >
> >