[Samba] too many open files , samba crashes

Stephan Reichenbach stephan.reichenbach at addcom.de
Thu Mar 13 16:33:11 GMT 2003


hello,


using SuSE 7.3 with all Patches and SAMBA 2.2.7a-SuSE

after a couple of days too many files are opend (bejond 16000) and samba hast to
be totally stopped and restartet.
the log tells us the following:

[2003/03/13 09:21:44, 0] smbd/posix_acls.c:create_canon_ace_lists(919)
  create_canon_ace_lists: unable to map SID S-1-5-21-823518204-1202660629-842925246-2721 to uid or gid.
[2003/03/13 09:31:29, 0] lib/util.c:close_low_fds(470)
  Can't open /dev/null
[2003/03/13 09:31:29, 0] tdb/tdbutil.c:tdb_log(531)
  tdb(/var/lib/samba/connections.tdb): tdb_reopen: open failed (Too many open files in system)
[2003/03/13 09:31:29, 0] locking/brlock.c:brl_init(235)
  Failed to open byte range locking database
[2003/03/13 09:31:29, 0] locking/locking.c:locking_init(328)
  ERROR: Failed to initialise locking database
[2003/03/13 09:31:29, 0] smbd/server.c:open_sockets(275)
  open_sockets: accept: Too many open files in system
[2003/03/13 09:31:29, 0] lib/debug.c:reopen_logs(348)
  Unable to open new log file /var/log/samba/log.smbd: Too many open files in system
[2003/03/13 10:00:13, 0] smbd/posix_acls.c:create_canon_ace_lists(919)
  create_canon_ace_lists: unable to map SID S-1-5-21-823518204-1202660629-842925246-2184 to uid or gid.
[2003/03/13 10:01:14, 0] lib/debug.c:reopen_logs(348)
  Unable to open new log file /var/log/samba/log.smbd: Too many open files in system
[2003/03/13 10:01:14, 0] lib/util_sock.c:open_socket_in(772)
  open_socket_in(): socket() call failed: Too many open files in system
[2003/03/13 10:01:14, 0] smbd/oplock.c:init_oplocks(1217)
  open_oplock_ipc: Failed to get local UDP socket for address 100007f. Error was Too many open files in system
[2003/03/13 10:01:25, 0] lib/debug.c:reopen_logs(348)
  Unable to open new log file /var/log/samba/log.smbd: Too many open files in system
[2003/03/13 10:01:25, 0] lib/util_sock.c:open_socket_in(772)
  open_socket_in(): socket() call failed: Too many open files in system


any idea to solve the problem?

thanks in advance



More information about the samba mailing list