[csw-devel] SF.net SVN: gar:[21192] csw/mgar/pkg/samba/branches/samba3/files/cswsamba

lblume at users.sourceforge.net lblume at users.sourceforge.net
Fri May 24 20:55:57 CEST 2013


Revision: 21192
          http://gar.svn.sourceforge.net/gar/?rev=21192&view=rev
Author:   lblume
Date:     2013-05-24 18:55:55 +0000 (Fri, 24 May 2013)
Log Message:
-----------
samba/branches/samba3: Increase ulimit -n on start

Modified Paths:
--------------
    csw/mgar/pkg/samba/branches/samba3/files/cswsamba

Modified: csw/mgar/pkg/samba/branches/samba3/files/cswsamba
===================================================================
--- csw/mgar/pkg/samba/branches/samba3/files/cswsamba	2013-05-24 15:10:50 UTC (rev 21191)
+++ csw/mgar/pkg/samba/branches/samba3/files/cswsamba	2013-05-24 18:55:55 UTC (rev 21192)
@@ -13,6 +13,9 @@
 
 case "$1" in
 	start)
+		# Increase the max number of open files to what Samba likes
+		ulimit -S -n 16384
+
 		if [ -f $SMBCONF ]; then
 			echo "Starting samba..."
 			@sbindir@/nmbd -D

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list