Univention Bugzilla – Bug 36165
samba/max_open_files doesn't apply.
Last modified: 2014-10-14 09:29:17 CEST
The UCR settings for security/limits/user/*/soft/nofile and security/limits/user/*/hard/nofile are not applied to the root user (see Bug 27618). This causes issues in Samba where the samba/max_open_files setting cannot go beyond the system limits. We should also set ucr set security/limits/user/root/soft/nofile=32828 \ security/limits/user/root/hard/nofile=32828 I don't know if this in enough, in my samba4 UCS 4.0MS2 Master the main process still was limited to 1024, but the forked smbds showed 32828. Maybe we need to put something like "ulimit -n $samba_max_open_files" into the init scripts. We may also want to consider Bug 34514 when putting this one on the agenda.
*** This bug has been marked as a duplicate of bug 34514 ***