brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neykov <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Riak uses ulimit configuration re...
Date Mon, 15 Jun 2015 21:10:59 GMT
Github user neykov commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/691#discussion_r32467270
  
    --- Diff: software/nosql/src/main/java/brooklyn/entity/nosql/riak/RiakNodeSshDriver.java
---
    @@ -314,6 +314,7 @@ public void launch() {
     
             if (isPackageInstall()) {
                 commands.add(addSbinPathCommand());
    +            commands.add(sudo(format("ulimit -n %s", getNumberOfOpenFiles())));
    --- End diff --
    
    This will increase the soft limit, but what about the hard limit? Distributions usually
have a hard limit < 65536 so this will fail.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message