[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-10-15 Thread Li Tong
Hi, I am new here, can someone tell me where I can find the patch talked
about in this thread? Thanks!!

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-08-03 Thread Martin Pitt
Closing invalid cupsys task (whoever added it).

** Changed in: cupsys (Ubuntu)
   Status: New = Invalid

** Changed in: cupsys (Ubuntu Feisty)
   Status: New = Invalid

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-08-03 Thread Martin Pitt
Copied dbus to feisty-updates.

** Changed in: dbus (Ubuntu Feisty)
   Status: Fix Committed = Fix Released

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-08-03 Thread hugortega
I installed the patch in 2 servers (ubuntu server 7.04) and everything
is OK now... thank you very much to all people who contributed to the
fix.

EOF

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-30 Thread Michael Vogt
I installed the update today for SRU verficiation, it installs/works
fine for me. I can not reproduce the original bug, but I'm happy to set
it to verification-done on the grounds that two community people already
reported that it fixes the bug and that Martin was able to reproduce the
bug and verify the fix.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-30 Thread Martin Pitt
** Changed in: dbus (Ubuntu Feisty)
   Status: Fix Released = Fix Committed

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-30 Thread Michael Vogt
** Tags added: verification-done

** Tags removed: verification-needed

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-30 Thread Roberto Colnaghi
I've installed the package on Friday the 27th of July , and this seems to have 
solved the problem on our server too.
Roberto

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-27 Thread Bug Watch Updater
** Changed in: cupsys (Debian)
   Status: Unknown = Fix Released

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-26 Thread Frank
Thanks Martin.  Will this patch result in a new package being released
or do I need to manually compile this?

Thanks,

Frank

-- 
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


Re: [Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-26 Thread Martin Pitt
Hi Roberto,

Roberto Colnaghi [2007-07-26 11:28 -]:
 Hi folks, I'm new around here.  I have the same problem, but I
 noticed that cupsys doesn't depend on dbus, in fact I don't even
 have it installed on my server. So, I'm wondering how a dbus update
 can solve the problem. Am I missing something?

It depends on libdbus-1-3, which is at fault here. It tries to start a
dbus instance, fails (because dbus itself is not installed), and
forgets to clean up the pipes.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-26 Thread Roberto Colnaghi
Hi folks, I'm new around here.
I have the same problem, but I noticed that cupsys doesn't depend on dbus, in 
fact I don't even have it installed on my server. So, I'm wondering how a dbus 
update can solve the problem. Am I missing something?
Roberto

-- 
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


Re: [Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-26 Thread Martin Pitt
Hi Roberto,

Roberto Colnaghi [2007-07-26 13:26 -]:
 Thank you Martin. So, either the problem lies in libdbus-1-3, and this
 is the package that should be updated, or cupsys requires dbus, but the
 dependency is not present, so a cupsys package update (to include the
 dependency) is needed.

The problem *is* in libdbus-1-3. Sorry for the confusion if I was
unclear. I was speaking about the source package 'dbus' sometimes
(which produces the library, too). 

cupsys should not depend on dbus at all. It should just provide the
notification service if dbus is installed.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-26 Thread Frank
Hi all,

I also got the libdbus-1-3_1.0.2-1ubuntu4_amd64.deb from proposed and
installed it.

Everything looks ok, a wc -l of my lsof -p stayed steady at 43 as I shot
a dozen or so jobs at it.

Thanks so much.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-26 Thread Martin Pitt
I still could not determine how to trigger that problem with a normal
system, however, with some incredible hideous hacks in dbus I was able
to force this condition (calling dbus-launch).

I verified that the problem is indeed that
_dbus_get_autolaunch_address() does not close the reading end of the
pipe in dbus 1.0.2.

This has been fixed in gutsy recently with dbus 1.1.1. The patch for
Feisty is trivial, will prepare an SRU now.

** Changed in: cupsys (Debian)
   Importance: Unknown = Undecided
 Bugwatch: Debian Bug tracker #425944 = None
   Status: Fix Released = New

** Changed in: cupsys (Debian)
   Importance: Undecided = Unknown
 Bugwatch: None = Debian Bug tracker #425944
   Status: New = Unknown

** Changed in: dbus (Ubuntu)
Sourcepackagename: cupsys = dbus
   Status: Incomplete = Fix Released

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-26 Thread Martin Pitt
dbus (1.0.2-1ubuntu4) feisty-proposed; urgency=low

  * Add debian/patches/02_dbus-launch_close_pipe.patch:
- _dbus_get_autolaunch_address(): When calling dbus-launch fails,
   close the reading end of the pipe.
- This caused a serious fd leak in programs like cups when they repeatedly
  try to send dbus messages, dbus is not running, and dbus-launch is not
  available or otherwise fails to execute.
- LP: #112803

 -- Martin Pitt [EMAIL PROTECTED]   Thu, 26 Jul 2007 11:08:35
+0200

** Changed in: dbus (Ubuntu Feisty)
   Status: Fix Committed = Fix Released

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-26 Thread Martin Pitt
** Tags added: verification-needed

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-26 Thread Martin Pitt
** Changed in: cupsys (Ubuntu Feisty)
   Importance: Undecided = High
 Assignee: (unassigned) = Martin Pitt

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-26 Thread Vicent Cubells
Hi all,

I've  tested the packages from feisty-proposed twice and i can confirm
that the bug is fixed!!

My cups server works correctly and I can print all my jobs without
having to restart cupsys.

Thanks a lot!!

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-26 Thread Roberto Colnaghi
Thank you Martin. So, either the problem lies in libdbus-1-3, and this
is the package that should be updated, or cupsys requires dbus, but the
dependency is not present, so a cupsys package update (to include the
dependency) is needed.

Roberto

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-26 Thread Martin Pitt
** Changed in: dbus (Ubuntu Feisty)
   Status: New = Fix Committed

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-26 Thread Martin Pitt
Thanks a lot to everyone for your help with debugging this!

I uploaded a fixed dbus to feisty-proposed, it should be available in
about two hours. Can you please test the packages from feisty-proposed
and confirm that they fix this issue? If we get some confirmations, the
package can go to feisty-updates next Thursday.

I attach the debdiff used for this stable release update.


** Attachment added: SRU debdiff
   http://launchpadlibrarian.net/8571845/dbus.112803.debdiff

-- 
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


Re: [Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-25 Thread Martin Pitt
hi,

schweini [2007-07-24 22:14 -]:
 So, anyone have a rough date on when this will get deployed? according
 to the debian ticket, it seems rather easy to resolve...

So far I was unable to reproduce the bug, and the Debian ticket
suspected the pam helper as the culprit, which was not confirmed.

So until a developer can actually reproduce this, there is no firm
schedule. As soon as we have a solution, we will deploy it for Feisty
as well, of course.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-25 Thread Christian Niessner
Hi Martin,
Hi all,

I investigated a bit more, and (at least for my setups) it seems that
libdbus is the culprit.

In my setup, there are several cups servers up and running. The on
running on my Workstation works fine - and my workstation is a 'full
grown installation' with X-Servers, Gnome and all that stuff.

But the stripped down printservers suffer from this problem. I think it
depends on what is installed and what not.

I recompiled cups packages (the original feisty ones and 1.2.12 from
gusty) with --disable-dbus and the file descriptor leak was gone for all
my systems.

On one system that was previously working with the original feisty
packages, the fd leaking started after installing additional printer
drivers (cups-driver-gutenprint - and i think hpijs). The dependencies
pulled lots of other packages - f.i. some xorg/x11 related libs. After
that, cups (or libdbus) tries to start dbus-launch, which itself
complains something like Autolaunch error: X11 initializa... - (see my
previous strace post).

i attach a list of installed packages of one of my servers. don't get
confused - the installed cups packages are mine, taken from gusty and
compiled with dbus disabled on feisty. But the fd leak starts as soon as
i install the original feisty packages.

Hope this helps reproducing the bug. I also could do some further
debugging / investigation if needed. Shall we involve dbus people?

have a nice day,
  chris

** Attachment added: list of installed packages
   http://launchpadlibrarian.net/8563548/dpkg-info.tar.bz2

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-25 Thread ferro
I have also compiled a package from 1.2.12  and added those patches from
1.2.11 (gusty) that patched successfully, but compiled with --enable-
dbus, and it works! The number of file descriptors is back to 2 after
each print job. I have installed cups-driver-gutenprint, as well as
hplip hpijs. And i cannot find a message Autolaunch error: X11
ini. in my log files.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-25 Thread Vicent Cubells
== So until a developer can actually reproduce this, there is no firm
schedule. (Martin said)

See the file I've attached, please.

To reproduce the bug in my work computer I've just:

1) opened the file document.odt with OpenOffice.org writer.
2) clicked in Print directly icon
3) closed the Openoffice.org writer
4) opened the file document.odt with OpenOffice.org writer.
5) clicked in Print directly icon
6) closed the Openoffice.org writer
7) ...

