Neo4j WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual

前端 未结 8 1641
孤街浪徒
孤街浪徒 2020-12-13 17:17

I installed Neo4j on Ubuntu 12.04 using these instructions: http://www.neo4j.org/download/linux

wget -O - http://debian.neo4j.org/neotechnology.gpg.key | apt         


        
8条回答
  •  借酒劲吻你
    2020-12-13 17:51

    This worked for me on Arch Linux (x86_64), where prior to these modifications ulimit -n was 1024):

    1. Edit /etc/pam.d/su, add:

      session required pam_limits.so

    2. Edit both

      /etc/systemd/system.conf

      /etc/systemd/user.conf

      add to each (whatever value you desire: I chose 100,000):

      DefaultLimitNOFILE=100000

    3. Reboot.

      $ ulimit -n 100000

    Based on

    • https://ro-che.info/articles/2017-03-26-increase-open-files-limit

    • https://wiki.archlinux.org/index.php/Limits.conf

提交回复
热议问题