Error: Too many open files


(Enrique Medina Montenegro) #1

Hi,

I know the error message is understandable, but I'd like to understand why
and how to fix it. This is ES 0.16.0-SNAPSHOT (from master):

[2011-04-05 00:43:54,320][DEBUG][action.bulk ] [Magik]
[cuestamenos][0]: Failed to execute bulk item (index) [index
{[cuestamenos][producto][AVxe4QXAS6qm6Nx5GPPQUg], source[{"nombre":"ADVAN
CE Torre PC Chrome 8001B Carcasas PC","descripcion":"La Advance Chrome 8001B
es una torre PC Moyen Tour  robusta y elegante. Esta torre 8001B de
480W...","linkProfundo":"http://pdt.tradedoubler.com/cl
ick?a(1781229)p(15853)prod(802186777)ttid(5)url(http%3A%2F%
2Fwww.pixmania.com
%2Fes%2Fes%2F8934880%2Fart%2Fadvance%2Ftorre-pc-chrome-8001b.html%3Fsrcid%3D348%26amp%3BPartenaire%3DTD%26amp%3BCodePromo%3Do
ui)","imagen":"http://pan.fotovista.com/dev/0/6/09668260/t_09668260.jpg
","historico":1262,"cantidad":49.9,"moneda":"EUR","categorias1":["Electrónica","Hogar","Informática"],"categorias2":["Textil","Vide
ojuegos","Programas","Electrodomésticos","Menaje","Fotografía y
video","Ordenadores y componentes","Muebles","Decoración e
iluminación","Imagen y
sonido"],"categorias3":[],"tienda":"Pixmania","marca":"A
DVANCE","ean":"3700104417137","upc":"","isbn":""}]}]
org.elasticsearch.index.engine.CreateFailedEngineException: [cuestamenos][0]
Create failed for [producto#AVxe4QXAS6qm6Nx5GPPQUg]
at
org.elasticsearch.index.engine.robin.RobinEngine.create(RobinEngine.java:245)
at
org.elasticsearch.index.shard.service.InternalIndexShard.create(InternalIndexShard.java:276)
at
org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:139)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:418)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.access$100(TransportShardReplicationOperationAction.java:233)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:331)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException:
/var/elasticsearch-0.16.0-SNAPSHOT/data/elasticsearch/nodes/0/indices/cuestamenos/0/index/_f7.fdt
(Too many open files)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.(RandomAccessFile.java:212)
at
org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexOutput.(SimpleFSDirectory.java:180)
at
org.apache.lucene.store.NIOFSDirectory.createOutput(NIOFSDirectory.java:85)
at
org.elasticsearch.index.store.support.AbstractStore$StoreDirectory.createOutput(AbstractStore.java:283)
at
org.elasticsearch.index.store.support.AbstractStore$StoreDirectory.createOutput(AbstractStore.java:279)
at org.apache.lucene.index.FieldsWriter.(FieldsWriter.java:65)
at
org.apache.lucene.index.StoredFieldsWriter.initFieldsWriter(StoredFieldsWriter.java:66)
at
org.apache.lucene.index.StoredFieldsWriter.finishDocument(StoredFieldsWriter.java:144)
at
org.apache.lucene.index.StoredFieldsWriter$PerDoc.finish(StoredFieldsWriter.java:192)
at
org.apache.lucene.index.DocumentsWriter$WaitQueue.writeDocument(DocumentsWriter.java:1559)
at
org.apache.lucene.index.DocumentsWriter$WaitQueue.add(DocumentsWriter.java:1578)
at
org.apache.lucene.index.DocumentsWriter.finishDocument(DocumentsWriter.java:1155)
at
org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:832)
at
org.apache.lucene.index.DocumentsWriter.addDocument(DocumentsWriter.java:802)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1998)
at
org.elasticsearch.index.engine.robin.RobinEngine.innerCreate(RobinEngine.java:328)
at
org.elasticsearch.index.engine.robin.RobinEngine.create(RobinEngine.java:238)
... 8 more

Any clues?

Salu2,
Quique.


(Joaquin Cuenca Abela) #2

Hi,

raise the no_files of the user running elasticsearch, this is done
typically adding to /etc/security/limits.conf the lines:

elasticsearch soft nofile 64000
elasticsearch hard nofile 64000

test that it gets applied running:

sudo -u elasticsearch -s "ulimit -Hn"

If it doesn't get applied run:

