Have to little knowledge of Ubuntu, so I'm not following to 100% There's a neo4j user and when I check running processes/services with "ps auxw", it seems to be the neo4j user that it's running under.
So for me, changing the settings and rebooting the machine and then inspecting the boot logs, there should not be any warnings, right? //Daniel On Wednesday, 20 August 2014 14:04:36 UTC+2, AlanR wrote: > > From what I know, those things are affected by the userid *you start > as*, not by the userid you become. > > Changing userid (except if you do an su - neo4j "startup script") does not > change your inherited limits (or at least that's what I recall). > > So, I suspect if you use a userid there, it has to be root - not neo4j. > That's what I recall that I did that worked. [Then I did a complete > reinstall, and haven't looked at it since then]. > > > -- Alan Robertson > [email protected] <javascript:> > > On 08/20/2014 12:51 AM, Johannes Mockenhaupt wrote: > > If you're using the tar achive from the Neo4j website (as opposed to a > .deb package): did you set the 'wrapper.user=' variable in > 'conf/neo4j-wrapper.conf?' > > Am Dienstag, 19. August 2014 21:23:42 UTC+2 schrieb Daniel Wertheim: >> >> Still the same. >> >> //Daniel >> >> On Tuesday, 19 August 2014 09:58:12 UTC+2, Stefan Armbruster wrote: >>> >>> Regarding the first warning: on Ubuntu you need to set the limits in a >>> seperate file within `/etc/security/limits.d` directory. E.g. I'm >>> using `/etc/security/limits.d/neo4j.conf` with these contents: >>> * soft nofile 40000 >>> * hard nofile 40000 >>> >>> Cheers, >>> Stefan >>> >>> 2014-08-18 21:14 GMT+02:00 Daniel Wertheim <[email protected]>: >>> > After install, the service and all is running under the neo4j user, >>> but when >>> > restarting the service there are two warnings being promted. >>> > >>> > The first one: "Warning: Max 1024 open files...."; has various >>> suggestions >>> > on Stackoverflow and the manual I followed the steps listed in the >>> manual >>> > but when restarting the service (I have tried to reboot as well), it >>> still >>> > prompts about the same number of files. >>> > >>> > The second: "Warning: not changing user". >>> > >>> > Anyone that has input on how to actually solve these two warnings? For >>> the >>> > first warning people seem to configure it for root instead of neo4j, >>> but >>> > that feels wrong. >>> > >>> > //Daniel >>> > >>> > -- >>> > You received this message because you are subscribed to the Google >>> Groups >>> > "Neo4j" group. >>> > To unsubscribe from this group and stop receiving emails from it, send >>> an >>> > email to [email protected]. >>> > For more options, visit https://groups.google.com/d/optout. >>> >> -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
