CUPS Slowness due to network issue

Paul Conklin paul.conklin at cerner.com
Thu Mar 21 20:00:06 PDT 2013


I should add, it's just as slow regardles of if I browse using IP address or name.  All I have on the network is a Linksys switch (DHCP turned on or off, depending on if I'm using my W2k3 server), an iPad, and my Linux box.  It's just as slow when I browse the WI from either my iPad or the W2k3 server.  but If i turn DHCP on the router and turn off my W2k3 server, reboot everything. it is peppy from any device on the network.  Turn DHCP off and turn on the W2k3 server and it goes to a crawl again and cupsd hangs.  if i do NOT launch the WI from anywhere remotely, it's peppy on the linux localhost, until i launch it remotely, then when cupsd hangs (as seen from strace) it crawls locally untill everything times out.  no errors in the error_log file either and i'm set to debug2.

> I know this is totaly an issue on my network, I'm just hoping someone can point me in the right direction.  using CUPS 1.6.2 on CentOS 5.9 (happens with 1.6.1 as well) and if i'm just on a network (think Linksys Router) everything hums right along.  I'm trying to do some testing in a larger scale network, so I have a W2k3 machine that all did was the "first server setup" so that installed DHCP, DNS, and AD.  When I do so much as just browse the web page, it is painfully slow and completely hangs cupsd (even lpstat -o hangs), then after about 30 seconds or so, everything comes back.  I did an strace and it hangs at this point.  (right after the 5000).  Anyone have any thoughts?
>
> getsockname(15, {sa_family=AF_INET, sin_port=htons(631), sin_addr=inet_addr("192.168.1.14")}, [47854525612048]) = 0
> open("/etc/hosts", O_RDONLY)            = 16
> fcntl(16, F_GETFD)                      = 0
> fcntl(16, F_SETFD, FD_CLOEXEC)          = 0
> fstat(16, {st_mode=S_IFREG|0644, st_size=186, ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b8664b3f000
> read(16, "# Do not remove the following li"..., 4096) = 186
> read(16, "", 4096)                      = 0
> close(16)                               = 0
> munmap(0x2b8664b3f000, 4096)            = 0
> socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 16
> connect(16, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.1")}, 28) = 0
> fcntl(16, F_GETFL)                      = 0x2 (flags O_RDWR)
> fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
> poll([{fd=16, events=POLLOUT}], 1, 0)   = 1 ([{fd=16, revents=POLLOUT}])
> sendto(16, "A\244\1\0\0\1\0\0\0\0\0\0\00214\0011\003168\003192\7in-add"..., 43, MSG_NOSIGNAL, NULL, 0) = 43
> poll([{fd=16, events=POLLIN}], 1, 5000) = 0 (Timeout)
> poll([{fd=16, events=POLLOUT}], 1, 0)   = 1 ([{fd=16, revents=POLLOUT}])
> sendto(16, "A\244\1\0\0\1\0\0\0\0\0\0\00214\0011\003168\003192\7in-add"..., 43, MSG_NOSIGNAL, NULL, 0) = 43
> poll([{fd=16, events=POLLIN}], 1, 5000 <unfinished ...>





More information about the cups mailing list