Russell Aspinwall
2003-Feb-21 09:27 UTC
[Samba] Samba 2.2.7a 64bit executable on Solaris 8
Good Morning, I recently compiled Samba 2.2.7a as a 64bit executable on Solaris 8. The Solaris 8 server is configured to permit 65535 files to be open, while Samba has been configured to allow 65500 files to be open. These large number of files are required to permit simulataneous compilations to take place a single build server, though there are multiple build servers. Last time I tried to use Samba (version 2.2.3a) this did not work, however version 2.2.7a is working fine, however Samba is complaining about too many files being open. [2003/02/21 06:01:11, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:07:20, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:10:09, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:10:09, 0] lib/username.c:(130) can't open username map /opt/samba/lib/smbusers. Error Too many open files [2003/02/21 06:10:09, 0] lib/username.c:(130) can't open username map /opt/samba/lib/smbusers. Error Too many open files [2003/02/21 06:10:20, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:16:20, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:19:24, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:22:24, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:28:24, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:31:24, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:34:30, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:37:30, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:40:32, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:43:35, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files [2003/02/21 06:46:38, 0] lib/debug.c:(348) Unable to open new log file /opt/samba/var/log.smbd: Too many open files As Samba 2.2.7a is working and the compilations (and have been checked ) are taking place I am not unduly worried. However there is always the possiblity of a problem so would like to identify why Samba 2.2.7a is complaining in the log.smbd file. -- Regards Russell Network and Systems Administrator Flomerics Ltd Email: russell.aspinwall at flomerics.co.uk 81 Bridge Road Telephone: 020-8941-8810 x3116 Hampton Court Facsimile: 020-8941-8730 Surrey, KT8 9HH, UK
Leroy van Logchem
2003-Feb-21 09:48 UTC
[Samba] Samba 2.2.7a 64bit executable on Solaris 8
Did you check: ulimit -a / rlim_fd_cur and rlim_fd_max kernel parameters? Try: # adb -kw (wait one sec) rlim_fd_cur/D (exit with ^D) Regards, Leroy> I recently compiled Samba 2.2.7a as a 64bit executable on Solaris 8. > The Solaris 8 server is configured to permit 65535 files to be open, > while Samba has been configured to allow 65500 files to be open. > These large number of files are required to permit simulataneous > compilations to take place a single build server, though there are > multiple build servers.> Unable to open new log file /opt/samba/var/log.smbd: Too many open files > [2003/02/21 06:07:20, 0] lib/debug.c:(348)