famous max 1024 open files allowed

91 views
Skip to first unread message

Yaron Naveh

unread,
Oct 6, 2012, 10:07:05 AM10/6/12
to ne...@googlegroups.com
I've fixed the famous "Max 1024 open files allowed" warning as per instructions in the documentation and it worked good for a while.
Then I ran out of disk space in my ec2 instance so I increased the size of my volume.
Now when I start neo4j I get the same warning again. However /etc/security/limits.conf and also ulimit -n seem to show me the right value:

root            hard    core            150000
ubuntu          soft    nofile  150000
ubuntu          hard    nofile  150000


$> ulimit -n
140000

Neo runs via user ubuntu.

Any idea?

Peter Neubauer

unread,
Oct 8, 2012, 5:39:16 AM10/8/12
to ne...@googlegroups.com
Yaron,
in that case, there might be something not working properly with
https://github.com/neo4j/packaging/blob/master/standalone/src/main/distribution/shell-scripts/bin/utils#L326
? Could you see if that is the case, maybe fix it?

Cheers,

/peter neubauer

G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer

Neo4j 1.8 GA - http://www.dzone.com/links/neo4j_18_release_fluent_graph_literacy.html
> --
>
>

Yaron Naveh

unread,
Oct 8, 2012, 12:39:34 PM10/8/12
to ne...@googlegroups.com
Thanks, turns out neo4j runs under a different user in the new volume, not sure why

>
> --
>
>

--





--

I'm on Twitter (@YaronNaveh)


Peter Neubauer

unread,
Oct 8, 2012, 1:53:39 PM10/8/12
to ne...@googlegroups.com
That is strange. Could that be something with the Linux setup? Is the
only difference the added volume causing this?

Cheers,

/peter neubauer

G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer

Neo4j 1.8 GA - http://www.dzone.com/links/neo4j_18_release_fluent_graph_literacy.html


> --
>
>

Yaron Naveh

unread,
Oct 8, 2012, 1:57:36 PM10/8/12
to ne...@googlegroups.com
Not sure, I am checking. This does not seem to be related to neo4j but to the system.

Thanks,
Yaron

Peter Neubauer

unread,
Oct 9, 2012, 1:15:15 PM10/9/12
to ne...@googlegroups.com
Yeah,
sounds like it. Let us know how it works out.

Cheers,

/peter neubauer

G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer

Neo4j 1.8 GA - http://www.dzone.com/links/neo4j_18_release_fluent_graph_literacy.html


> --
>
>
Reply all
Reply to author
Forward
0 new messages