Bug 27224 - smbstatus: Fehlermeldung zu rlimit_max
smbstatus: Fehlermeldung zu rlimit_max
Status: CLOSED WORKSFORME
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 3.0
Other Linux
: P5 minor (vote)
: UCS 3.0-2
Assigned To: Arvid Requate
Felix Botner
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-22 12:34 CEST by Andreas Büsching
Modified: 2012-07-20 15:24 CEST (History)
2 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 Andreas Büsching univentionstaff 2012-05-22 12:34:15 CEST
Wenn ich smbstatus auf einem Samba4-System aufrufe bekomme ich immer folgende Meldung:

 rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)

Ist das evtl. ein Konfigurationsfehler?
Comment 1 Arvid Requate univentionstaff 2012-05-22 18:38:25 CEST
root@master:/etc/init.d# testparm -vs 2>/dev/null | grep "max open"
        max open files = 16384
root@master:/etc/init.d# ulimit -a | grep open
open files                      (-n) 1024
root@master:/etc/init.d# man smb.conf
=======================================================================
       max open files (G)

           This parameter limits the maximum number of open files that one smbd(8) file serving process may have open for a client at any one time. The This parameter can be
           set very high (16404) as Samba uses only one bit per unopened file. Setting this parameter lower than 16404 will cause Samba to complain and set this value back to
           the minimum of 16404, as Windows 7 depends on this number of open file handles being available.

           The limit of the number of open files is usually set by the UNIX per-process file descriptor limit rather than this parameter so you should never need to touch this
           parameter.

           Default: max open files = 16404
=======================================================================
Comment 2 Felix Botner univentionstaff 2012-07-12 12:41:27 CEST
smbstatus OK, Update von UCS 3.0-1 mit Samba4 auf 3.0-2
smbstatus OK, Update von UCS 3.0-1 mit Samba3 auf 3.0-2 mit Samba4 

Changelog Eintrag nicht notwendig.
Comment 3 Stefan Gohmann univentionstaff 2012-07-20 15:24:17 CEST
UCS 3.0-2 has been released: 
  http://forum.univention.de/viewtopic.php?f=54&t=1905

If this error occurs again, please use "Clone This Bug".