Ralf Gross
2007-Aug-15 16:04 UTC
[Samba] panic: Unable to open new log file ... Too many open files
Hi, debian etch + samba 3.0.24-6 on 2.6.18-4-amd64. Today I got a panic email from samba. [2007/08/14 08:46:55, 0] smbd/nttrans.c:call_nt_transact_ioctl(2338) call_nt_transact_ioctl(0x9005c): Currently not implemented. [2007/08/14 09:25:05, 1] smbd/service.c:make_connection_snum(950) c601356 (...) connect to service FD_Systeme initially as user theckne (uid=5053, gid=1068) (pid 16275) [2007/08/14 18:09:08, 0] lib/fault.c:fault_report(41) ==============================================================[2007/08/14 18:09:08, 0] lib/fault.c:fault_report(42) INTERNAL ERROR: Signal 11 in pid 16275 (3.0.24) Please read the Trouble-Shooting section of the Samba3-HOWTO [2007/08/14 18:09:08, 0] lib/fault.c:fault_report(44) From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf [2007/08/14 18:09:08, 0] lib/fault.c:fault_report(45) ==============================================================[2007/08/14 18:09:08, 0] lib/util.c:smb_panic(1599) PANIC (pid 16275): internal error [....] [2007/08/15 13:47:29, 0] lib/debug.c:reopen_logs(625) Unable to open new log file /var/log/samba/log.c601356: Too many open files [....] [2007/08/15 13:59:29, 0] lib/debug.c:reopen_logs(625) Unable to open new log file /var/log/samba/log.theckne.c601356: Too many open files [2007/08/15 13:59:29, 0] lib/util_sock.c:open_socket_in(798) open_socket_in(): socket() call failed: Too many open files [2007/08/15 13:59:29, 0] lib/util_sock.c:open_socket_in(798) open_socket_in(): socket() call failed: Too many open files [2007/08/15 13:59:29, 0] lib/util_sock.c:open_socket_in(798) open_socket_in(): socket() call failed: Too many open files [2007/08/15 13:59:29, 0] lib/util_sock.c:open_socket_in(798) open_socket_in(): socket() call failed: Too many open files [2007/08/15 13:59:29, 0] lib/util_sock.c:open_socket_in(798) open_socket_in(): socket() call failed: Too many open files [2007/08/15 13:59:29, 0] lib/util_sock.c:open_socket_in(798) open_socket_in(): socket() call failed: Too many open files [2007/08/15 13:59:29, 0] lib/util_sock.c:open_socket_in(798) open_socket_in(): socket() call failed: Too many open files [2007/08/15 13:59:29, 0] lib/util_sock.c:open_socket_in(798) open_socket_in(): socket() call failed: Too many open files [2007/08/15 13:59:29, 0] lib/util_sock.c:open_socket_in(798) open_socket_in(): socket() call failed: Too many open files [....] [2007/08/15 14:03:29, 0] lib/debug.c:reopen_logs(625) Unable to open new log file /var/log/samba/log.theckne.c601356: Too many open files [2007/08/15 14:03:29, 0] passdb/pdb_tdb.c:tdbsam_open(818) tdbsam_open: Failed to open/create TDB passwd [/var/lib/samba/passdb.tdb] [2007/08/15 14:03:29, 0] passdb/pdb_tdb.c:tdbsam_getsampwrid(1095) tdbsam_getsampwnam: failed to open /var/lib/samba/passdb.tdb! [2007/08/15 14:03:29, 0] passdb/pdb_tdb.c:tdbsam_open(818) tdbsam_open: Failed to open/create TDB passwd [/var/lib/samba/passdb.tdb] [2007/08/15 14:03:29, 0] passdb/pdb_tdb.c:tdbsam_getsampwnam(1038) tdbsam_getsampwnam: failed to open /var/lib/samba/passdb.tdb! [2007/08/15 14:03:29, 1] auth/auth_util.c:create_token_from_username(1154) getpwuid(65534) for user nobody failed [2007/08/15 14:03:38, 0] lib/debug.c:reopen_logs(625) Unable to open new log file /var/log/samba/log.theckne.c601356: Too many open files [2007/08/15 17:19:30, 0] lib/fault.c:fault_report(41) ==============================================================[2007/08/15 17:19:30, 0] lib/fault.c:fault_report(42) INTERNAL ERROR: Signal 11 in pid 13962 (3.0.24) Please read the Trouble-Shooting section of the Samba3-HOWTO [2007/08/15 17:19:30, 0] lib/fault.c:fault_report(44) From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf [2007/08/15 17:19:30, 0] lib/fault.c:fault_report(45) ==============================================================[2007/08/15 17:19:30, 0] lib/util.c:smb_panic(1599) PANIC (pid 13962): internal error [2007/08/15 17:19:30, 0] lib/util.c:log_stack_trace(1706) BACKTRACE: 21 stack frames: #0 /usr/sbin/smbd(log_stack_trace+0x1a) [0x5d28da] #1 /usr/sbin/smbd(smb_panic+0x34) [0x5d29b4] #2 /usr/sbin/smbd [0x5c17db] #3 /lib/libpthread.so.0 [0x2b5ce7d41410] #4 /lib/libc.so.6(strnlen+0x70) [0x2b5ce87a9700] #5 /usr/sbin/smbd(safe_strcpy_fn+0x45) [0x5cc195] #6 /usr/sbin/smbd(strupper_static+0x1e) [0x5cc28e] #7 /usr/sbin/smbd [0x6137e2] #8 /usr/sbin/smbd(trustdom_cache_fetch+0x45) [0x613aa5] #9 /usr/sbin/smbd(is_trusted_domain+0x60) [0x60b530] #10 /usr/sbin/smbd(make_user_info_map+0x1b0) [0x60f1c0] #11 /usr/sbin/smbd [0x60ffb6] #12 /usr/sbin/smbd [0x4e3417] #13 /usr/sbin/smbd(ntlmssp_update+0x23f) [0x4e2e2f] #14 /usr/sbin/smbd(auth_ntlmssp_update+0x2a) [0x60fd5a] #15 /usr/sbin/smbd(reply_sesssetup_and_X+0x15ec) [0x482b0c] #16 /usr/sbin/smbd [0x4a8cc1] #17 /usr/sbin/smbd(smbd_process+0x6c0) [0x4a9f40] #18 /usr/sbin/smbd(main+0xe5e) [0x65bade] #19 /lib/libc.so.6(__libc_start_main+0xda) [0x2b5ce87534ca] #20 /usr/sbin/smbd [0x446bea] [2007/08/15 17:19:30, 0] lib/util.c:smb_panic(1607) smb_panic(): calling panic action [/usr/share/samba/panic-action 13962] [2007/08/15 17:19:30, 0] lib/util.c:smb_panic(1615) smb_panic(): action returned status 0 [2007/08/15 17:19:30, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd # sysctl fs.file-max fs.file-nr fs.file-max = 569133 fs.file-nr = 1920 0 569133 I found this "Too many open files" message only in one users logfile. Is this something to worry about or maybe a client problem? Ralf