Too many files open on Mac Neo4J












0















Hi I am getting the error for having too many open files with NEo4J.




2018-11-28 22:24:06.233+0000 ERROR [o.n.k.i.a.i.IndexPopulationJob]
Failed to populate index:



[:MPO_TY(modelId) [provider: {key=lucene+native, version=2.0}]]
/opt/neo4j/neo4j-enterprise-3



.4.9/data/databases/graph.db/schema/index/lucene_native-2.0/2001/temporal-1.0/date
(Too many open files) |



GB+Tree[file:/opt/neo4j/neo4j-enterprise-3.4.9/data/databases/graph.db/schema/index/lucene_native-2.0/2001/temporal-1.0/date,



layout:DateLayout[version:0.1, identifier:23754265818300416,
keySize:16, valueSize:0, fixedSize:true], generation:1/2]



java.io.FileNotFoundException:
/opt/neo4j/neo4j-enterprise-3.4.9/data/databases/graph.db/schema/index/lucene_native-2.0/2001/temporal-1.0/date
(Too many open files) |



GB+Tree[file:/opt/neo4j/neo4j-enterprise-3.4.9/data/databases/graph.db/schema/index/lucene_native-2.0/2001/temporal-1.0/date,



layout:DateLayout[version:0.1, identifier:23754265818300416,
keySize:16, valueSize:0, fixedSize:true], generation:1/2]




As you can see from the path I am using neo4j enterprise 3.4.9 and...




  • Spring Boot

  • Java 8

  • macOS High Sierra 10.13.5


This is a relatively well documented problem and so far I have tried




  1. Adding the -XX:-MaxFDLimit https://support.structr.com/article/253

  2. Changing the environment variable NEO4J_ULIMIT_NOFILE https://neo4j.com/developer/kb/how-do-i-set-max-open-files-for-debian-installs/

  3. Change the /Library/LaunchDaemons/limit.maxproc.plist and limit.maxfiles.plist files https://gist.github.com/tombigel/d503800a282fcadbee14b537735d202c. Both of which show it worked when I use launchctl limit maxfiles to check.

  4. I used ulimit -n 200000 and ulimit -u 200000 and placed oth in my .bash_profile

  5. I edited /etc/pam.d/su


Please help!!










