Bug 26277 - max open files für größere Umgebungen zu gering
max open files für größere Umgebungen zu gering
Status: CLOSED FIXED
Product: UCS extended documentation
Classification: Unclassified
Component: Performance guide
unspecified
Other Linux
: P5 normal (vote)
: UCS 4.0-1-errata
Assigned To: Philipp Hahn
Arvid Requate
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-28 12:46 CET by Moritz Muehlenhoff
Modified: 2015-02-10 14:38 CET (History)
5 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2012-02-28 12:46:21 CET
Das ist was für den Performance Guide.

+++ This bug was initially created as a clone of Bug #24165 +++

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
Comment 1 Ingo Steuwer univentionstaff 2013-08-23 09:50:59 CEST
Bug #32327 (max inotify childs) should be documented, too.
Comment 3 Arvid Requate univentionstaff 2015-01-26 18:44:06 CET
ok
Comment 4 Moritz Muehlenhoff univentionstaff 2015-02-10 14:38:42 CET
Released:
http://docs.univention.de/performance-guide-3.2.html#samba