[cups.general] High CPU usage and BrowsePoll

Niels S. Eliasen nse at delfi-konsult.com
Mon Sep 20 04:26:47 PDT 2010


On 2010-09-15, Michael Sweet <msweet at apple.com> wrote:
>
> --Apple-Mail-1--832895061
> Content-Transfer-Encoding: quoted-printable
> Content-Type: text/plain;
> 	charset=us-ascii
>
> On Sep 15, 2010, at 2:58 AM, Niels S. Eliasen wrote:
>> ...
>> BUT... doing a "ps -ef|grep cups"
>>=20
>> root 24874     1 10 11:27 ? 00:00:55 /usr/sbin/cupsd
>> lp   24907 24874  0 11:27 ? 00:00:00 cups-polld 172.xx.xxx.10 631 30 =
> 631
>> lp   24908 24874  0 11:27 ? 00:00:00 cups-polld 172.xx.xxx.11 631 30 =
> 631
>>=20
>> am if I am not grossly mistaken...
>> the "30" is the BrowseInterval ... in other words.... my=20
>> specification does not take effect!
>> and yes! I have restarted cups after changing to value=20
>> "BrowseInterval 0" ..
>
>
> Setting BrowseInterval to 0 disables broadcasts but still uses a poll =
> interval of 30 seconds (since a poll interval of 0 seconds would mean =
> continuous polling - not good...)
>
> Try setting BrowseInterval to 3600 and BrowseTimeout to 86400.
that appears to have done whats needed........ good thing!!!
>
> ________________________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>
>
>
>
>
> --Apple-Mail-1--832895061
> Content-Transfer-Encoding: quoted-printable
> Content-Type: text/html;
> 	charset=us-ascii
>
><html><head></head><body style=3D"word-wrap: break-word; =
> -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
> "><div><div>On Sep 15, 2010, at 2:58 AM, Niels S. Eliasen =
> wrote:</div><blockquote type=3D"cite"><div><font =
> class=3D"Apple-style-span" =
> color=3D"#000000">...</font></div></blockquote><blockquote =
> type=3D"cite"><div>BUT... doing a "ps -ef|grep cups"<br><br>root 24874 =
>     1 10 11:27 ? 00:00:55 /usr/sbin/cupsd<br>lp =
>   24907 24874  0 11:27 ? 00:00:00 cups-polld =
> 172.xx.xxx.10 631 30 631<br>lp   24908 24874  0 11:27 ? =
> 00:00:00 cups-polld 172.xx.xxx.11 631 30 631<br><br>am if I am not =
> grossly mistaken...<br>the "30" is the BrowseInterval ... in other =
> words.... my <br>specification does not take effect!<br>and yes! I have =
> restarted cups after changing to value <br>"BrowseInterval 0" =
> ..<br></div></blockquote></div><div><br></div>Setting BrowseInterval to =
> 0 disables broadcasts but still uses a poll interval of 30 seconds =
> (since a poll interval of 0 seconds would mean continuous polling - not =
> good...)<div><br></div><div>Try setting BrowseInterval to 3600 and =
> BrowseTimeout to 86400.</div><div><br><div>
><span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
> color: rgb(0, 0, 0); font-family: Monaco; font-size: medium; font-style: =
> normal; font-variant: normal; font-weight: normal; letter-spacing: =
> normal; line-height: normal; orphans: 2; text-align: auto; text-indent: =
> 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
> 0px; -webkit-border-horizontal-spacing: 0px; =
> -webkit-border-vertical-spacing: 0px; =
> -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
> auto; -webkit-text-stroke-width: 0px; "><span class=3D"Apple-style-span" =
> style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
> Monaco; font-size: medium; font-style: normal; font-variant: normal; =
> font-weight: normal; letter-spacing: normal; line-height: normal; =
> orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
> widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
> -webkit-border-vertical-spacing: 0px; =
> -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
> auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
> break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
> after-white-space; =
> "><div>___________________________________________________________________=
> _____</div><div>Michael Sweet, Senior Printing System Engineer, PWG =
> Chair</div><div><br></div></div></span><br =
> class=3D"Apple-interchange-newline"></span><br =
> class=3D"Apple-interchange-newline">
></div>
><br></div></body></html>=
>
> --Apple-Mail-1--832895061--
>


-- 

kind regards/mvh
niels




More information about the cups mailing list