share|improve this question





























    0















    Hi I am getting the error for having too many open files with NEo4J.




    2018-11-28 22:24:06.233+0000 ERROR [o.n.k.i.a.i.IndexPopulationJob]
    Failed to populate index:



    [:MPO_TY(modelId) [provider: {key=lucene+native, version=2.0}]]
    /opt/neo4j/neo4j-enterprise-3



    .4.9/data/databases/graph.db/schema/index/lucene_native-2.0/2001/temporal-1.0/date
    (Too many open files) |



    GB+Tree[file:/opt/neo4j/neo4j-enterprise-3.4.9/data/databases/graph.db/schema/index/lucene_native-2.0/2001/temporal-1.0/date,



    layout:DateLayout[version:0.1, identifier:23754265818300416,
    keySize:16, valueSize:0, fixedSize:true], generation:1/2]



    java.io.FileNotFoundException:
    /opt/neo4j/neo4j-enterprise-3.4.9/data/databases/graph.db/schema/index/lucene_native-2.0/2001/temporal-1.0/date
    (Too many open files) |



    GB+Tree[file:/opt/neo4j/neo4j-enterprise-3.4.9/data/databases/graph.db/schema/index/lucene_native-2.0/2001/temporal-1.0/date,



    layout:DateLayout[version:0.1, identifier:23754265818300416,
    keySize:16, valueSize:0, fixedSize:true], generation:1/2]




    As you can see from the path I am using neo4j enterprise 3.4.9 and...




    • Spring Boot

    • Java 8

    • macOS High Sierra 10.13.5


    This is a relatively well documented problem and so far I have tried




    1. Adding the -XX:-MaxFDLimit https://support.structr.com/article/253

    2. Changing the environment variable NEO4J_ULIMIT_NOFILE https://neo4j.com/developer/kb/how-do-i-set-max-open-files-for-debian-installs/

    3. Change the /Library/LaunchDaemons/limit.maxproc.plist and limit.maxfiles.plist files https://gist.github.com/tombigel/d503800a282fcadbee14b537735d202c. Both of which show it worked when I use launchctl limit maxfiles to check.

    4. I used ulimit -n 200000 and ulimit -u 200000 and placed oth in my .bash_profile

    5. I edited /etc/pam.d/su


    Please help!!










    share|improve this question



























      0












      0








      0








      Hi I am getting the error for having too many open files with NEo4J.




      2018-11-28 22:24:06.233+0000 ERROR [o.n.k.i.a.i.IndexPopulationJob]
      Failed to populate index:



      [:MPO_TY(modelId) [provider: {key=lucene+native, version=2.0}]]
      /opt/neo4j/neo4j-enterprise-3



      .4.9/data/databases/graph.db/schema/index/lucene_native-2.0/2001/temporal-1.0/date
      (Too many open files) |



      GB+Tree[file:/opt/neo4j/neo4j-enterprise-3.4.9/data/databases/graph.db/schema/index/lucene_native-2.0/2001/temporal-1.0/date,



      layout:DateLayout[version:0.1, identifier:23754265818300416,
      keySize:16, valueSize:0, fixedSize:true], generation:1/2]



      java.io.FileNotFoundException:
      /opt/neo4j/neo4j-enterprise-3.4.9/data/databases/graph.db/schema/index/lucene_native-2.0/2001/temporal-1.0/date
      (Too many open files) |



      GB+Tree[file:/opt/neo4j/neo4j-enterprise-3.4.9/data/databases/graph.db/schema/index/lucene_native-2.0/2001/temporal-1.0/date,



      layout:DateLayout[version:0.1, identifier:23754265818300416,
      keySize:16, valueSize:0, fixedSize:true], generation:1/2]




      As you can see from the path I am using neo4j enterprise 3.4.9 and...




      • Spring Boot

      • Java 8

      • macOS High Sierra 10.13.5


      This is a relatively well documented problem and so far I have tried




      1. Adding the -XX:-MaxFDLimit https://support.structr.com/article/253

      2. Changing the environment variable NEO4J_ULIMIT_NOFILE https://neo4j.com/developer/kb/how-do-i-set-max-open-files-for-debian-installs/

      3. Change the /Library/LaunchDaemons/limit.maxproc.plist and limit.maxfiles.plist files https://gist.github.com/tombigel/d503800a282fcadbee14b537735d202c. Both of which show it worked when I use launchctl limit maxfiles to check.

      4. I used ulimit -n 200000 and ulimit -u 200000 and placed oth in my .bash_profile

      5. I edited /etc/pam.d/su


      Please help!!










      share|improve this question
















      Hi I am getting the error for having too many open files with NEo4J.




      2018-11-28 22:24:06.233+0000 ERROR [o.n.k.i.a.i.IndexPopulationJob]
      Failed to populate index:



      [:MPO_TY(modelId) [provider: {key=lucene+native, version=2.0}]]
      /opt/neo4j/neo4j-enterprise-3



      .4.9/data/databases/graph.db/schema/index/lucene_native-2.0/2001/temporal-1.0/date
      (Too many open files) |



      GB+Tree[file:/opt/neo4j/neo4j-enterprise-3.4.9/data/databases/graph.db/schema/index/lucene_native-2.0/2001/temporal-1.0/date,



      layout:DateLayout[version:0.1, identifier:23754265818300416,
      keySize:16, valueSize:0, fixedSize:true], generation:1/2]



      java.io.FileNotFoundException:
      /opt/neo4j/neo4j-enterprise-3.4.9/data/databases/graph.db/schema/index/lucene_native-2.0/2001/temporal-1.0/date
      (Too many open files) |



      GB+Tree[file:/opt/neo4j/neo4j-enterprise-3.4.9/data/databases/graph.db/schema/index/lucene_native-2.0/2001/temporal-1.0/date,



      layout:DateLayout[version:0.1, identifier:23754265818300416,
      keySize:16, valueSize:0, fixedSize:true], generation:1/2]




      As you can see from the path I am using neo4j enterprise 3.4.9 and...




      • Spring Boot

      • Java 8

      • macOS High Sierra 10.13.5


      This is a relatively well documented problem and so far I have tried




      1. Adding the -XX:-MaxFDLimit https://support.structr.com/article/253

      2. Changing the environment variable NEO4J_ULIMIT_NOFILE https://neo4j.com/developer/kb/how-do-i-set-max-open-files-for-debian-installs/

      3. Change the /Library/LaunchDaemons/limit.maxproc.plist and limit.maxfiles.plist files https://gist.github.com/tombigel/d503800a282fcadbee14b537735d202c. Both of which show it worked when I use launchctl limit maxfiles to check.

      4. I used ulimit -n 200000 and ulimit -u 200000 and placed oth in my .bash_profile

      5. I edited /etc/pam.d/su


      Please help!!







      macos neo4j spring-data-neo4j file-descriptor






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 4 '18 at 13:13









      Chris Skardon

      5,04322439




      5,04322439










      asked Nov 28 '18 at 23:05









      big_mike_boiiibig_mike_boiii

      1,66011741




      1,66011741
























          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53529450%2ftoo-many-files-open-on-mac-neo4j%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53529450%2ftoo-many-files-open-on-mac-neo4j%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Lallio

          Futebolista

          Jornalista