User Tools

Site Tools


ubuntu:samba:resolve_rlimit_max_below_minimum_windows_limit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:samba:resolve_rlimit_max_below_minimum_windows_limit [2019/12/04 19:07] peterubuntu:samba:resolve_rlimit_max_below_minimum_windows_limit [2023/06/09 16:58] (current) – [Temporarily change limits] peter
Line 7: Line 7:
 </code> </code>
  
-This is just a warning.+<WRAP info> 
 +**NOTE:**  This is just a warning.
  
-On MS Windows the number of file handlers on the client and the server must be identical, else you will see the "too many files open" message when e. g. copying files over the network.+  * On MS Windows the number of file handlers on the client and the server must be identical, else you will see the "too many files open" message when e. g. copying files over the network
 +  * More recent Samba versions take care of this on their own. 
 +  * However, if you want to remove this warning, you can do so by changing your local file limits. 
 +  * It is always useful to distinguish local (user or session) limits and global (system wide) limits
  
-More recent Samba versions take care of this on their own. +</WRAP>
- +
-However, if you want to remove this warning, you can do so by changing your local file limits. +
- +
-It is always useful to distinguish local (user or session) limits and global (system wide) limits. +
  
 ---- ----
Line 31: Line 31:
 </code> </code>
  
-Chances are good that your global limits far exceed your local limits.+<WRAP info> 
 +**NOTE:**  Chances are good that your global limits far exceed your local limits.
  
-The typical GNU/Linux limit is in the 100k range. +  * The typical GNU/Linux limit is in the 100k range. 
- +  You can change this value temporarily by executing:
-You can change this value temporarily by executing+
  
 <code bash> <code bash>
Line 43: Line 43:
 or permanently by editing **/etc/sysctl.conf** and running **sysctl -p**. or permanently by editing **/etc/sysctl.conf** and running **sysctl -p**.
  
---+</WRAP> 
 + 
 +----
  
 ===== Check local limits ===== ===== Check local limits =====
  
 +<WRAP info>
 **NOTE**:  Run these commands as the user which is running Samba. **NOTE**:  Run these commands as the user which is running Samba.
 +</WRAP>
  
 Hard limits are enforced by the system: Hard limits are enforced by the system:
Line 77: Line 81:
 </code> </code>
  
 +<WRAP info>
 +**NOTE:**  This will show you hard and soft limits for the local session.
  
-This will show you hard and soft limits for the local session.+  * The hard limit is enforced by the system, while the soft limit is enforced by the local session
 +  * You can increase the local soft limit up to the global hard limit, if necessary.
  
-The hard limit is enforced by the system, while the soft limit is enforced by the local session. +</WRAP>
- +
-You can increase the local soft limit up to the global hard limit, if necessary.+
  
 ---- ----
Line 102: Line 107:
 </file> </file>
  
-As always the man-pages of both files and the commands offer much more insight.+<WRAP info> 
 +**NOTE:**  The man-pages of both files and the commands offer much more insight. 
 +</WRAP> 
  
ubuntu/samba/resolve_rlimit_max_below_minimum_windows_limit.1575486464.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki