[Samba] winreg_printer_openkey - Too many open files & /tmp/smbprn.* file not getting deleted
Paul Griffith
paulg at yorku.ca
Fri Dec 17 15:51:19 UTC 2021
Hello Samba Team,
I am experiencing a strange issue with our Samba file server. It isn't deleting temporary print files /tmp/smbprn.* .
I believe this is related to the follow error in the log files.
regdb_open: Failed to open /local/samba/locks/registry.tdb! (Too many open files)
[2021/12/17 10:29:57.607764, 0, pid=31877, effective(18109, 2000), real(18109, 0)] ../../source3/rpc_client/cli_winreg_spoolss.c:245(winreg_printer_openkey)
winreg_printer_openkey: Could not open HKLM hive: WERR_TOO_MANY_OPEN_FILES
[2021/12/17 10:29:57.610852, 0, pid=31877, effective(18109, 2000), real(18109, 0)] ../../source3/registry/reg_backend_db.c:890(regdb_open)
regdb_open: Failed to open /local/samba/locks/registry.tdb! (Too many open files)
[2021/12/17 10:29:57.611007, 0, pid=31877, effective(18109, 2000), real(18109, 0)] ../../source3/rpc_client/cli_winreg_spoolss.c:245(winreg_printer_openkey)
We are running Samba 4.14.11 on CentOS 7.9.2009. I don't remember seeing this issue in 4.14.9, it may have started with 4.14.10.
No config changes on our end.
ls -l /tmp/smbprn* | wc -l
20682
Any ideas?
Regards,
Paul
More information about the samba
mailing list