egrep -r pam_limits /etc/pam.d/

and check that all pam_limits.so are not commented out.

if sudo -u elasticsearch -s "ulimit -Hn" returns 64000, but you still
get the error on elasticsearch, you're probably running it through
another program that doesn't support pam, a usual offender is
supervisord. The only solution I know to this problem is to raise the
nofile limit for the user running supervisord, but this will obviously
raise the limit for all the processes running under supervisord, a non
ideal situation.

Hope it helps,

Cheers,

On Tue, Apr 5, 2011 at 10:35 AM, Enrique Medina Montenegro
e.medina.m@gmail.com wrote:

Hi,
I know the error message is understandable, but I'd like to understand why
and how to fix it. This is ES 0.16.0-SNAPSHOT (from master):
[2011-04-05 00:43:54,320][DEBUG][action.bulk ] [Magik]
[cuestamenos][0]: Failed to execute bulk item (index) [index
{[cuestamenos][producto][AVxe4QXAS6qm6Nx5GPPQUg], source[{"nombre":"ADVAN
CE Torre PC Chrome 8001B Carcasas PC","descripcion":"La Advance Chrome 8001B
es una torre PC Moyen Tour  robusta y elegante. Esta torre 8001B de
480W...","linkProfundo":"http://pdt.tradedoubler.com/cl
ick?a(1781229)p(15853)prod(802186777)ttid(5)url(http%3A%2F%2Fwww.pixmania.com%2Fes%2Fes%2F8934880%2Fart%2Fadvance%2Ftorre-pc-chrome-8001b.html%3Fsrcid%3D348%26amp%3BPartenaire%3DTD%26amp%3BCodePromo%3Do
ui)","imagen":"http://pan.fotovista.com/dev/0/6/09668260/t_09668260.jpg","historico":1262,"cantidad":49.9,"moneda":"EUR","categorias1":["Electrónica","Hogar","Informática"],"categorias2":["Textil","Vide
ojuegos","Programas","Electrodomésticos","Menaje","Fotografía y
video","Ordenadores y componentes","Muebles","Decoración e
iluminación","Imagen y
sonido"],"categorias3":[],"tienda":"Pixmania","marca":"A
DVANCE","ean":"3700104417137","upc":"","isbn":""}]}]
org.elasticsearch.index.engine.CreateFailedEngineException: [cuestamenos][0]
Create failed for [producto#AVxe4QXAS6qm6Nx5GPPQUg]
at
org.elasticsearch.index.engine.robin.RobinEngine.create(RobinEngine.java:245)
at
org.elasticsearch.index.shard.service.InternalIndexShard.create(InternalIndexShard.java:276)
at
org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:139)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:418)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.access$100(TransportShardReplicationOperationAction.java:233)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:331)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException:
/var/elasticsearch-0.16.0-SNAPSHOT/data/elasticsearch/nodes/0/indices/cuestamenos/0/index/_f7.fdt
(Too many open files)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.(RandomAccessFile.java:212)
at
org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexOutput.(SimpleFSDirectory.java:180)
at
org.apache.lucene.store.NIOFSDirectory.createOutput(NIOFSDirectory.java:85)
at
org.elasticsearch.index.store.support.AbstractStore$StoreDirectory.createOutput(AbstractStore.java:283)
at
org.elasticsearch.index.store.support.AbstractStore$StoreDirectory.createOutput(AbstractStore.java:279)
at org.apache.lucene.index.FieldsWriter.(FieldsWriter.java:65)
at
org.apache.lucene.index.StoredFieldsWriter.initFieldsWriter(StoredFieldsWriter.java:66)
at
org.apache.lucene.index.StoredFieldsWriter.finishDocument(StoredFieldsWriter.java:144)
at
org.apache.lucene.index.StoredFieldsWriter$PerDoc.finish(StoredFieldsWriter.java:192)
at
org.apache.lucene.index.DocumentsWriter$WaitQueue.writeDocument(DocumentsWriter.java:1559)
at
org.apache.lucene.index.DocumentsWriter$WaitQueue.add(DocumentsWriter.java:1578)
at
org.apache.lucene.index.DocumentsWriter.finishDocument(DocumentsWriter.java:1155)
at
org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:832)
at
org.apache.lucene.index.DocumentsWriter.addDocument(DocumentsWriter.java:802)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1998)
at
org.elasticsearch.index.engine.robin.RobinEngine.innerCreate(RobinEngine.java:328)
at
org.elasticsearch.index.engine.robin.RobinEngine.create(RobinEngine.java:238)
... 8 more
Any clues?
Salu2,
Quique.

