[Samba] cups_async_callback(504) error after upgrade to 3.2.7

Ed Kasky ed at esson.net
Thu Jan 8 02:16:58 GMT 2009


At 04:52 PM Wednesday, 1/7/2009, Jeremy Allison wrote -=>
>On Wed, Jan 07, 2009 at 04:22:05PM -0800, Ed Kasky wrote:
> > Hello there -
> >
> > I just upgraded to 3.2.7 via an rpm from fedora - running fc6:
> > # uname -a
> > Linux yoda.wrenkasky.com 2.6.22.14-72.fc6 #1
> > SMP Wed Nov 21 15:12:59 EST 2007 i686 i686 i386 GNU/Linux
> >
> > Since upgrading, I am getting the following every hour or so:
> > [2009/01/07 15:19:08,  2] printing/print_cups.c:cups_async_callback(504)
> >   cups_async_callback: failed to read a new printer list
>
>What does a debug level 10 say ? smbd now always uses an
>async method to read cups printer names (except on startup)
>in order to be able to cope with systems with thousands of
>printers without hanging talking to cups (that's the job
>of the forked child).
>
>Jeremy

This is what I could cull from the log that looks relevant:

[2009/01/07 18:04:05,  5] printing/print_cups.c:cups_pcap_load_async(366)
   cups_pcap_load_async: asynchronously loading cups printers
[2009/01/07 18:04:05, 10] printing/print_cups.c:cups_pcap_load_async(383)
   cups_pcap_load_async: child pid = 27828
[2009/01/07 18:04:05, 10] printing/print_cups.c:cups_cache_reload(545)
   cups_cache_reload: async read on fd 23
[2009/01/07 18:04:05,  3] printing/pcap.c:pcap_cache_reload(243)
   reload status: ok
[2009/01/07 18:04:05,  5] printing/print_cups.c:cups_cache_reload_async(1
   reloading cups printcap cache

[2009/01/07 18:04:05, 10] printing/print_cups.c:cups_connect(74)
   socket option IPTOS_LOWDELAY = 0
   connecting to cups server /var/run/cups/cups.sock:631
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option IPTOS_THROUGHPUT = 0
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option SO_SNDBUF = 16384
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option SO_RCVBUF = 87380
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option SO_SNDLOWAT = 1
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option SO_RCVLOWAT = 1
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option SO_SNDTIMEO = 0
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option SO_RCVTIMEO = 0
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option SO_KEEPALIVE = 1
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option SO_REUSEADDR = 1
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option SO_BROADCAST = 0
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option TCP_NODELAY = 1
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option TCP_KEEPCNT = 9
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option TCP_KEEPIDLE = 7200
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option TCP_KEEPINTVL = 75
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option IPTOS_LOWDELAY = 0
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option IPTOS_THROUGHPUT = 0
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option SO_SNDBUF = 16384
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option SO_RCVBUF = 87380
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option SO_SNDLOWAT = 1
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option SO_RCVLOWAT = 1
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option SO_SNDTIMEO = 0
[2009/01/07 18:04:05,  5] lib/util_sock.c:print_socket_options(781)
   socket option SO_RCVTIMEO = 0

[2009/01/07 18:04:05,  5] printing/print_cups.c:cups_async_callback(412)
   cups_async_callback: callback received for printer data. fd = 23
[2009/01/07 18:04:05,  2] printing/print_cups.c:cups_async_callback(504)
   cups_async_callback: failed to read a new printer list

Ed

. . . . . . . . . . . . . . . . . .
Randomly generated quote 291 of 492:
"Many are called, few are chosen.  Fewer still get to do the choosing."



More information about the samba mailing list