Re: Problems with hundreds of BLOCKED threads.

2012-07-09 Thread Leon Rosenberg
Hello Simon, thank you for the answer and the hint! Leon On Sat, Jul 7, 2012 at 1:29 PM, Simon Willnauer wrote: > On Fri, Jul 6, 2012 at 9:28 PM, Leon Rosenberg > wrote: >> Hello, >> >> we have a small internet shop which uses lucene for product search. >> With increasing traffic we have contin

Re: Problems with hundreds of BLOCKED threads.

2012-07-09 Thread Simon Willnauer
here is a snippet from RAMDirectory JavaDocs: * Warning: This class is not intended to work with huge * indexes. Everything beyond several hundred megabytes will waste * resources (GC cycles), because it uses an internal buffer size * of 1024 bytes, producing millions of {@code byte[1024]} arr

Re: Problems with hundreds of BLOCKED threads.

2012-07-09 Thread Simon Willnauer
On Fri, Jul 6, 2012 at 9:28 PM, Leon Rosenberg wrote: > Hello, > > we have a small internet shop which uses lucene for product search. > With increasing traffic we have continuos problem with literaly > hundreds of threads being BLOCKED in lucene code: > > here is an example taken with jstack on p

Problems with hundreds of BLOCKED threads.

2012-07-06 Thread Leon Rosenberg
Hello, we have a small internet shop which uses lucene for product search. With increasing traffic we have continuos problem with literaly hundreds of threads being BLOCKED in lucene code: here is an example taken with jstack on prod system: "ajp-0.0.0.0-8009-1504" daemon prio=10 tid=0x7f81a