mirror of
https://abf.rosa.ru/djam/samba.git
synced 2025-02-24 09:32:49 +00:00
36 lines
No EOL
1.4 KiB
Diff
36 lines
No EOL
1.4 KiB
Diff
From 35cf08ed071ed50875025c880b48643b350097be Mon Sep 17 00:00:00 2001
|
|
From: Mikhail Novosyolov <m.novosyolov@rosalinux.ru>
|
|
Date: Thu, 7 Feb 2019 21:28:29 +0300
|
|
Subject: [PATCH] Clearer debug about ulimits
|
|
Sent to upstream: https://lists.samba.org/archive/samba-technical/2019-February/132406.html
|
|
|
|
---
|
|
source3/param/loadparm.c | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff -ruN samba-4.12.0_orig/source3/param/loadparm.c samba-4.12.0/source3/param/loadparm.c
|
|
--- samba-4.12.0_orig/source3/param/loadparm.c 2020-01-31 18:25:36.000000000 +0800
|
|
+++ samba-4.12.0/source3/param/loadparm.c 2020-03-19 15:55:35.805646993 +0800
|
|
@@ -308,16 +308,16 @@
|
|
#endif
|
|
|
|
if (sysctl_max < MIN_OPEN_FILES_WINDOWS) {
|
|
- DEBUG(2,("max_open_files: increasing sysctl_max (%d) to "
|
|
- "minimum Windows limit (%d)\n",
|
|
+ DEBUG(2,("max_open_files: it is recommended to increase sysctl_max (%d) "
|
|
+ "to minimum Windows limit (%d) via ulimit\n",
|
|
sysctl_max,
|
|
MIN_OPEN_FILES_WINDOWS));
|
|
sysctl_max = MIN_OPEN_FILES_WINDOWS;
|
|
}
|
|
|
|
if (rlimit_max < MIN_OPEN_FILES_WINDOWS) {
|
|
- DEBUG(2,("rlimit_max: increasing rlimit_max (%d) to "
|
|
- "minimum Windows limit (%d)\n",
|
|
+ DEBUG(2,("rlimit_max: it is recommended to increase rlimit_max (%d) "
|
|
+ "to minimum Windows limit (%d) via ulimit\n",
|
|
rlimit_max,
|
|
MIN_OPEN_FILES_WINDOWS));
|
|
rlimit_max = MIN_OPEN_FILES_WINDOWS;
|
|
--
|
|
2.19.2
|