[cups.bugs] [CRIT] STR #1809: cupsd file descriptors leak
Alex Deiter
tiamat at komi.mts.ru
Wed Jun 28 06:10:37 PDT 2006
[STR New]
We are running Cups 1.2.1 on Solaris 9. Cups build as 64-bit sparcv9
application. Cupsd daemon after three days of work hang with error in
/var/log/cups/error.log:
E [28/Jun/2006:13:23:32 -0300] Unable to open "/dev/null" - Too many open
files.
Solaris settings in /etc/system:
set rlim_fd_max=65536
set rlim_fd_cur=16384
Quantity of printers 108, cupsd.conf:
AccessLog /var/log/cups/access.log
ErrorLog /var/log/cups/error.log
PageLog /var/log/cups/page.log
ServerAdmin root at komi.mts.ru
ServerCertificate /usr/local/etc/ssl/server.crt
ServerKey /usr/local/etc/ssl/server.key
ServerTokens None
LogLevel info
SystemGroup sys root admins
Listen *:631
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
DefaultAuthType Basic
<Location />
Order allow,deny
Allow localhost
</Location>
<Location /admin>
Encryption Required
Order allow,deny
Allow localhost
</Location>
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow localhost
</Location>
<Policy default>
# Job-related operations must be done by the owner or an adminstrator...
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
Purge-Jobs Set- Job-Attributes
Create-Job-Subscription Renew-Subscription Cancel-Subscription Ge
t-Notifications Reprocess-Job Cancel-Current-Job
Suspend-Current-Job Resume-Job
CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an adminstrator to
authenticate...
<Limit Pause-Printer Resume-Printer Set-Printer-Attributes
Enable-Printer Disa ble-Printer
Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs
Deactivate-Printer Activate-Printer
Restart-Printer Shutdown-Printer Startup-Pri
nter Promote-Job Schedule-Job-After CUPS-Add-Printer
CUPS-Delete-Printer CUPS-Ad d-Class
CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
AuthType Basic
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
i found patch with google:
http://www.redhat.com/archives/fedora-cvs-commits/2006-June/msg00341.html
Thanks a lot!
Link: http://www.cups.org/str.php?L1809
Version: 1.2.1
More information about the cups-devel
mailing list