Univention Bugzilla – Bug 24165
max open files für größere Umgebungen zu gering
Last modified: 2013-08-23 09:43:33 CEST
Ticket#: 2011053110000545 Ticket#: 2011102421003249 Aus der log.smbd: --- 2011/05/31 10:50:38.822505, 0] smbd/notify_inotify.c:294(inotify_setup) Failed to init inotify - Too many open files --- bzw. --- [2011/10/24 10:48:45.016578, 0] smbd/notify_inotify.c:294(inotify_setup) Failed to init inotify - Zu viele offene Dateien --- Samba setzt die Limits beim Start selbst anhand der Konfigurationsoption "max open files" (minimal/default 16404). # pgrep -f smbd | while read pid; do grep "open files" /proc/$pid/limits; done Um das Limit zu verdoppeln kann die "/etc/samba/local.conf" erweitert werden: [global] max open files = 32808
Created attachment 3676 [details] Patch für die (3.0)/univention-samba/conffiles/etc/samba/smb.conf.d/01univention-samba_main Mit diesem Patch müsste die Datei /etc/samba/local.conf so angepasst sein, dass sie eine Zeile "max open files" enthält.
Created attachment 3678 [details] Korrigierter Patch
Created attachment 3679 [details] Abermals angepasster Patch.
univention-samba wurde mit dem Patch im Scope ucs3.0-1 neu gebaut.
Da fehlt noch ein "=" params.c:Parameter() - Ignoring badly formed line in configuration file: max open files 3280811 Wird das für Samba4 auch benötigt?
Fixed. In Samba4 wurde der Parameter entfernt.
ok
UCS 3.0-1 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS erneut auftreten, so sollte dieser Bug dupliziert werden: "Clone This Bug"