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

Reply via email to