After upgrading my printservers from 3.6.23 to 4.1.7 three weeks ago I noticed a higher CPU usage than usual by smbd. I have these lines in my smb.conf: [print$] .. root preexec = /usr/bin/renice +18 -p %d [printers] .. root preexec = /usr/bin/renice +18 -p %d When testing both versions, I noticed that Samba 3.6 reniced its processes both when user was adding a new printer, and when user submitted a job. Samba 4.1 renices only printer-adding processes. Processes that receive a print job are not reniced. Is this behavior expected with 4.1?
Thanks for the report Alex. Are you using an internal or external spoolss server? "root preexec" commands are only executed by smbd processes forked to handle client connections - the parameter is ignored by external spoolss processes. That said, is this bug still an issue, given that bug 10652 is now fixed?
Should be fixed with bug #10652