tags 606162 + fixed-upstream pending
thanks

On Mon, Dec 06, 2010 at 05:39:24PM -0500, Anders Kaseorg wrote:
> /etc/schroot/setup.d/15killprocs has a loop that runs ‘readlink 
> /proc/"$pid"/root’ for every process in the system.  I have a system with 
> thousands of processes, and this loop makes schroot take about a minute to 
> close a chroot.  I changed it to use the builtin -ef operator; now it 
> takes about a second.

Thanks, I've applied the patch and it should be in the next release.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature

Reply via email to