Perormance problems with 1.3.8 on Solaris 10

Claus Sandmann sandmann at eantc.de
Tue Aug 19 01:01:45 PDT 2008


Hello everybody,

I just installed CUPS 1.3.8 from source on a Solaris 10 machine. Printing works perfect, but every administration action, no matter whether using the webinterface or a command line tool like 'lpstat' is very slow and eats up 50% of cpu time. Sometimes the reaction is fast. Here is an excerpt of a truss of the lpstat:

access("/dev/random", R_OK)                     = 0
access("/dev/random", R_OK)                     = 0
open("/dev/random", O_RDONLY)                   = 4
pollsys(0x08046AA0, 1, 0x08046B18, 0x00000000) (sleeping...)
pollsys(0x08046AA0, 1, 0x08046B18, 0x00000000)  = 0
pollsys(0x08046AA0, 1, 0x08046B18, 0x00000000) (sleeping...)
pollsys(0x08046AA0, 1, 0x08046B18, 0x00000000)  = 0
pollsys(0x08046AA0, 1, 0x08046B18, 0x00000000) (sleeping...)
pollsys(0x08046AA0, 1, 0x08046B18, 0x00000000)  = 1
read(4, "C6 & ]B894 V OA01BD8FC8B".., 120)      = 120
pollsys(0x08046AA0, 1, 0x08046B18, 0x00000000) (sleeping...)
pollsys(0x08046AA0, 1, 0x08046B18, 0x00000000)  = 0
pollsys(0x08046AA0, 1, 0x08046B18, 0x00000000) (sleeping...)
pollsys(0x08046AA0, 1, 0x08046B18, 0x00000000)  = 0
pollsys(0x08046AA0, 1, 0x08046B18, 0x00000000) (sleeping...)

This list can be much longer.
This sleeping pollsys processes are the problem, because they don't appear when the reaction is fast.
Somebody any ideas?

Claus




More information about the cups mailing list