Re: JVM errors

2011-01-07 Thread Andi Vajda
On Jan 7, 2011, at 16:03, dar...@ontrenet.com wrote: Not really because each thread is a worker that stays alive and iterates over work items. How does that prevent threads from being pooled and reused ? When a worker is done, it goes back to the pool, ready to be reused. Anyway, that w

Re: JVM errors

2011-01-07 Thread darren
Not really because each thread is a worker that stays alive and iterates over work items. The fatality seems to happen when they all are using the index (lucene is supposed to be multi-read threadsafe). It does it without the detach, but when the detach is in there it fatals _on_ the detach. wierd

Re: JVM errors

2011-01-07 Thread Andi Vajda
On Jan 7, 2011, at 15:36, Darren Govoni wrote: That's a good thought. I just wish I knew how to interpret the JVM fatal error. I rarely ever see them working with straight java, so I'm also wondering if something else is at play. Its pretty predicatable when it happens. Like at either a

Re: JVM errors

2011-01-07 Thread Darren Govoni
That's a good thought. I just wish I knew how to interpret the JVM fatal error. I rarely ever see them working with straight java, so I'm also wondering if something else is at play. Its pretty predicatable when it happens. Like at either a vm.detachCurrentThread or perhaps when an object atta

Re: JVM errors

2011-01-07 Thread Andi Vajda
On Fri, 7 Jan 2011, Darren Govoni wrote: I'll try that and report. It seems to happen when many threads are attached at once and the CPU throttles. Maybe some GC settings could also help work around this ? Andi.. On 01/06/2011 09:42 PM, Andi Vajda wrote: On Thu, 6 Jan 2011, Darren Gov

Re: JVM errors

2011-01-07 Thread Darren Govoni
I'll try that and report. It seems to happen when many threads are attached at once and the CPU throttles. On 01/06/2011 09:42 PM, Andi Vajda wrote: On Thu, 6 Jan 2011, Darren Govoni wrote: Hi, I am getting these JVM fatal errors: # # A fatal error has been detected by the Java Runtime E

Re: JVM errors

2011-01-06 Thread Andi Vajda
On Thu, 6 Jan 2011, Darren Govoni wrote: Hi, I am getting these JVM fatal errors: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x7f11dc3c093a, pid=6268, tid=139711024641792 # # JRE version: 6.0_21-b06 # Java VM: Java HotSpot(TM) 64-Bit Serv

JVM errors

2011-01-06 Thread Darren Govoni
Hi, I am getting these JVM fatal errors: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x7f11dc3c093a, pid=6268, tid=139711024641792 # # JRE version: 6.0_21-b06 # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode linux-amd64 )