--
Joaquin Cuenca Abela -- presspeople.com: Fuentes de prensa y comunicados


(Enrique Medina Montenegro) #3

Thanks a lot for your detailed response.

Actually I'm using root for it, so I've set:

ulimit -n 64000

And then running "ulimit -Hn" returns:

[root@s1 ~]# ulimit -n 64000
[root@s1 ~]# ulimit -Hn
64000

Which I guess should be enough, right?

On Tue, Apr 5, 2011 at 10:46 AM, Joaquin Cuenca Abela <
joaquin@cuencaabela.com> wrote:

Hi,

raise the no_files of the user running elasticsearch, this is done
typically adding to /etc/security/limits.conf the lines:

elasticsearch soft nofile 64000
elasticsearch hard nofile 64000

test that it gets applied running:

sudo -u elasticsearch -s "ulimit -Hn"

If it doesn't get applied run:

egrep -r pam_limits /etc/pam.d/

and check that all pam_limits.so are not commented out.

if sudo -u elasticsearch -s "ulimit -Hn" returns 64000, but you still
get the error on elasticsearch, you're probably running it through
another program that doesn't support pam, a usual offender is
supervisord. The only solution I know to this problem is to raise the
nofile limit for the user running supervisord, but this will obviously
raise the limit for all the processes running under supervisord, a non
ideal situation.

Hope it helps,

Cheers,

On Tue, Apr 5, 2011 at 10:35 AM, Enrique Medina Montenegro
e.medina.m@gmail.com wrote:

Hi,
I know the error message is understandable, but I'd like to understand
why
and how to fix it. This is ES 0.16.0-SNAPSHOT (from master):
[2011-04-05 00:43:54,320][DEBUG][action.bulk ] [Magik]
[cuestamenos][0]: Failed to execute bulk item (index) [index
{[cuestamenos][producto][AVxe4QXAS6qm6Nx5GPPQUg], source[{"nombre":"ADVAN
CE Torre PC Chrome 8001B Carcasas PC","descripcion":"La Advance Chrome
8001B
es una torre PC Moyen Tour  robusta y elegante. Esta torre 8001B de
480W...","linkProfundo":"http://pdt.tradedoubler.com/cl
ick?a(1781229)p(15853)prod(802186777)ttid(5)url(http%3A%2F%
2Fwww.pixmania.com
%2Fes%2Fes%2F8934880%2Fart%2Fadvance%2Ftorre-pc-chrome-8001b.html%3Fsrcid%3D348%26amp%3BPartenaire%3DTD%26amp%3BCodePromo%3Do
ui)","imagen":"http://pan.fotovista.com/dev/0/6/09668260/t_09668260.jpg
","historico":1262,"cantidad":49.9,"moneda":"EUR","categorias1":["Electrónica","Hogar","Informática"],"categorias2":["Textil","Vide
ojuegos","Programas","Electrodomésticos","Menaje","Fotografía y
video","Ordenadores y componentes","Muebles","Decoración e
iluminación","Imagen y
sonido"],"categorias3":[],"tienda":"Pixmania","marca":"A
DVANCE","ean":"3700104417137","upc":"","isbn":""}]}]
org.elasticsearch.index.engine.CreateFailedEngineException:
[cuestamenos][0]
Create failed for [producto#AVxe4QXAS6qm6Nx5GPPQUg]
at

org.elasticsearch.index.engine.robin.RobinEngine.create(RobinEngine.java:245)

at

org.elasticsearch.index.shard.service.InternalIndexShard.create(InternalIndexShard.java:276)

at

org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:139)

at

org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:418)

at

org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.access$100(TransportShardReplicationOperationAction.java:233)

at

org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:331)

at

java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

at

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException:

/var/elasticsearch-0.16.0-SNAPSHOT/data/elasticsearch/nodes/0/indices/cuestamenos/0/index/_f7.fdt

(Too many open files)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.(RandomAccessFile.java:212)
at

org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexOutput.(SimpleFSDirectory.java:180)

at

org.apache.lucene.store.NIOFSDirectory.createOutput(NIOFSDirectory.java:85)

at

org.elasticsearch.index.store.support.AbstractStore$StoreDirectory.createOutput(AbstractStore.java:283)

at

org.elasticsearch.index.store.support.AbstractStore$StoreDirectory.createOutput(AbstractStore.java:279)

at org.apache.lucene.index.FieldsWriter.(FieldsWriter.java:65)
at

org.apache.lucene.index.StoredFieldsWriter.initFieldsWriter(StoredFieldsWriter.java:66)

at

org.apache.lucene.index.StoredFieldsWriter.finishDocument(StoredFieldsWriter.java:144)

at

org.apache.lucene.index.StoredFieldsWriter$PerDoc.finish(StoredFieldsWriter.java:192)

at

org.apache.lucene.index.DocumentsWriter$WaitQueue.writeDocument(DocumentsWriter.java:1559)

at

org.apache.lucene.index.DocumentsWriter$WaitQueue.add(DocumentsWriter.java:1578)

at

org.apache.lucene.index.DocumentsWriter.finishDocument(DocumentsWriter.java:1155)

at

org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:832)

at

org.apache.lucene.index.DocumentsWriter.addDocument(DocumentsWriter.java:802)

at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1998)
at

