OK here we go. At the moment it looks like the problem only exists when I boot up the system, on first start of cupsys. After restarting cupsys it doesn't seem to leak anymore.
At the moment, after 20min uptime, cupsd already has 62 file descriptors open: cupsd 6260 cupsys 0r CHR 1,9 3993 /dev/urandom cupsd 6260 cupsys 1u REG 8,2 6774 130708 /var/log/cups/error_log cupsd 6260 cupsys 2u IPv4 23369 TCP localhost:ipp (LISTEN) cupsd 6260 cupsys 3u unix 0xf78dae40 23370 /var/run/cups/cups.sock cupsd 6260 cupsys 4r FIFO 0,6 23372 pipe cupsd 6260 cupsys 5w FIFO 0,6 23372 pipe [...] cupsd 6260 cupsys 60r FIFO 0,6 29564 pipe cupsd 6260 cupsys 61r FIFO 0,6 29747 pipe cupsd 6260 cupsys 62r FIFO 0,6 29750 pipe cupsd.conf is attached. My printers.conf: # Printer configuration file for CUPS v1.2.4 # Written by cupsd on 2007-04-02 13:29 <Printer dj3650> Info HP DeskJet 3650 hpijs DeviceURI ipp://192.168.1.33:631/printers/dj3650 State Idle StateTime 1174661163 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job </Printer> <DefaultPrinter dj3650_lokal> Info HP Deskjet 3650 Location Büro DeviceURI hp:/usb/deskjet_3600?serial=TH38K110V16B State Idle StateTime 1175513390 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job </Printer> /var/log/cups/error_log looks like this: D [21/Jun/2007:07:58:02 +0200] Discarding unused printer-state-changed event... I [21/Jun/2007:07:58:02 +0200] Saving job cache file "/var/cache/cups/job.cache"... I [21/Jun/2007:07:58:02 +0200] Listening to 127.0.0.1:631 (IPv4) I [21/Jun/2007:07:58:02 +0200] Listening to /var/run/cups/cups.sock (Domain) I [21/Jun/2007:07:58:02 +0200] Loaded configuration file "/etc/cups/cupsd.conf" I [21/Jun/2007:07:58:02 +0200] Using default TempDir of /var/spool/cups/tmp... I [21/Jun/2007:07:58:02 +0200] Cleaning out old temporary files in "/var/spool/cups/tmp"... I [21/Jun/2007:07:58:02 +0200] Configured for up to 100 clients. I [21/Jun/2007:07:58:02 +0200] Allowing up to 100 client connections per host. I [21/Jun/2007:07:58:02 +0200] Using policy "default" as the default! I [21/Jun/2007:07:58:02 +0200] Full reload is required. I [21/Jun/2007:07:58:02 +0200] Loaded MIME database from '/usr/share/cups/mime:/etc/cups': 34 types, 39 filters... D [21/Jun/2007:07:58:02 +0200] Loading printer dj3650... D [21/Jun/2007:07:58:02 +0200] Loading printer dj3650_lokal... D [21/Jun/2007:07:58:02 +0200] cupsdLoadRemoteCache: Not loading remote cache. I [21/Jun/2007:07:58:02 +0200] Loading job cache file "/var/cache/cups/job.cache"... D [21/Jun/2007:07:58:02 +0200] Loading job 2 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 3 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 4 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 5 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 6 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 7 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 8 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 9 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 10 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 11 from cache... D [21/Jun/2007:07:58:02 +0200] Loading attributes for job 11... D [21/Jun/2007:07:58:02 +0200] Loading job 12 from cache... D [21/Jun/2007:07:58:02 +0200] Loading attributes for job 12... D [21/Jun/2007:07:58:02 +0200] Loading job 13 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 14 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 15 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 16 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 17 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 18 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 19 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 20 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 21 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 22 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 23 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 24 from cache... D [21/Jun/2007:07:58:02 +0200] Loading job 25 from cache... I [21/Jun/2007:07:58:02 +0200] Full reload complete. I [21/Jun/2007:07:58:02 +0200] Listening to 127.0.0.1:631 on fd 2... I [21/Jun/2007:07:58:02 +0200] Listening to /var/run/cups/cups.sock on fd 3... D [21/Jun/2007:07:58:02 +0200] [Job 11] Sending job to queue tagged as raw... D [21/Jun/2007:07:58:02 +0200] Discarding unused printer-state-changed event... D [21/Jun/2007:07:58:02 +0200] job-sheets=none,none D [21/Jun/2007:07:58:02 +0200] banner_page = 0 D [21/Jun/2007:07:58:02 +0200] [Job 11] argv[0]="dj3650" D [21/Jun/2007:07:58:02 +0200] [Job 11] argv[1]="11" D [21/Jun/2007:07:58:02 +0200] [Job 11] argv[2]="mstreibe" D [21/Jun/2007:07:58:02 +0200] [Job 11] argv[3]="omi1" D [21/Jun/2007:07:58:02 +0200] [Job 11] argv[4]="1" D [21/Jun/2007:07:58:02 +0200] [Job 11] argv[5]="PageSize=A4 job-uuid=urn:uuid:e52be993-ad1c-3819-56f5-56a4ba103adc" D [21/Jun/2007:07:58:02 +0200] [Job 11] argv[6]="/var/spool/cups/d00011-001" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[1]="CUPS_DATADIR=/usr/share/cups" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[6]="CUPS_SERVERROOT=/etc/cups" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[7]="CUPS_STATEDIR=/var/run/cups" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[9]="[EMAIL PROTECTED]" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[10]="SOFTWARE=CUPS/1.2.11" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[11]="TMPDIR=/var/spool/cups/tmp" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[12]="TZ=Europe/Berlin" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[13]="USER=root" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[15]="CUPS_ENCRYPTION=IfRequested" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[16]="IPP_PORT=631" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[17]="CHARSET=utf-8" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[18]="LANG=de_DE" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[19]="PPD=/etc/cups/ppd/dj3650.ppd" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[20]="RIP_MAX_CACHE=8m" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[21]="CONTENT_TYPE=application/postscript" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[22]="DEVICE_URI=ipp://192.168.1.33:631/printers/dj3650" D [21/Jun/2007:07:58:02 +0200] [Job 11] envp[23]="PRINTER=dj3650" I [21/Jun/2007:07:58:02 +0200] Started backend /usr/lib/cups/backend/ipp (PID 6263) for job 11. D [21/Jun/2007:07:58:02 +0200] Discarding unused job-state event... D [21/Jun/2007:07:58:02 +0200] [Job 11] 1 files to send in job... D [21/Jun/2007:07:58:02 +0200] Discarding unused printer-state-changed event... D [21/Jun/2007:07:58:02 +0200] Discarding unused printer-state-changed event... D [21/Jun/2007:07:58:32 +0200] Discarding unused printer-state-changed event... D [21/Jun/2007:07:58:32 +0200] Discarding unused printer-state-changed event... [...] This message is repeating all the time. Two such messages every 30 sec. Maybe it is related to the fact that the network printer dj3650 is not available, resp. the system where this printer is connected to is not online. # # # Sample configuration file for the Common UNIX Printing System (CUPS) # scheduler. See "man cupsd.conf" for a complete description of this # file. # # Log general information in error_log - change "info" to "debug" for # troubleshooting... #LogLevel warning LogLevel debug # Administrator user group... SystemGroup lpadmin # Only listen for connections from the local machine. Listen localhost:631 Listen /var/run/cups/cups.sock # Show shared printers on the local network. Browsing Off BrowseOrder allow,deny BrowseAllow @LOCAL BrowseAddress @LOCAL # Default authentication type, when authentication is required... DefaultAuthType Basic # Restrict access to the server... <Location /> Order allow,deny Allow localhost Allow @LOCAL </Location> # Restrict access to the admin pages... <Location /admin> Order allow,deny Allow localhost </Location> # Restrict access to configuration files... <Location /admin/conf> AuthType Basic Require user @SYSTEM Order allow,deny Allow localhost </Location> # Set the default printer/job policies... <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 Get-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 Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-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> # # # # Printcap: the name of the printcap file. Default is /etc/printcap. # Leave blank to disable printcap file generation. # Printcap /var/run/cups/printcap # # PrintcapFormat: the format of the printcap file, currently either # BSD or Solaris. The default is "BSD". # #PrintcapFormat BSD #PrintcapFormat Solaris # # PrintcapGUI: the name of the GUI options panel program to associate # with print queues under IRIX. The default is "/usr/bin/glpoptions" # from ESP Print Pro. # # This option is only used under IRIX; the options panel program # must accept the "-d printer" and "-o options" options and write # the selected printer options back to stdout on completion. # #PrintcapGUI /usr/bin/glpoptions -- MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed) https://bugs.launchpad.net/bugs/112803 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs