Univention Bugzilla – Full Text Bug Listing |
Summary: | Samba Daemon is started with nofile 1024 after Boot | ||
---|---|---|---|
Product: | UCS | Reporter: | Tim Petersen <petersen> |
Component: | Samba4 | Assignee: | Arvid Requate <requate> |
Status: | CLOSED FIXED | QA Contact: | Felix Botner <botner> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, requate, walkenhorst |
Version: | UCS 3.2 | ||
Target Milestone: | UCS 3.2-3-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
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: | |||
Bug Depends on: | |||
Bug Blocks: | 36216 |
Description
Tim Petersen
2014-04-09 15:09:42 CEST
*** Bug 36165 has been marked as a duplicate of this bug. *** The init script now uses ulimit -n to set the value via UCR samba/max_open_files also for the main "samba" processes. Advisory: 2014-10-13-samba.yaml FAIL - UCS 4.0 ?? OK - YAML OK - works with errata3.2-3 -> reboot -> ssh 10.200... root@master:-> for i in $(pidof samba smbd nmbd); do cat /proc/$i/limits | \ grep "Max open file" ; done Max open files 32808 32808 files Max open files 32808 32808 files Max open files 32808 32808 files Max open files 32808 32808 files Max open files 32808 32808 files Max open files 32808 32808 files Max open files 32808 32808 files Max open files 32808 32808 files Max open files 32808 32808 files Max open files 32808 32808 files Max open files 32808 32808 files Max open files 32808 32808 files Max open files 32828 32828 files Max open files 32828 32828 files Max open files 32808 32808 files Max open files 32808 32808 files > FAIL - UCS 4.0 ??
Should be there, see 4.0-0-0-ucs/2:4.2.0~rc1-1.
(In reply to Arvid Requate from comment #4) > > FAIL - UCS 4.0 ?? > > Should be there, see 4.0-0-0-ucs/2:4.2.0~rc1-1. OK, Just in case someone is wondering about the peculiar default value for samba/max_open_files which is applied here: 32808 = 2 x 16404 (see bug 24165). 16404 used to be some default in Samba (don't ask). Recently their loadparm default was adjusted to 16384 (= 32768 / 2). Sounds like a compelling reason to adjust our default as well. At some point. |