You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by "Reylak (via GitHub)" <gi...@apache.org> on 2023/04/21 08:27:43 UTC

[GitHub] [openwhisk] Reylak commented on issue #5397: Building is very slow because of Python 2 and `ulimit` of number of open files

Reylak commented on issue #5397:
URL: https://github.com/apache/openwhisk/issues/5397#issuecomment-1517468276

   The same applies to CouchDB (see [the issue at openwhisk-deploy-kube](https://github.com/apache/openwhisk-deploy-kube/issues/673#issuecomment-869067074)). But in this case, it has more to do with using an old version of CouchDB, and I cannot tell if using a more recent version would break things for OpenWhisk.
   
   For the record, the issue can be fixed in an Ansible deployment by adding a ulimit to the deploy task of CouchDB:
   
   ```yaml
   - name: "(re)start CouchDB from '{{ couchdb_image }} ' "
     vars:
       couchdb_image: "{{ couchdb.docker_image | default('apache/couchdb:' ~ couchdb.version ) }}"
       # [...]
       ulimits:
         - "nofile:4096:4096"
       pull: "{{ couchdb.pull_couchdb | default(true) }}"
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org