Re: Lucene 6.6: "Too many open files"

2017-08-04 Thread Nawab Zada Asad Iqbal
; > > > >> >manual > > > > >> >> merging segments which had bug and I had same issue. Make sure > > you > > > > >> >have > > > > >> >> default AFAIR ConcurrentMergeStrategy enab

Re: Lucene 6.6: "Too many open files"

2017-08-04 Thread Varun Thacker
riate settings. > > > >> >> > > > >> >> On Jul 31, 2017 11:21 PM, "Erick Erickson" > > > > > > > >> >> wrote: > > > >> >> > > > >> >> > No, nothing's changed fund

Re: Lucene 6.6: "Too many open files"

2017-08-04 Thread Nawab Zada Asad Iqbal
: > > >> >> > > >> >> > No, nothing's changed fundamentally. But you say: > > >> >> > > > >> >> > "We have some batch indexing scripts, which > > >> >> > flood the solr servers with indexin

Re: Lucene 6.6: "Too many open files"

2017-08-04 Thread Varun Thacker
t; > > >> >> > What is your commit interval? Regardless of whether openSearcher > >is > >> >false > >> >> > or not, background merging continues apace with every commit. By > >> >any > >> >> chance > >> >

Re: Lucene 6.6: "Too many open files"

2017-08-02 Thread Uwe Schindler
t;> > What is your commit interval? Regardless of whether openSearcher >is >> >false >> >> > or not, background merging continues apace with every commit. By >> >any >> >> chance >> >> > did you change your merge policy (or not c

Re: Lucene 6.6: "Too many open files"

2017-08-02 Thread Nawab Zada Asad Iqbal
m 4x to > >6x)? > >> Shot > >> > in the dark... > >> > > >> > Best, > >> > Erick > >> > > >> > On Mon, Jul 31, 2017 at 7:15 PM, Nawab Zada Asad Iqbal > > >> > > >> > wrote: > &g

Re: Lucene 6.6: "Too many open files"

