On Tue, Jan 27, 2009 at 4:39 PM, Eddie Epstein <[email protected]> wrote: > Hi Roberto, > > Generally only a limited number of CASes are required to maximize CPU > utilization. The CPE runs the collection reader in one thread, the CAS > consumers in another, and then each instance of the processing > pipeline is also run in its own separate thread. For a scenario with 4 > processing pipelines the pool size needed to keep all threads active > is at least 6.
Ok, i will start with so little values. > > If the pool size is bigger than the number of working threads, the > collection reader will be called to fill up the extra CASes and they > will wait in a queue for the next processing pipeline to pick them up. > After the CAS consumer thread is done with a CAS it is released back > into the pool. > > The error message suggests that some component in the processing > pipeline thread is asking for a CAS. This would be incorrect. My > advice would be to reduce the pool size to 6 and turn up UIMA logging > to FINEST to see more details on what is happening. > > Regards, > Eddie As you can see is the Pipeline thread that asks for a new cas >> The CAS processor pool is empty. (Thread Name: [Procesing Pipeline#4 >> Thread]::) Total size: 1 Free in pool: 0 After this message I can see the CR thread activating the Reader and fetch the next one file. Well, I will do some tests with little casPoool and more logging Thanks to everybody! Roberto -- Roberto Franchini http://www.celi.it http://www.blogmeter.it http://www.memesphere.it Tel +39-011-6600814 jabber:[email protected] skype:ro.franchini
