Ubuntu 16.04 systemd redis issues with ulimit : <p>I have been having issues with our new redis server after swapping from Ubuntu 14.04 to 16.04. The configuration of the open files limit using all the guides says to change the /etc/security/limits.conf with the following settings</p>

<pre><code>*    soft nofile 65535
*    hard nofile 65535
root soft nofile 65535
root hard nofile 65535
</code></pre>

<p>And also to add to /etc/pam.d/common-session and /etc/pam.d/common-session-noninteractive</p>

<pre><code>session required pam_limits.so
</code></pre>

<p>I have made all of these changes but redis is still starting up with a file limit of 4096 which under production load we quickly reach max connections.</p>
