Increase open file limit for OpenDaylight 99/14399/1
authorStanislaw Kardach <stanislaw.kardach@cavium.com>
Sun, 15 May 2016 01:14:43 +0000 (18:14 -0700)
committerStanislaw Kardach <stanislaw.kardach@cavium.com>
Thu, 19 May 2016 21:49:44 +0000 (23:49 +0200)
commit96054a3b1561115e50b6976c7a75b4a363bd69cb
treea166743fe988c6f726790c859641651d0439bcf8
parenteca0374193717189f287174587ac42d79f9061ff
Increase open file limit for OpenDaylight

Upstart scripts by default do not run scripts in a shell which results
in limits from `/etc/security/limits.conf` not be taken into account
and results in the default value (4096) to be taken. This may prove
problematic for OpenDaylight during initialization. On Cavium ThunderX
we have noticed OpenFlow controller initialization failures caused by
hitting this limit.
OPNFV is increasing the `nofile` limit to 112640 for OpenStack services
which is why I'm using this value here.
Bug report filed to Fuel@OPNFV and will be released in Colorado (see
[1]).

This is a cherry-pick of 39f77acb6d4cdcbea04a817b01f67cad8f202c1d since
the fix in `openstack/fuel-plugin-opendaylight` targets C-release and
this bugfix is critical for arm64.

[1] https://jira.opnfv.org/browse/FUEL-140

Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
patches/fuel-plugin-opendaylight/0002-Increase-open-file-limit-for-OpenDaylight.patch [new file with mode: 0644]