org.elasticsearch.index.engine.robin.RobinEngine.innerCreate(RobinEngine.java:328)

at

org.elasticsearch.index.engine.robin.RobinEngine.create(RobinEngine.java:238)

... 8 more
Any clues?
Salu2,
Quique.

--
Joaquin Cuenca Abela -- presspeople.com: Fuentes de prensa y comunicados


(Joaquin Cuenca Abela) #4

Nitpicking, to test your current limit try ulimit -Sn. -Hn gives you
the hard limit, the limit that only root can change, -Sn gives you the
current limit. The -Sn limit is what will be applied to the processes
that you will start after the last change to the limits.

So assuming ulimit -Sn gives you 64000, you still have to restart
elasticsearch to get the new limit. Also, if you restart your box you
will lose the 64000 limit, if you want to keep it after restarts you
have to put it in /etc/security/limits.conf.

Cheers,

On Tue, Apr 5, 2011 at 10:57 AM, Enrique Medina Montenegro
e.medina.m@gmail.com wrote:

Thanks a lot for your detailed response.
Actually I'm using root for it, so I've set:
ulimit -n 64000
And then running "ulimit -Hn" returns:
[root@s1 ~]# ulimit -n 64000
[root@s1 ~]# ulimit -Hn
64000
Which I guess should be enough, right?
On Tue, Apr 5, 2011 at 10:46 AM, Joaquin Cuenca Abela
joaquin@cuencaabela.com wrote:

Hi,

raise the no_files of the user running elasticsearch, this is done
typically adding to /etc/security/limits.conf the lines:

elasticsearch soft nofile 64000
elasticsearch hard nofile 64000

test that it gets applied running:

sudo -u elasticsearch -s "ulimit -Hn"

If it doesn't get applied run:

egrep -r pam_limits /etc/pam.d/

and check that all pam_limits.so are not commented out.

if sudo -u elasticsearch -s "ulimit -Hn" returns 64000, but you still
get the error on elasticsearch, you're probably running it through
another program that doesn't support pam, a usual offender is
supervisord. The only solution I know to this problem is to raise the
nofile limit for the user running supervisord, but this will obviously
raise the limit for all the processes running under supervisord, a non
ideal situation.

Hope it helps,

Cheers,

On Tue, Apr 5, 2011 at 10:35 AM, Enrique Medina Montenegro
e.medina.m@gmail.com wrote:

Hi,
I know the error message is understandable, but I'd like to understand
why
and how to fix it. This is ES 0.16.0-SNAPSHOT (from master):
[2011-04-05 00:43:54,320][DEBUG][action.bulk ] [Magik]
[cuestamenos][0]: Failed to execute bulk item (index) [index
{[cuestamenos][producto][AVxe4QXAS6qm6Nx5GPPQUg],
source[{"nombre":"ADVAN
CE Torre PC Chrome 8001B Carcasas PC","descripcion":"La Advance Chrome
8001B
es una torre PC Moyen Tour  robusta y elegante. Esta torre 8001B de
480W...","linkProfundo":"http://pdt.tradedoubler.com/cl

ick?a(1781229)p(15853)prod(802186777)ttid(5)url(http%3A%2F%2Fwww.pixmania.com%2Fes%2Fes%2F8934880%2Fart%2Fadvance%2Ftorre-pc-chrome-8001b.html%3Fsrcid%3D348%26amp%3BPartenaire%3DTD%26amp%3BCodePromo%3Do

ui)","imagen":"http://pan.fotovista.com/dev/0/6/09668260/t_09668260.jpg","historico":1262,"cantidad":49.9,"moneda":"EUR","categorias1":["Electrónica","Hogar","Informática"],"categorias2":["Textil","Vide
ojuegos","Programas","Electrodomésticos","Menaje","Fotografía y
video","Ordenadores y componentes","Muebles","Decoración e
iluminación","Imagen y
sonido"],"categorias3":[],"tienda":"Pixmania","marca":"A
DVANCE","ean":"3700104417137","upc":"","isbn":""}]}]
org.elasticsearch.index.engine.CreateFailedEngineException:
[cuestamenos][0]
Create failed for [producto#AVxe4QXAS6qm6Nx5GPPQUg]
at

org.elasticsearch.index.engine.robin.RobinEngine.create(RobinEngine.java:245)
at

org.elasticsearch.index.shard.service.InternalIndexShard.create(InternalIndexShard.java:276)
at

org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:139)
at

org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:418)
at

org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.access$100(TransportShardReplicationOperationAction.java:233)
at

org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:331)
at

java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException:

/var/elasticsearch-0.16.0-SNAPSHOT/data/elasticsearch/nodes/0/indices/cuestamenos/0/index/_f7.fdt
(Too many open files)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.(RandomAccessFile.java:212)
at

org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexOutput.(SimpleFSDirectory.java:180)
at

org.apache.lucene.store.NIOFSDirectory.createOutput(NIOFSDirectory.java:85)
at

org.elasticsearch.index.store.support.AbstractStore$StoreDirectory.createOutput(AbstractStore.java:283)
at

org.elasticsearch.index.store.support.AbstractStore$StoreDirectory.createOutput(AbstractStore.java:279)
at org.apache.lucene.index.FieldsWriter.(FieldsWriter.java:65)
at

org.apache.lucene.index.StoredFieldsWriter.initFieldsWriter(StoredFieldsWriter.java:66)
at

org.apache.lucene.index.StoredFieldsWriter.finishDocument(StoredFieldsWriter.java:144)
at

org.apache.lucene.index.StoredFieldsWriter$PerDoc.finish(StoredFieldsWriter.java:192)
at

org.apache.lucene.index.DocumentsWriter$WaitQueue.writeDocument(DocumentsWriter.java:1559)
at

org.apache.lucene.index.DocumentsWriter$WaitQueue.add(DocumentsWriter.java:1578)
at

org.apache.lucene.index.DocumentsWriter.finishDocument(DocumentsWriter.java:1155)
at

org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:832)
at

org.apache.lucene.index.DocumentsWriter.addDocument(DocumentsWriter.java:802)
at
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1998)
at

org.elasticsearch.index.engine.robin.RobinEngine.innerCreate(RobinEngine.java:328)
at

org.elasticsearch.index.engine.robin.RobinEngine.create(RobinEngine.java:238)
... 8 more
Any clues?
Salu2,
Quique.

--
Joaquin Cuenca Abela -- presspeople.com: Fuentes de prensa y comunicados

--
Joaquin Cuenca Abela -- presspeople.com: Fuentes de prensa y comunicados


(Clinton Gormley) #5

Hi Joaquin

raise the no_files of the user running elasticsearch, this is done
typically adding to /etc/security/limits.conf the lines:

Great explanation. Would you be prepared to change it into a tutorial?

If so, you can fork the github repo for elasticsearch.org here:
https://github.com/elasticsearch/elasticsearch.github.com

and once done, send a pull request.

many thanks

clint

--
Web Announcements Limited is a company registered in England and Wales,
with company number 05608868, with registered address at 10 Arvon Road,
London, N5 1PR.


(Joaquin Cuenca Abela) #6

On Tue, Apr 5, 2011 at 11:39 AM, Clinton Gormley
clinton@iannounce.co.uk wrote:

Hi Joaquin

raise the no_files of the user running elasticsearch, this is done
typically adding to /etc/security/limits.conf the lines:

Great explanation. Would you be prepared to change it into a tutorial?

If so, you can fork the github repo for elasticsearch.org here:
https://github.com/elasticsearch/elasticsearch.github.com

and once done, send a pull request.

sure, I'll do it asap

--
Joaquin Cuenca Abela -- presspeople.com: Fuentes de prensa y comunicados


(system) #7