and so on about ten times.

So, the bug works on my home and on my work computer, that is, I can
reproduce the bug in a bdifferent computer/b, in aa different
lan/b, in ba different printer/b, and with ba very different
sotware installed/b.

My printer at work is a usb printer: Epson stylus D78. So, I can
reproduce the bug in a serial and in a usb printer.

I've attached 3 different files: lsof.before and error_log.before,
files that I can logged bbefore/b uninstalling cups (exactly the following 
packages: cupsys, bluez-cups, cups-pdf, cupsys-driver-gutenprint, hplip, 
ubuntu-desktop) (bug is off).

lsof.after and error_log.after, files that I can logged bafter/b
reinstalling cups (exactly the following packages: hpijs-ppds, python-
imaging, python-qt3, python-reportlab, python-sip4, bluez-cups, cupsys,
cupsys-driver-gutenprint, hplip, ubuntu-desktop), but without restart my
computer (bug is off).

And finally: lsof.bug and error_log.bug, files that I can logged after
restart my computer.

At lsof_error_bug I've reproduced the bug twice: from the time 11:54 to
12:26 aprox., and from the time 12:26 to the end of the file.

Both times, cups stops printing after 6-9 jobs printed.
Both times, I've obtained the same cups error:  Unable to create job filter 
pipes - Too many open files.
Both times, I've had to restart cups to be able to print again.

