[csw-users] cups very slow
Paul Gress
pgress at optonline.net
Mon Jan 22 05:51:51 CET 2007
Markus Mayer wrote:
> This problem has in fact been tracked down to be caused by
> libgcrypt.so. libgcrypt's 'configure' script assumes that Solaris
> doesn't have /dev/urandom, so it always uses /dev/random.
>
> CUPS, in turn, uses libgcrypt.so so set up encrypted connections.
> Therefore, CUPS was always using /dev/random as well.
>
> So, whenever there wasn't enough entropy in the pool to satify the read
> from /dev/random, the call would block till the entropy pool had been
> re-filled, leading to the 'CUPS is so freaking slow' behavior you and
> others have described.
>
> Torrey, the maintainer for libgcrypt, was so kind to build a new
> packages within half an hour of me telling him what the problem was.
> These packages are currently available from
> http://www.blastwave.org/testing/libgcrypt-1.2.3,REV=2007.01.21-SunOS5.8-i386-CSW.pkg.gz
> http://www.blastwave.org/testing/libgcrypt-1.2.3,REV=2007.01.21-SunOS5.8-sparc-CSW.pkg.gz
>
> Installing the new libcrypt package from testing should make the
> slow-CUPS symptoms go away.
>
Installed the new libcrypt for my X64 (Sun W2100z, Solaris 10).
Difference is like night and day. Running great now. I suspect print
jobs will be quicker now. Thanks for following through.
Paul
More information about the users
mailing list