You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@lucene.apache.org by Fernando <fe...@digitaldoc.com.br> on 2011/02/01 13:10:46 UTC

Too many open Files

Hi, i upgrade my app, from lucene 2.4.1 to 2.9.1, 

 

Now I am having serious problems on my linux clients,
index of the files not being released.

 

I have been see the FAQ, but im closing de Writers, and Searchers, and,
Indexers.

I no have one IndexSearch per aplication, i instantiate, one per thread, but
im closing this im finally.

 

Need help

 

FERNANDO H. S. GOMES 
Desenvolvimento e Suporte

 <http://www.digitaldoc.com.br/> www.digitaldoc.com.br 
Telefone: (45) 3264-2037

Skype: fernando.h.gomes

MSN:     <ma...@digitaldoc.com.br> fernando@digitaldoc.com.br 

Empresa Associada  <http://www.assespropr.org.br/> ASSESPRO - PR | Membro
<http://www.aplticoeste.com.br/> IGUASSU - IT

 

 

P Antes de imprimir pense em sua responsabilidade e compromisso com o MEIO
AMBIENTE!

 


Re: Too many open Files

Posted by Ted Dunning <te...@gmail.com>.
If you are going to go to the trouble of upgrading, consider going all the
way to the current version.  Performance improvements lately have been
pretty impressive.

On Tue, Feb 1, 2011 at 4:10 AM, Fernando <fe...@digitaldoc.com.br> wrote:

> Hi, i upgrade my app, from lucene 2.4.1 to 2.9.1,
>
>
>
> Now I am having serious problems on my linux clients,
> index of the files not being released.
>
>
>
> I have been see the FAQ, but im closing de Writers, and Searchers, and,
> Indexers.
>
> I no have one IndexSearch per aplication, i instantiate, one per thread,
> but
> im closing this im finally.
>
>
>
> Need help
>
>
>
> FERNANDO H. S. GOMES
> Desenvolvimento e Suporte
>
>  <http://www.digitaldoc.com.br/> www.digitaldoc.com.br
> Telefone: (45) 3264-2037
>
> Skype: fernando.h.gomes
>
> MSN:     <ma...@digitaldoc.com.br> fernando@digitaldoc.com.br
>
> Empresa Associada  <http://www.assespropr.org.br/> ASSESPRO - PR | Membro
> <http://www.aplticoeste.com.br/> IGUASSU - IT
>
>
>
>
>
> P Antes de imprimir pense em sua responsabilidade e compromisso com o MEIO
> AMBIENTE!
>
>
>
>

RES: Too many open Files

Posted by Fernando <fe...@digitaldoc.com.br>.
Guys, I updated all the codes of my classes, taking all methods depreciated.
I took all my writers and I made sure to close in a "finnaly"as well as readers and searchers. This solved part of my problem, 90% of my files have not become more open.

Now I am using the 2.9.4 version of lucene.

But I still have a problem.

I use the "HibernateSearch 3.0" with lucene.
When I do a search index files related to my classes that are being sought, are still open.

/ MY_PROJECT / indexes / br.com.project.beans.beanWord / _bw.cfs

not close forever, any help?

 

FERNANDO H. S. GOMES 
Desenvolvimento e Suporte

www.digitaldoc.com.br  <http://www.digitaldoc.com.br/> 
Telefone: (45) 3264-2037

Skype: fernando.h.gomes

MSN:    fernando@digitaldoc.com.br 

Empresa Associada ASSESPRO - PR <http://www.assespropr.org.br/>  | Membro IGUASSU - IT <http://www.aplticoeste.com.br/> 

 

 

P Antes de imprimir pense em sua responsabilidade e compromisso com o MEIO AMBIENTE!

 

De: Simon Willnauer [mailto:simon.willnauer@googlemail.com] 
Enviada em: quarta-feira, 2 de fevereiro de 2011 19:16
Para: general@lucene.apache.org
Cc: Marcio
Assunto: Re: Too many open Files

 

On Tue, Feb 1, 2011 at 1:10 PM, Fernando <fe...@digitaldoc.com.br> wrote:
> Hi, i upgrade my app, from lucene 2.4.1 to 2.9.1,
>
>
>
> Now I am having serious problems on my linux clients,
> index of the files not being released.
>
>
>
> I have been see the FAQ, but im closing de Writers, and Searchers, and,
> Indexers.
>
> I no have one IndexSearch per aplication, i instantiate, one per thread, but
> im closing this im finally.

too many open files just sounds like you need to turn up the open file
handles for you apps.
I don't recall what changed in 2.9 in that regards but it sounds like
a problem that is well known with lucene. maybe enable compund file
system if you can afford the perf hit?

simon
>
>
>
> Need help
>
>
>
> FERNANDO H. S. GOMES
> Desenvolvimento e Suporte
>
>  <http://www.digitaldoc.com.br/> www.digitaldoc.com.br
> Telefone: (45) 3264-2037
>
> Skype: fernando.h.gomes
>
> MSN:     <ma...@digitaldoc.com.br> fernando@digitaldoc.com.br
>
> Empresa Associada  <http://www.assespropr.org.br/> ASSESPRO - PR | Membro
> <http://www.aplticoeste.com.br/> IGUASSU - IT
>
>
>
>
>
> P Antes de imprimir pense em sua responsabilidade e compromisso com o MEIO
> AMBIENTE!
>
>
>
> 

  _____  

Nenhum vírus encontrado nessa mensagem.
Verificado por AVG - www.avgbrasil.com.br
Versão: 10.0.1204 / Banco de dados de vírus: 1435/3418 - Data de Lançamento: 02/02/11


Re: Too many open Files

Posted by Simon Willnauer <si...@googlemail.com>.
On Tue, Feb 1, 2011 at 1:10 PM, Fernando <fe...@digitaldoc.com.br> wrote:
> Hi, i upgrade my app, from lucene 2.4.1 to 2.9.1,
>
>
>
> Now I am having serious problems on my linux clients,
> index of the files not being released.
>
>
>
> I have been see the FAQ, but im closing de Writers, and Searchers, and,
> Indexers.
>
> I no have one IndexSearch per aplication, i instantiate, one per thread, but
> im closing this im finally.

too many open files just sounds like you need to turn up the open file
handles for you apps.
I don't recall what changed in 2.9 in that regards but it sounds like
a problem that is well known with lucene. maybe enable compund file
system if you can afford the perf hit?

simon
>
>
>
> Need help
>
>
>
> FERNANDO H. S. GOMES
> Desenvolvimento e Suporte
>
>  <http://www.digitaldoc.com.br/> www.digitaldoc.com.br
> Telefone: (45) 3264-2037
>
> Skype: fernando.h.gomes
>
> MSN:     <ma...@digitaldoc.com.br> fernando@digitaldoc.com.br
>
> Empresa Associada  <http://www.assespropr.org.br/> ASSESPRO - PR | Membro
> <http://www.aplticoeste.com.br/> IGUASSU - IT
>
>
>
>
>
> P Antes de imprimir pense em sua responsabilidade e compromisso com o MEIO
> AMBIENTE!
>
>
>
>