2017-08-01 Thread Uwe Schindler
, >> > > >> > > I am upgrading from solr4.5 to solr6.6 and hitting this issue >during >> > > complete reindexing scenario. We have some batch indexing >scripts, >> which >> > > flood the solr servers with indexing requests (while keeping >&

Re: Lucene 6.6: "Too many open files"

2017-08-01 Thread Nawab Zada Asad Iqbal
wrote: > > > Hi, > > > > > > I am upgrading from solr4.5 to solr6.6 and hitting this issue during > > > complete reindexing scenario. We have some batch indexing scripts, > which > > > flood the solr servers with indexing requests (while keeping &

Re: Lucene 6.6: "Too many open files"

2017-08-01 Thread Nawab Zada Asad Iqbal
.6 and hitting this issue during > > complete reindexing scenario. We have some batch indexing scripts, which > > flood the solr servers with indexing requests (while keeping > open-searcher > > false) for many hours and then perform one commit. This used to work fine > > wi

Re: Lucene 6.6: "Too many open files"

2017-07-31 Thread Jigar Shah
> Hi, > > > > I am upgrading from solr4.5 to solr6.6 and hitting this issue during > > complete reindexing scenario. We have some batch indexing scripts, which > > flood the solr servers with indexing requests (while keeping > open-searcher > > false) for many

Re: Lucene 6.6: "Too many open files"

2017-07-31 Thread Erick Erickson
ng > complete reindexing scenario. We have some batch indexing scripts, which > flood the solr servers with indexing requests (while keeping open-searcher > false) for many hours and then perform one commit. This used to work fine > with 4.5, but with 6.6, i get 'Too many open fi

Lucene 6.6: "Too many open files"

2017-07-31 Thread Nawab Zada Asad Iqbal
with 4.5, but with 6.6, i get 'Too many open files' within a couple of minutes. I have checked that "ulimit" is same between old and new servers. Has something fundamentally changed in recent lucene versions, which keeps file descriptors around for a longer time? Here is a

Re: “Too many open files" error hit when I run my Lucene 3.0.3 application on Java 8

2017-02-22 Thread Uwe Schindler
;> I have a search engine based on Lucene 3.0.3 and I can't change the >Lucene >> version for reasons that are out of scope of this question. Now I >have a >> requirement to move from Java 6 to Java 8, however when I run the >indexing >> using Java 8 JVM, I hit &

Re: “Too many open files" error hit when I run my Lucene 3.0.3 application on Java 8

2017-02-22 Thread Torsten Krah
and I can't change the > Lucene > > version for reasons that are out of scope of this question. Now I have a > > requirement to move from Java 6 to Java 8, however when I run the > indexing > > using Java 8 JVM, I hit "Too many open files issue" as below: &g

Re: “Too many open files" error hit when I run my Lucene 3.0.3 application on Java 8

2017-02-22 Thread Leonid Bolshinsky
Bolshinsky wrote: > I have a search engine based on Lucene 3.0.3 and I can't change the Lucene > version for reasons that are out of scope of this question. Now I have a > requirement to move from Java 6 to Java 8, however when I run the indexing > using Java 8 JVM, I hit &qu

Re: “Too many open files" error hit when I run my Lucene 3.0.3 application on Java 8

2017-02-22 Thread Frederik Van Hoyweghen
exing using Java 8 JVM, I hit "Too many open files issue" as below: java.io.FileNotFoundException: /myIndex/_27c.fdx (Too many open files) at java.io.RandomAccessFile.open0(Native Method) at java.io.RandomAccessFile.open(RandomAccessFile.java:333) at java.io.R

“Too many open files" error hit when I run my Lucene 3.0.3 application on Java 8

2017-02-22 Thread Leonid Bolshinsky
I have a search engine based on Lucene 3.0.3 and I can't change the Lucene version for reasons that are out of scope of this question. Now I have a requirement to move from Java 6 to Java 8, however when I run the indexing using Java 8 JVM, I hit "Too many open files issue

Re: old fashioned....."Too many open files"!

2012-05-18 Thread Michel Blase
a search! > > but I'm not sure how to solve the problem! This is how I changed the code, > after each search I'm closing the IndexSearcher....but stillI get too > many open files! > > > private IndexSearcher getSearcher() throws CorruptIndexException, > IOExcep

Re: old fashioned....."Too many open files"!

2012-05-18 Thread Michel Blase
Ian was right! I didn't notice that before each insert the code was performing a search! but I'm not sure how to solve the problem! This is how I changed the code, after each search I'm closing the IndexSearcherbut still....I get too many open files! private IndexSearc

RE: old fashioned....."Too many open files"!

2012-05-18 Thread Edward W. Rouse
this would confirm or eliminate one possible cause. > -Original Message- > From: Michel Blase [mailto:mblas...@gmail.com] > Sent: Friday, May 18, 2012 1:49 PM > To: java-user@lucene.apache.org > Subject: Re: old fashioned."Too many open files"! > > but

Re: old fashioned....."Too many open files"!

2012-05-18 Thread Michel Blase
riginal Message- > > From: Michel Blase [mailto:mblas...@gmail.com] > > Sent: Friday, May 18, 2012 1:24 PM > > To: java-user@lucene.apache.org > > Subject: Re: old fashioned."Too many open files"! > > > > also.my problem is indexing! > > &g

RE: old fashioned....."Too many open files"!

2012-05-18 Thread Edward W. Rouse
ubject: Re: old fashioned."Too many open files"! > > also.my problem is indexing! > > Preparation: > > private void SetUpWriters() throws Exception { > Set set = IndexesPaths.entrySet(); > Iterator i = set.iterator(); > > while(i

Re: old fashioned....."Too many open files"!

2012-05-18 Thread Michel Blase
also.my problem is indexing! Preparation: private void SetUpWriters() throws Exception { Set set = IndexesPaths.entrySet(); Iterator i = set.iterator(); while(i.hasNext()){ Map.Entry index = (Map.Entry)i.next(); int id = (Integer)index.getKey()

Re: old fashioned....."Too many open files"!

2012-05-18 Thread Chris Hostetter
: the point is that I keep the readers open to share them across search. Is : this wrong? your goal is fine, but where in your code do you think you are doing that? I don't see any readers ever being shared. You open new ones (which are never closed) in every call to getSearcher() : > >

Re: old fashioned....."Too many open files"!

2012-05-18 Thread Michel Blase
er parser = new > > ExtendedQueryParser(LuceneVersion.CurrentVersion,"ID",analyzer); > > Query query = parser.parse(q); > >return getSearcher().search(query, NumberOfResults); > >} > > > >public Highlighter getHighlighter(String query,Analyzer

Re: old fashioned....."Too many open files"!

2012-05-18 Thread Ian Lea
       QueryScorer qs = new QueryScorer(q); >        SimpleHTMLFormatter formatter =  new > SimpleHTMLFormatter(OpeningTag,ClosingTag); >        Highlighter hl = new Highlighter(formatter,qs); >        hl.setTextFragmenter(new SimpleSpanFragmenter(qs)); >        return hl; >    } > >    

Re: old fashioned....."Too many open files"!

2012-05-18 Thread Michel Blase
2 at 6:51 AM, Michel Blase wrote: > > > Hi all, > > > > I have few problems Indexing. I keep hitting "Too many open files". It > > seems like Lucene is not releasing files handlers after deleting > segments. > > > > This is a piece from the lsof out

Re: old fashioned....."Too many open files"!

2012-05-17 Thread findbestopensource
Post complete code. You are not closing the objects (IndexWriter / Index Searcher) properly. Regards Aditya www.findbestopensource.com On Fri, May 18, 2012 at 6:51 AM, Michel Blase wrote: > Hi all, > > I have few problems Indexing. I keep hitting "Too many open files". It

RE: Too many open files and ulimit limits reached

2011-07-02 Thread Ralf Heyde
From: Hiller, Dean x66079 [mailto:dean.hil...@broadridge.com] Sent: Donnerstag, 30. Juni 2011 22:52 To: java-user@lucene.apache.org Subject: Too many open files and ulimit limits reached When I do a writer.open(), writer.add(), writer.close(), how many files can I expect to be opened with Lucen

Too many open files and ulimit limits reached

2011-06-30 Thread Hiller, Dean x66079
When I do a writer.open(), writer.add(), writer.close(), how many files can I expect to be opened with Lucene. I am running indexes on some very big data so we have 16 writers open and I hit the limit of 20 on my machine so I increased it to the max of 1048576 files open, BUT that might

Re: Too many open files error

2011-03-23 Thread Ian Lea
ese when running my >>> program: >>> >>> java.io.FileNotFoundException: >>> /Users/vonhutuan/Documents/workspace/InformationExtractor/index_wordlist/_i82.frq >>> (Too many open files) >>>        at java.io.RandomAccessFile.open(Native Method)

Re: Too many open files error

2011-03-23 Thread Vo Nhu Tuan
: >> >> java.io.FileNotFoundException: >> /Users/vonhutuan/Documents/workspace/InformationExtractor/index_wordlist/_i82.frq >> (Too many open files) >>at java.io.RandomAccessFile.open(Native Method) >>at java.io.RandomAccessFile.(RandomAcces

Re: Too many open files error

2011-03-23 Thread Li Li
and also try using compound files (cfs) 2011/3/23 Vo Nhu Tuan : > Hi, > > Can someone help me with this problem please? I got these when running my > program: > > java.io.FileNotFoundException: > /Users/vonhutuan/Documents/workspace/InformationExtractor/index_wordlist/_i82.

Re: Too many open files error

2011-03-23 Thread Mindaugas Žakšauskas
> program: > > java.io.FileNotFoundException: > /Users/vonhutuan/Documents/workspace/InformationExtractor/index_wordlist/_i82.frq > (Too many open files) >        at java.io.RandomAccessFile.open(Native Method) >        at java.io.RandomAccessFile.(RandomAc

Re: Too many open files error

2011-03-23 Thread Li Li
> /Users/vonhutuan/Documents/workspace/InformationExtractor/index_wordlist/_i82.frq > (Too many open files) >        at java.io.RandomAccessFile.open(Native Method) >        at java.io.RandomAccessFile.(RandomAccessFile.java:212) >        at > org.apache.lucene.store.S

Too many open files error

2011-03-23 Thread Vo Nhu Tuan
Hi, Can someone help me with this problem please? I got these when running my program: java.io.FileNotFoundException: /Users/vonhutuan/Documents/workspace/InformationExtractor/index_wordlist/_i82.frq (Too many open files) at java.io.RandomAccessFile.open(Native Method) at

Re: Frequent updates lead to "Too many open files"

2011-01-08 Thread Andreas Harth
Hi Ian, Ahmet, On 01/08/2011 06:13 PM, Ian Lea wrote: You also need to read the javadocs for reopen(), and the sample code there. And it would be worth reading up on lucene's near real-time (NRT) features. yep, that was it. reopen() behaves differently to what I'd expected. Using the IndexRe

Re: Frequent updates lead to "Too many open files"

2011-01-08 Thread Ian Lea
From: Andreas Harth >> Subject: Frequent updates lead to "Too many open files" >> To: java-user@lucene.apache.org >> Date: Saturday, January 8, 2011, 6:30 PM >> Hi, >> >> I have a single IndexWriter object which I use to update >> the index.  Af

Re: Frequent updates lead to "Too many open files"

2011-01-08 Thread Ahmet Arslan
--- On Sat, 1/8/11, Andreas Harth wrote: > From: Andreas Harth > Subject: Frequent updates lead to "Too many open files" > To: java-user@lucene.apache.org > Date: Saturday, January 8, 2011, 6:30 PM > Hi, > > I have a single IndexWriter object which I use to

Frequent updates lead to "Too many open files"

2011-01-08 Thread Andreas Harth
Hi, I have a single IndexWriter object which I use to update the index. After each update, I'd like to query the index using IndexReader and IndexSearcher objects. When I try to do that I get java.io.FileNotFoundException: /tmp/lucene/_32.fdx (Too many open files). lsof -p says that ther

Re: Too many open files

2010-09-06 Thread Grijesh.singh
Ask your sys admin to increase the os max open file limit ulimit - Grijesh -- View this message in context: http://lucene.472066.n3.nabble.com/Too-many-open-files-tp1412227p1425425.html Sent from the Lucene - Java Users mailing list archive at Nabble.com

Re: Too many open files

2010-09-03 Thread Ian Lea
dex); > IndexSearcher searcher = new IndexSearcher(NIOFSDirectory.open(file), true); > > After a while, the Web application stops operating because of the error "Too > many open files". If you look at a list of files that were opened by tomcat > process (using the command &q

Too many open files

2010-09-03 Thread Gennadiy Kozlenko
up the work with search index): searcher.close() 2. Create new index search object - searcher: File file = new File(pathToIndex); IndexSearcher searcher = new IndexSearcher(NIOFSDirectory.open(file), true); After a while, the Web application stops operating because of the error "Too many

Re: Too many open files

2010-04-12 Thread David Causse
no commit at all in all the > indexing chain. > I noticed thanks to this bug that lucene keeps a file system reference > to deleted index files. So after many files indexed I hit a Too many > open files. > > I use a 32 bits 1.6.16 JVM on a linux 64bits system. > Directory is ope

Too many open files

2010-04-12 Thread David Causse
Hi, I found a bug in my application, there was no commit at all in all the indexing chain. I noticed thanks to this bug that lucene keeps a file system reference to deleted index files. So after many files indexed I hit a Too many open files. I use a 32 bits 1.6.16 JVM on a linux 64bits system

Re: Too many open files

2009-01-02 Thread Otis Gospodnetic
:53:14 PM > Subject: Too many open files > > Hello. > > I'm struggling with the following exception: > > Exception in thread "Lucene Merge Thread #1037" > org.apache.lucene.index.MergePolicy$MergeException: > java.io.FileNotFoundException: > /home/

RE: Too Many Open files Exception

2007-07-08 Thread Chris Hostetter
: Ok... after spending time looking at the code... I see that a method is : not closing a TokenStream in one of the classes (a class that is : instantiated quite often) - I would imagine this could quite possibly be : the culprit? can you be more specific about the code in question? I'm not sure

RE: Too Many Open files Exception

2007-07-08 Thread Chris Hostetter
: Issuing a "limit descriptors", I see that I have it set to 1024 : In the directory that I'm getting this particular error: 3 : I have 24 different index directories... I think the most I saw at that : particular time in any one index was 20 as i said ... it doesn't matter where in the code you

RE: Too Many Open files Exception

2007-07-05 Thread Van Nguyen
PROTECTED] Sent: Tuesday, July 03, 2007 9:41 PM To: java-user@lucene.apache.org Subject: Re: Too Many Open files Exception : I am getting a "Too Many Open Files" Exception. I've read the FAQ about : lowering the merge factor (currently set to 25), issuing a ulimit -n : , etc... but I a

RE: Too Many Open files Exception

2007-07-05 Thread Van Nguyen
: so ... what is your ulimit set to? Issuing a "limit descriptors", I see that I have it set to 1024 : how many files are in your index directory? In the directory that I'm getting this particular error: 3 I have 24 different index directories... I think the most I saw at that particular time i

Re: Too Many Open files Exception

2007-07-03 Thread Chris Hostetter
: I am getting a "Too Many Open Files" Exception. I've read the FAQ about : lowering the merge factor (currently set to 25), issuing a ulimit -n : , etc... but I am still getting the "Too Many Open Files" : Exception (yes... I'm making sure I close all writer/sear

Too Many Open files Exception

2007-07-03 Thread Van Nguyen
I am getting a "Too Many Open Files" Exception. I've read the FAQ about lowering the merge factor (currently set to 25), issuing a ulimit -n , etc... but I am still getting the "Too Many Open Files" Exception (yes... I'm making sure I close all writer/searchers/read

Re: How to index a lot of fields (without FileNotFoundException: Too many open files)

2007-05-01 Thread Paul Elschot
s in QueryParser. Regards, Paul Elschot > > -Rico > > Original-Nachricht > Datum: Mon, 30 Apr 2007 15:08:14 -0700 > Von: "Mike Klaas" <[EMAIL PROTECTED]> > An: java-user@lucene.apache.org > Betreff: Re: Re: How to index a lot of fields (with

Re: Re: How to index a lot of fields (without FileNotFoundException: Too many open files)

2007-04-30 Thread Chris Hostetter
: However, it does not look like upgrading is an option, so I wonder if my : current approach of mapping a property that a client app creates to one : field name is workable at all. Maybe I have to introduce some sort of : mapping of client properties to a fixed number of indexable fields. : : ...

Re: Re: How to index a lot of fields (without FileNotFoundException: Too many open files)

2007-04-30 Thread pbm-rico
: How to index a lot of fields (without FileNotFoundException: Too many open files) > On 4/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Thanks for you reply. > > > > We are still using Lucene v1.4.3 and I'm not sure if upgrading is an > option. Is

Re: Re: How to index a lot of fields (without FileNotFoundException: Too many open files)

2007-04-30 Thread Mike Klaas
On 4/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Thanks for you reply. We are still using Lucene v1.4.3 and I'm not sure if upgrading is an option. Is there another way of disabling length normalization/document boosts to get rid of those files? Why not raise the limit of open files

Re: Re: How to index a lot of fields (without FileNotFoundException: Too many open files)

2007-04-30 Thread pbm-rico
Thanks for you reply. We are still using Lucene v1.4.3 and I'm not sure if upgrading is an option. Is there another way of disabling length normalization/document boosts to get rid of those files? Thanks, Rico : >From what I read in the Lucene docs, these .f files store the : normalization fac

Re: How to index a lot of fields (without FileNotFoundException: Too many open files)

2007-04-27 Thread Doron Cohen
Just in case norms info cannot be spared, note that since Lucene 2.1 norms are maintained in a single file, no matter how many fields there are. However due to a bug in 2.1 this did not prevent the too many open files problem. This bug was already fixed but not yet released. For more details on

Re: How to index a lot of fields (without FileNotFoundException: Too many open files)

2007-04-27 Thread Chris Hostetter
: >From what I read in the Lucene docs, these .f files store the : normalization factor for the corresponding field. What exactly is this : used for and more importantly, can this be disabled so that the files : are not created in the first place? field norms are primarily used for length normali

How to index a lot of fields (without FileNotFoundException: Too many open files)

2007-04-27 Thread pbm-rico
my application breaks with: FileNotFoundException: Too many open files. I searched this list and it seems like others had this problem before, but I could not find a solution. >From what I read in the Lucene docs, these .f files store the normalization >factor for the corresponding field

Re: Too many open files?!

2007-02-14 Thread Michael Prichard
://wiki.apache.org/jakarta-lucene/ LuceneFAQ#head-48921635adf2c968f79 36dc07d51dfb40d638b82 -Original Message- From: Michael Prichard [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 5:02 PM To: java-user@lucene.apache.org Subject: Too many open files?! I am getting this exception

RE: Too many open files?!

2007-02-14 Thread Steven Parkes
See the wiki: http://wiki.apache.org/jakarta-lucene/LuceneFAQ#head-48921635adf2c968f79 36dc07d51dfb40d638b82 -Original Message- From: Michael Prichard [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 5:02 PM To: java-user@lucene.apache.org Subject: Too many open files?! I

Too many open files?!

2007-02-14 Thread Michael Prichard
I am getting this exception: Exception in thread "main" java.io.FileNotFoundException: /index/_gna.f13 (Too many open files) This is happening on a SLES10 (64-bit) box when trying to index 18k items. I can run it on a much lesser SLES9 box without any issues. Any ideas?! Thank

Re: Lucene and Tomcat, too many open files

2006-03-17 Thread Nick Atkins
Guys, thanks for your help yesterday, I solved my problem! I was actually using an IndexSearcher in another thread that I had forgotten all about. Whoever suggested that IndexReader was to blame was right on the money. I now make sure I close my Readers and, bingo, the open files are managed ni

Re: Lucene and Tomcat, too many open files

2006-03-17 Thread Erik Hatcher
The easiest first step to try is to go from multi-file index structure to the compound one. Otis - Original Message From: Nick Atkins <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Thursday, March 16, 2006 3:00:59 PM Subject: Lucene and Tomcat, too many open files Hi, Wh

Re: Lucene and Tomcat, too many open files

2006-03-16 Thread Yonik Seeley
On 3/16/06, Nick Atkins <[EMAIL PROTECTED]> wrote: > Hi Yonik, I'm not actually using any IndexReaders, just IndexWriters > and IndexSearchers. An IndexSearcher contains an IndexReader. > I on;y get an IndexReader when I'm doing deletes > but that isn't the case in this test. Opening an IndexR

Re: Lucene and Tomcat, too many open files

2006-03-16 Thread Nick Atkins
Hi Yonik, I'm not actually using any IndexReaders, just IndexWriters and IndexSearchers. I on;y get an IndexReader when I'm doing deletes but that isn't the case in this test. I definitely optimize() and close() each IndexWriter when it's done writing its documents (about 200). Anyway, I the pr

Re: Lucene and Tomcat, too many open files

2006-03-16 Thread Yonik Seeley
On 3/16/06, Nick Atkins <[EMAIL PROTECTED]> wrote: > Yes, indexing only right now, although I can issue the odd search to > test it's being built properly. Ahh, as Otis suggests, it's probably is IndexReader(s) that are exhausting the file descriptors. Are you explicitly closing the old IndexReade

Re: Lucene and Tomcat, too many open files

2006-03-16 Thread Nick Atkins
ser@lucene.apache.org > Sent: Thursday, March 16, 2006 6:28:52 PM > Subject: Re: Lucene and Tomcat, too many open files > > Hi Doug, > > I have experimented with a mergeFactor of 5 or 10 (default) but it > didn't help matters once I reached the ulimit. I understand how th

Re: Lucene and Tomcat, too many open files

2006-03-16 Thread Otis Gospodnetic
Lucene and Tomcat, too many open files Hi Doug, I have experimented with a mergeFactor of 5 or 10 (default) but it didn't help matters once I reached the ulimit. I understand how the mergeFactor affects Lucene's performance. I am actually not doing any searches with IndexReader rig

Re: Lucene and Tomcat, too many open files

2006-03-16 Thread Nick Atkins
by Lucene >> when it's running under Tomcat? I have a indexing application running >> as a web app and I index a huge number of mail messages (upwards of >> 4 in some cases). Lucene's merging routine always craps out >> eventually with the "too many op

Re: Lucene and Tomcat, too many open files

2006-03-16 Thread Doug Cutting
mcat? I have a indexing application running as a web app and I index a huge number of mail messages (upwards of 4 in some cases). Lucene's merging routine always craps out eventually with the "too many open files" regardless of how large I set ulimit to. lsof tells me they ar

Re: Lucene and Tomcat, too many open files

2006-03-16 Thread Nick Atkins
, >> >> Nick >> >> Otis Gospodnetic wrote: >> >>> The easiest first step to try is to go from multi-file index >>> structure to the compound one. >>> >>> Otis >>> >>> - Original Message >>> Fro

Re: Lucene and Tomcat, too many open files

2006-03-16 Thread Paulo Silveira
tis Gospodnetic wrote: > > > >> The easiest first step to try is to go from multi-file index structure to > >> the compound one. > >> > >> Otis > >> > >> ----- Original Message > >> From: Nick Atkins <[EMAIL PROTECTED]> > >&g

Re: Lucene and Tomcat, too many open files

2006-03-16 Thread Hannes Carl Meyer
59 PM Subject: Lucene and Tomcat, too many open files Hi, What's the best way to manage the number of open files used by Lucene when it's running under Tomcat? I have a indexing application running as a web app and I index a huge number of mail messages (upwards of 4 in some cases).

Re: Lucene and Tomcat, too many open files

2006-03-16 Thread Nick Atkins
he.org > Sent: Thursday, March 16, 2006 3:00:59 PM > Subject: Lucene and Tomcat, too many open files > > Hi, > > What's the best way to manage the number of open files used by Lucene > when it's running under Tomcat? I have a indexing application running > as

Re: Lucene and Tomcat, too many open files

2006-03-16 Thread Nick Atkins
IndexWriter writer = openWriter(); > if (writer.docCount() % 100 == 0) { > // avoiding too many open files, indexing 100 by 100. > logger.info("optimizing indexes..."); >

Re: Lucene and Tomcat, too many open files

2006-03-16 Thread Paulo Silveira
: private synchronized void write(Document document) throws IOException { logger.debug("writing document"); IndexWriter writer = openWriter(); if (writer.docCount() % 100 == 0) { // avoiding too many open files

Re: Lucene and Tomcat, too many open files

2006-03-16 Thread Otis Gospodnetic
The easiest first step to try is to go from multi-file index structure to the compound one. Otis - Original Message From: Nick Atkins <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Thursday, March 16, 2006 3:00:59 PM Subject: Lucene and Tomcat, too many open fil

Lucene and Tomcat, too many open files

2006-03-16 Thread Nick Atkins
tually with the "too many open files" regardless of how large I set ulimit to. lsof tells me they are all "deleted" but they still seem to count as open files. I don't want to set ulimit to some enormous value just to solve this (because it will never be large enough).

Re: Too many open files when doing performance testing

2005-09-01 Thread Otis Gospodnetic
09/01/2005 09:07 > cc > PM > > > Subject >Re: Too many open files when >

Re: Too many open files when doing performance testing

2005-09-01 Thread Akhil Jain
09/01/2005 09:07 PM Please respond to java-user To java-user@lucene.apache.org cc Subject Re: Too many open files when doing performance testing Hi, 2000 doesn't sound very high.  I've used much higher values.  Because you have so many fields and files, you may wa

Re: Too many open files when doing performance testing

2005-09-01 Thread Otis Gospodnetic
gt; -rw-rw 1 skpmqp/gsa_cd 42672641 Sep 01 09:18 _bgw.prx > -rw-rw 1 skpmqp/gsa_cd 14 Sep 01 09:18 _bgw.tii > -rw-rw 1 skpmqp/gsa_cd 11866281 Sep 01 09:18 _bgw.tis > -rw-rw 1 skpmqp/gsa_cd 4 Sep 01

Re: Too many open files when doing performance testing

2005-09-01 Thread jaina (sent by Nabble.com)
Thanks Chris. We are looking at it and have tried few of those things. Will let you know once we have tried all of them. Thanks again. -- Sent from the Lucene - Java Users forum at Nabble.com: http://www.nabble.com/Too-many-open-files-when-doing-performance-testing-t272369.html#a766965

Re: Too many open files when doing performance testing

2005-09-01 Thread jaina (sent by Nabble.com)
segments -- Sent from the Lucene - Java Users forum at Nabble.com: http://www.nabble.com/Too-many-open-files-when-doing-performance-testing-t272369.html#a766958

Re: Too many open files when doing performance testing

2005-09-01 Thread Chris Hostetter
This is discussed extensively in the FAQ... Why am I getting an IOException that says "Too many open files"? http://wiki.apache.org/jakarta-lucene/LuceneFAQ#head-48921635adf2c968f7936dc07d51dfb40d638b82 : Date: Thu, 1 Sep 2005 19:30:40 -0700 (PDT) : From: "jaina (sen

Re: Too many open files when doing performance testing

2005-09-01 Thread Otis Gospodnetic
dException: > /gsa/torgsa/.projects/p1/gsa_cdt_ods/projects/w3perf/datapersist/sales/support/skp/production/index/relatedlinks/secondary/_0.f20 > (Too many open files) > [9/1/05 17:42:05:647 GMT] 54eda4e1 SystemErr R at > java.io.RandomAccessFile.open(Native Metho

Too many open files when doing performance testing

2005-09-01 Thread jaina (sent by Nabble.com)
17:42:05:646 GMT] 54eda4e1 SystemErr R java.io.FileNotFoundException: /gsa/torgsa/.projects/p1/gsa_cdt_ods/projects/w3perf/datapersist/sales/support/skp/production/index/relatedlinks/secondary/_0.f20 (Too many open files) [9/1/05 17:42:05:647 GMT] 54eda4e1 SystemErr R at

Re: Too many open files error using tomcat and lucene

2005-07-20 Thread jian chen
heers, Jian On 7/20/05, Dan Pelton <[EMAIL PROTECTED]> wrote: > We are getting the following error in our tomcat error log. > /dsk1/db/lucene/journals/_clr.f7 (Too many open files) > java.io.FileNotFoundException: /dsk1/db/lucene/journals/_clr.f7 (Too many > op

Re: Too many open files error using tomcat and lucene

2005-07-20 Thread Daniel Naber
On Wednesday 20 July 2005 22:49, Dan Pelton wrote: > We are getting the following error in our tomcat error log. > /dsk1/db/lucene/journals/_clr.f7 (Too many open files) > java.io.FileNotFoundException: /dsk1/db/lucene/journals/_clr.f7 (Too > many open files) See http://wiki.apache

Too many open files error using tomcat and lucene

2005-07-20 Thread Dan Pelton
We are getting the following error in our tomcat error log. /dsk1/db/lucene/journals/_clr.f7 (Too many open files) java.io.FileNotFoundException: /dsk1/db/lucene/journals/_clr.f7 (Too many open files) at java.io.RandomAccessFile.open(Native Method) We are using the following lucene-1.3