In any moment, I've obtained any message error about dbus.

I've attached my dpkg-selections to compare with Christian logs...

Something more?



** Attachment added: cups_bug.tar.gz
   http://launchpadlibrarian.net/8566527/cups_bug.tar.gz

-- 
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

[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-24 Thread ferro
I am running here clustered X-terminal servers with cups on it as print
service. I have the problem with feisty version as well as with the
1.2.11 (compiled as recommended above). I can contribute this: when i
have a stalled print job, i see one additional pipe handle each time
cups tries to reprint or reconnect to the printer. This way i the open
file number is exceeded within minutes, you can watch it online. A
cupsys force-reload brings the number of pipes back to two. Until the
bug is fixed i have a small script driven by cron which does this reload
when the number of pipes exceeds 50. That is not nice, but it prevents
cups from getting quickly unusable. With Debian Etch file servers i do
not see a similar problem. I desperately hope that someone can fix
this...soon.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-24 Thread ferro
I should mention that the two debian etch boxes on which cups is ok,
uses version 1.2.12 with a reduced set of debian patches:

02_configure.dpatch
03_clean.dpatch
06_disable_backend_setuid.dpatch
08_cupsd.conf.conf.d.dpatch
09_runasuser.dpatch
11_pam.dpatch
12_quiesce_ipp_logging.dpatch
19_cupsaccept.dpatch
47_pid.dpatch
53_usr_share_ppd_support.dpatch
54_cups-config_modeldir.dpatch
60_device_uri.dpatch
64_driverfolder.dpatch
67_printcap.dpatch
68_edit-config.dpatch
I did not test the debian package. When i find the time, i will try to compile 
same version on kubuntu to see if that works.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-24 Thread schweini
I tried Blades workaound (installing Edgys package), but i just get a bunch of 
build-errors.br
br
Can anybody confirm or deny that this will soon be fixed in the regular 
(K)Ubunto repos? Im deploying a couple of small buisiness servers, and was 
planing on using Kubuntu, but iĺl have to wait til at least printing is working 
fine. And its quite a drag to restart cups via cron every couple of minutes, 
just in case.

So, anyone have a rough date on when this will get deployed? according
to the debian ticket, it seems rather easy to resolve...

-- 
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

[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-24 Thread hugortega
Just in case, meanwhile the fix is released, an ugly but effective
script to restart the cupsd when the number of pipes is high:

---
#! /bin/bash

pipes=$(sudo lsof -p `pidof cupsd` | grep pipe | wc -l)
maxpipes=30
if [[ $pipes -gt $maxpipes ]] ; then
  echo Reiniciando servidor CUPS
  date  /var/log/cups/restart4pipes.log
  /etc/init.d/cupsys restart
fi
---

Of course, you can drive the file with cron... this script logs the date
and time of the events.

Any news about the fix?... I'm trying to introduce ubuntu server as the
default server in my company, but those things are not exactly the best
publicity :D ... anyway, thanks for ubuntu people...

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-23 Thread Christian Niessner
Hi There,

i'm joining this thread because i also have this problem on some of my
cups machines. I have several cups servers running, and the 'socket
eating' problem only occures on some of them, not on all.

I started debugging by myself and discovered that my fd eating problem
is originated from dbus. I strace'd cupsd and discovered following (on
the 'fd eating machin'):

every time when i spool a job, libdbus seems to executes dbus-launch:

pipe([15, 16])  = 0
clone(Process 4232 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7c0c918) = 4232
[pid  4229] close(16)   = 0
[pid  4229] read(15,  unfinished ...
[pid  4232] open(/dev/null, O_RDWR)   = 17
[pid  4232] close(15)   = 0
[pid  4232] close(0)= 0
[pid  4232] close(1)= 0
[pid  4232] close(2)= 0
[pid  4232] dup2(17, 0) = 0
[pid  4232] dup2(16, 1) = 1
[pid  4232] dup2(17, 2) = 2
[pid  4232] close(17)   = 0
[pid  4232] close(16)   = 0
[pid  4232] execve(/usr/bin/dbus-launch, [dbus-launch, --autolaunch, 
c240c094f96d50bd8cca400046655800...,
--binary-syntax], [/* 17 vars */]) = 0
[pid  4232] brk(0)  = 0x804e000
[removed lots of stuff]
[pid  4232] mprotect(0xb7e98000, 4096, PROT_READ) = 0
[pid  4232] munmap(0xb7f8f000, 15871)   = 0
[pid  4232] brk(0)  = 0x804e000
[pid  4232] brk(0x806f000)  = 0x806f000
[pid  4232] write(2, Autolaunch error: X11 initializa..., 45) = 45
[pid  4232] exit_group(1)   = ?
Process 4232 detached
... read resumed , 1024)= 0
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn() = ? (mask now [])
waitpid(4232, [{WIFEXITED(s)  WEXITSTATUS(s) == 1}], 0) = 4232
time(NULL)  = 1181048565
write(4, D [05/Jun/2007:15:02:45 +0200] D..., 70) = 70

after that, fd 15 stays open. ( 15 - pipe:[60116] )
I think this is rather a libdbus bug not a cups bug.


on my 'good' machine i see an initinal connect to 
/var/run/dbus/system_bus_socket during startup and that's it. no further 
dbus-launch forks and so on. 

I have no idea why it works for some machines and for some not. dbus
itself is up and running on all machines.

can somebody also experiencing fd eating verify this issue by doing
following:

/etc/init.d/cupsd stop
strace -f cupsd 2strace.log
lp /etc/hosts  (on other terminal)
and then have a look into the strace.log if there are dbus-launch calls or not?

thanks,
chris

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-23 Thread Frank
I only found out about this bug last night as we were putting the new
Fiesty print server into production.  I ran the strace and also see
execve(/usr/bin/dbus-launch in my log.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-17 Thread Bug Watch Updater
** Changed in: cupsys (Debian)
   Status: Unknown = Fix Released

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-16 Thread Martin Pitt
** Also affects: cupsys (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425944
   Importance: Unknown
   Status: Unknown

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-16 Thread Martin Pitt
I just uploaded

 cupsys (1.2.12-1ubuntu1) gutsy; urgency=low
 .
   * Merge to Debian's svn head to get upstream fixes.
   * debian/patches/10_external_pam_helper.dpatch: Close pipes in the case of
 errors, too. This can not really be responsible for the mess in #112803,
 but should be fixed anyway.

This fixes the only pipe handling bugs that I can see. In the 'normal'
case, pipes were already closed properly in that patch.

I am not able to reproduce the issue. I tried a standard USB printer and
a file:// target, tried on the command line with and without specifying
a host, tried printing from a Gnome app (gedit), and played around with
administrative commands in the web interface. None of these actions
produced additional FIFOs (just the two that are always open, and an
additional one when a print job was running).

Do you use remote or local printing? Can someone please attach
/etc/cups/cupsd.conf and /etc/cups/printers.conf, and maybe even a
detailled recipe for reproducing this?

** Changed in: cupsys (Ubuntu)
   Status: Triaged = Incomplete

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-16 Thread Vicent Cubells
== Martin

Here you have attached the files you have requested...

To reproduce this bug only I have to send to the printer many different
jobs consecutively with an interval of some seconds.

For example, the last time I reproduce the bug, I send 10 jobs with an
interval of 4/5 seconds...

My printer is a Epson Stylus color 600, a serial printer...


** Attachment added: cupsd+printers_conf.tar.gz
   http://launchpadlibrarian.net/8494296/cupsd%2Bprinters_conf.tar.gz

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-16 Thread Vicent Cubells
Sorry: I use local printing..

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-14 Thread Vicent Cubells
== Till

Just in case, I've tried your instructions:
$ sudo aptitude install lsb
I've downloaded 
http://www.openprinting.org/download/printdriver/RPMS/i486/cups-1.2.11-1lsb3.1.i486.rpm
$ sudo alien --scripts *.rpm
$ sudo dpkg -i *.deb
$ sudo cp /etc/cups/printers.conf /etc/opt/cups/
$ sudo cp /etc/cups/ppd/*.ppd /etc/opt/cups/ppd/
$ sudo /etc/init.d/cupsys stop
* Stopping Common Unix Printing System: cupsd   [ OK ]
$ sudo /etc/init.d/cups start
cups: started scheduler.

And I can't print!!

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-11 Thread Till Kamppeter
We need a test with a CUPS version which does not have the numerous
patches as the Ubuntu version has.

Can you try the following:

Download

http://www.openprinting.org/download/printdriver/RPMS/i486/cups-1.2.11-1lsb3.1.i486.rpm

or

http://www.openprinting.org/download/printdriver/RPMS/x86_64/cups-1.2.11-1lsb3.1.x86_64.rpm

depending on whether you are using the 32-bit or 64-bit PC platform.

Convert the package to the Debian format:

sudo apt-get install alien
sudo alien --scripts cups-*.rpm

Install this package:

sudo dpkg -i cups_*.deb

Transfer your print queues to the new CUPS:

sudo cp /etc/cups/printers.conf /etc/opt/cups/
sudo cp /etc/cups/ppd/*.ppd /etc/opt/cups/ppd/

Stop the system's CUPS

/etc/init.d/cupsys stop

and start the new CUPS

/etc/init.d/cups start

(NOTE: only cups not cupsys here).

Try to print and observe whether the memory leak appears again.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-11 Thread Till Kamppeter
I forgot one thing:

Before installing the CUPS package, you need to install the LSB
compatibility package:

sudo apt-get install lsb

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-11 Thread Till Kamppeter
See Mike's comment and my last comment in

http://www.cups.org/str.php?L2438

I have looked into the patches of the Ubuntu CUPS package and the
relevant patch (8 KB) is attached. The patch separates the verification
of the credentials into an external program which runs SUID root (as
CUPS runs as user in Ubuntu). Username and password are sent via a pipe
to the standard input of the external program (newly introduced function
cupsdCallPamAuthHelper()). It seems that this pipe is not correctly
closed.

The patch is one of Martin Pitt's non-root mode patches, therefore
assigning to Martin Pitt.


** Changed in: cupsys (Ubuntu)
   Importance: Medium = High
 Assignee: (unassigned) = Martin Pitt

** Attachment added: Patch to move authentication into external SUID root 
program
   http://launchpadlibrarian.net/8410429/10_external_pam_helper.dpatch

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-11 Thread Till Kamppeter
I think this bug is worth an SRU. It breaks an important function of
Feisty (Printing) and the fix is probably small (inside an 8-KB patch).

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-10 Thread Till Kamppeter
Thank you. I have reopened the issue upstream at

http://www.cups.org/str.php?L2438

and attached all your files.


** Changed in: cupsys (Ubuntu)
   Status: Incomplete = Triaged

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-10 Thread jensb
The issue also has a ticket in the debian bugtracker:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425944

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-07 Thread Vicent Cubells
== Till:

Here you have attached my error_log file (+28 Mb without compression )
after set the LogLevel to debug2 in cupsd.conf and I can confirm that
the bug is not fixed.

I've also attached the output from sudo lsof | grep cupsys and a
capture when the bug is on and I try to print from Evince.

I wish it was useful for solving the problem...

If you need any data

 If you need any other data, only you have to say it because I can
replay the bug... Now I hnow how...

** Attachment added: cubells.tar.gz
   http://launchpadlibrarian.net/8333605/cubells.tar.gz

-- 
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

[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-07-06 Thread DonB
I can confirm that this is not fixed in the latest updates on Gutsy.
What makes this really difficult is my customer has a proprietary app on
SCO that we ported to Linux and I setup SAMBA and told him all about
Linux goodness but his printing dies a couple times a day now :(

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-21 Thread MauricioZ
I remove /etc/rc2.d/S19cupsys and i do invoke-rc.d cupsys with a
system call when load my X program.. I work in kiosko mode with only one
program running. If you don´t have this option to start cups, I
recommend that you make an script that execute this at at the beginning
of Xsession, it does not matter if start more of once. To probe that
this really work, remove /etc/rc2.d/S19cupsys (if you load rc2) and
probe start the service from the Xsession in an Xterm... and you will
see that the pipe, the open files will not accumulate. I´m sorry by
my english...

Saludos
Mauricio

-- 
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

[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-21 Thread Till Kamppeter
mstreibe, and anyone else who has reported this problem, can you please
set the LogLevel to debug2 (not simply debug) in cupsd.conf, restart
CUPS again (or reboot) and then supply the error_log as soon as the
problem occures again? The extra info which debug2 supplies is very
important.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-19 Thread Till Kamppeter
I posted another upstream bug report:

http://www.cups.org/str.php?L2415

Can everyone who has still the file descriptor leaking problem supply
his error_log (set LogLevel to debug in /etc/cups/cupsd.conf and
restart CUPS with /etc/init.d/cupsys restart) and cupsd.conf?


** Changed in: cupsys (Ubuntu)
   Status: Confirmed = Needs Info

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-19 Thread Kirk Steffensen
Till,

Just to clarify, do you only need the error log up to the point where it
starts endlessly repeating?

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-19 Thread Till Kamppeter
Yes, from the repeats include only one and tell what is repeating.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-19 Thread Till Kamppeter
Can you please supply everything asked for by Mike Sweet (author of
CUPS) in the upostream bug report?

http://www.cups.org/str.php?L2415

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-19 Thread Till Kamppeter
Pitti, can you check whether this problem can be caused by your non-root
patches?


** Changed in: cupsys (Ubuntu)
   Importance: Undecided = Medium

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-15 Thread Markus Olausson
Same here. Upgraded from edgy to feisty and the problem showed up.
Upgraded to cups to 1.2.11. Still problems. Upgraded whole machine to
gutsy. No good. Downgraded cups in gutsy to 1.2.4. Still same problem.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-14 Thread Sebastian Berthold
Hello, the same problem on my cups server:

cups version from feisty and current gutsy

Ubuntu Version: 7.04
Linux 2.6.19-4-server #2 SMP Thu Apr 5 06:07:34 UTC 2007 i686 GNU/Linux (xen 
domU)

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-14 Thread MauricioZ

I tried with cups 1.2.4 as did you say Blade, but it then had the exact same 
symptoms in my system Feisty (7.04). Cups still crash!

Mauricio

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-13 Thread Blade
Recompiling Edgy's cupsys 1.2.4 works as a workaround.  Was tired of
restarting cups servers.

# wget http://launchpadlibrarian.net/4710126/cupsys_1.2.4.orig.tar.gz
# wget http://launchpadlibrarian.net/4710127/cupsys_1.2.4-2ubuntu3.diff.gz
# wget http://launchpadlibrarian.net/4710128/cupsys_1.2.4-2ubuntu3.dsc
# dpkg-source -x cupsys_cupsys_1.2.4-2ubuntu3.dsc
# cd cupsys-1.2.4
# dpkg-buildpackage -rfakeroot
# cd ..
# sudo dpkg -i *.deb

This is a fairly serious error though.  Without a workaround it prevents
ubuntu 7.10 to be even considered as a printing server.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-13 Thread Blade
Recompiling Edgy's cupsys 1.2.4 works as a workaround.  Was tired of
restarting cups servers.

# wget http://launchpadlibrarian.net/4710126/cupsys_1.2.4.orig.tar.gz
# wget http://launchpadlibrarian.net/4710127/cupsys_1.2.4-2ubuntu3.diff.gz
# wget http://launchpadlibrarian.net/4710128/cupsys_1.2.4-2ubuntu3.dsc
# dpkg-source -x cupsys_cupsys_1.2.4-2ubuntu3.dsc
# cd cupsys-1.2.4
# dpkg-buildpackage -rfakeroot
# cd ..
# sudo dpkg -i *.deb

This is a fairly serious error though.  Without a workaround it prevents
ubuntu 7.04 to be even considered as a printing server.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-12 Thread Blade
Yes I've had to have cups restart every minute to work on a server.  I'm
looking into trying to install the previous edgy version for a
workaround.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-09 Thread Carey O'Shea
I am also experiencing this exact problem. So I followed Kirk's
instructions to upgrade to 1.2.11, but just like Kirk, it does not fix
the problem for me. The problem persists with cupsys 1.2.11.

$ apt-cache policy cupsys
  Installed: 1.2.11-2ubuntu1

$ tail -f /var/log/cups/error_log
E [09/Jun/2007:16:14:05 +1000] Unable to accept client connection - Too many 
open files.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-09 Thread Vicent Cubells
Now we have a new cups version:  1.2.11-2ubuntu2
http://packages.ubuntu.com/gutsy/net/cupsys

Can you try it??

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-09 Thread Carey O'Shea
How would be the best way to try this new version?

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-09 Thread Vicent Cubells
Download the gutsy package and install it...

or follow Kirk's instructions with:

http://launchpadlibrarian.net/7950345/cupsys_1.2.11.orig.tar.gz
http://launchpadlibrarian.net/7950346/cupsys_1.2.11-2ubuntu2.diff.gz
http://launchpadlibrarian.net/7950347/cupsys_1.2.11-2ubuntu2.dsc

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-09 Thread Kirk Steffensen
Sorry, no joy with cupsys_1.2.11-2ubuntu2...

Compile and install went well again, but then it had the exact same
symptoms.  It's still spawning about 10 FIFO pipes per job that it never
closes.

Flavor: Edubuntu
Version: 7.04
Kernel: AMD64

Thanks for continuing to look into this.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-07 Thread Kirk Steffensen
I have changed the status of this bug back to Confirmed from Fixed
Released because I'm still seeing it after updating my Feisty to
cupsys_1.2.11-2ubuntu1.  (Pascal De Vuyst asked in bug 118356 that we
put comments in this bug report instead of one of the duplicates, but it
doesn't make sense to add confirming comments to a closed bug, so I'm
reopening it.)

Last night I upgraded our Edubuntu Feisty server to 1.2.11 per the
instructions above.  No problems on the compile.  But this morning
cupsys stopped and began filling /etc/var/cups/error_log as others have
reported.  I caught it at 11 GB, but past experience says it was on its
way to filling the partition.

Here are the first few lines of the cups error_log:

E [07/Jun/2007:11:37:03 +0300] PID 14024 (/usr/lib/cups/filter/pstops) stopped 
with status 24!
E [07/Jun/2007:11:37:03 +0300] PID 14025 (/usr/lib/cups/backend/lpd) stopped 
with status 24!
E [07/Jun/2007:11:38:01 +0300] Unable to create job status pipes - Too many 
open files.
E [07/Jun/2007:11:38:32 +0300] Unable to create job status pipes - Too many 
open files.
E [07/Jun/2007:11:38:33 +0300] Unable to accept client connection - Too many 
open files.
E [07/Jun/2007:11:38:33 +0300] Unable to accept client connection - Too many 
open files.
E [07/Jun/2007:11:38:33 +0300] Unable to accept client connection - Too many 
open files.
E [07/Jun/2007:11:38:33 +0300] Unable to accept client connection - Too many 
open files.
E [07/Jun/2007:11:38:33 +0300] Unable to accept client connection - Too many 
open files.
E [07/Jun/2007:11:38:33 +0300] Unable to accept client connection - Too many 
open files.

The last line repeats for the rest of the file at several hundred KB per
minute.

I forgot to do an lsof while cups was dead.  The next time it dies, I
will do it.  Is there any other information that would be helpful for
troubleshooting?

Thanks for looking into this.

** Changed in: cupsys (Ubuntu)
   Status: Fix Released = Confirmed

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-07 Thread Kirk Steffensen
cupsys_1.2.11-2ubuntu1 is currently running. It has opened many FIFO
pipes that it has not closed.  It hasn't crashed yet, but experience
shows that it will soon.

I've attached an output from lsof -p $(pidof cupsys).  This shows
about 700 open pipes.  About 50 jobs have been printed since cupsd was
restarted.

I'm running two printers, both over the network: HP 1022N and Minolta
Pi3500.

Hope this helps.  Please let me know any other diagnostics to try.

** Attachment added: Output from sudo lsof -p $(pidof cupsd)  cupsys_lsof
   http://launchpadlibrarian.net/8010266/cupsys_lsof

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-07 Thread Vicent Cubells
I have not had any problem since I installed cupsys 1.2.11-2ubuntu1 as
Till said...

If you need any information about my system to compare, you only have to
say it...

-- 
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

[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-07 Thread Kirk Steffensen
I forgot to say that I'm running the AMD64 kernel.  Doesn't seem like it
should matter, but you never know.

(As a temporary work-around, I've added a cron job to root's crontab
that restarts cupsys every 10 minutes.  It works for now, but is not
very elegant.)

Thanks.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-06 Thread Kirk Steffensen
I think that what Till said should read:

sudo apt-get install build-essential fakeroot
sudo apt-get build-dep cupsys
sudo dpkg-source -x cupsys_1.2.11-2ubuntu1.dsc
cd cupsys-1.2.11
sudo dpkg-buildpackage -rfakeroot
cd ..
sudo dpkg -i *.deb

Thanks1

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-06-06 Thread Sean Clarke
Is there going to be an official backport/fix for Fiesty ?

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-05-30 Thread Markus Olausson
In which version is this fixed? I'm using Gutsy and cupsys 1.2.11-2ubuntu1 and 
have the problem with too many open files and the log getting filled with:
Unable to accept client connection - Too many open files.
Unable to create job status pipes - Too many open files.

It can work fine for a couple of hours, and then suddenly the log file
is growing like crazy.

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-05-30 Thread Vicent Cubells
Markus said:
In which version is this fixed? I'm using Gutsy and cupsys 1.2.11-2ubuntu1 
and have the problem with too many open files

Cupsys 1.2.11-2ubuntu1 fixed that problem in my Feisty:
https://bugs.launchpad.net/ubuntu/+source/cupsys/+bug/112803/comments/17

Now I have no problem with my printer...

-- 
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


[Bug 112803] Re: MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not printed)

2007-05-24 Thread Till Kamppeter
** Summary changed:

- Multiple jobs are not printed
+ MASTER [Feisty] cupsd leaking file descriptors (was: Multiple jobs are not 
printed)

-- 
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