-
Notifications
You must be signed in to change notification settings - Fork 1
/etc/init.d/varnish: line 54: ulimit: open files: cannot modify limit: Operation not permitted #1
Comments
Hi Natea, is this docker running on openshift or something? .. there might be ulimit on number of inodes .. Plone itself extracts a lot of files into the installation, I used to face ulimit issue on inode on OpenShift because of that .. Regards |
oh wait .. reading the error again .. that looks like file descriptor limits ... try checking if you can increase that .. http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/ |
bash-4.1# cat /proc/sys/fs/file-max 202174 bash-4.1# ulimit -Hn 4096 bash-4.1# ulimit -Sn 1024 bash-4.1# sysctl -w fs.file-max=100000 error: "Read-only file system" setting key "fs.file-max" It's a Docker container, running under boot2docker (not OpenShift). On Mon, Oct 27, 2014 at 5:40 AM, Izhar Firdaus [email protected]
[email protected] |
ah ... hurm .. the soft ulimit is 1024, hard limit is 4096 ... while haproxy seems to be expecting 4000 i'm not that familiar on how ulimit settings work on docker yet .. probably its using the host's limit (thus the permission issue)? are you using the default maxconn value on platocdp haproxy (which is only 1000) .. or some other value? .. perhaps playing around with haproxy.cfg maxconn and see if it starts on docker? for varnish you might want to checkout https://wikitech.wikimedia.org/wiki/Varnish and see which settings you can play around .. the issue here seems to be varnish and haproxy running on docker lack the priviledge for it to change ulimit ... rather than plone/platocdp itself . |
Hi Natea, I just created docker configurations for latest platocdp, they work nicely now https://github.com/koslab/PlatoCDP/tree/master/docker |
no varnish yet however |
I attempted to install PlatoCDP using the instructions on your website, and ran into a couple problems around ulimit. (see below)
What's weird is that when I run 'ulimit' it says that it's set to 'unlimited'
bash-4.1# ulimit
unlimited
What are the minimal memory requirements to run PlatoCDP? I was trying to get it running in a Docker container, so it's possible that the default memory allotted was too low. The good news is that Plone/Zope seem to be starting up w/o any complaints.
The text was updated successfully, but these errors were encountered: