在BSD版看有人问的问题,说是cvsup的时候出现这个错误:Detailer failed: Network write failure: Connection closed,很是奇怪,从来没遇到过,google了一下,原来是server is too busy啊,呵呵,提示得不够清楚,换个站点就可以了。
I'm currently running 6.0-RELEASE (RELENG_6_0) and sometime today, cvsup began giving me the following error, regardless of which cvsup server I put in my supfile:
TreeList failed: Network write failure: Connection closed
I tried moving /var/db/sup and creating a new empty one, but then I get the error:
Detailer failed: Network write failure: Connection closed
I also tried blowing away /usr/ports and running against and empty /usr/ports, and also downloading ports.tgz from the 6.0-RELEASE ftp. Neither worked, I get the same error.
I downed my firewall completely to rule that out, and also tried establishing an ssh tunnel through a friend's colo to rule out routing or my ISP. Neither helped.
I'm stuck at the moment, really not sure where to go. I tried also truss'ing the cvsup process, but didn't see anything overly obvious. Below is the tail end of the truss. The SIGINT is me ctrl-c'ing the process after I got the typical cvsup "Will try again at HH:MM:SS" message.
Thanks in advance!
Josh
67851: 0.000014527 read(0xa,0x829100c,0x1000) = 4096 (0x1000)
67851: 0.000018158 write(11,0x829300c,4059) = 4059 (0xfdb)
67851: 0.000020674 read(0xa,0x829100c,0x1000) = 4096 (0x1000)
67851: 0.000039670 write(11,0x829300c,4063) = 4063 (0xfdf)
67851: 0.000014806 read(0xa,0x829100c,0x1000) = 3539 (0xdd3)
67851: 0.000016482 write(11,0x829300c,4042) = 4042 (0xfca)
67851: 0.000011454 read(0xa,0x829100c,0x1000) = 0 (0x0)
67851: 0.000017041 write(11,0x829300c,2609) = 2609 (0xa31)
67851: 0.000020952 close(11) = 0 (0x0)
67851: 0.001009905 rename(0x8247a38,0x8247844) = 0 (0x0)
67851: 0.005183620 close(10) = 0 (0x0)
67851: 0.000024863 madvise(0x830c000,0x8000,0x5) = 0 (0x0)
67851: 0.000051683 break(0x82d4000) = 0 (0x0)
67851: 0.000014527 madvise(0x8176000,0x3000,0x5) = 0 (0x0)
67851: 0.000011455 gettimeofday({1131496471 586687},0x8200f04) = 0 (0x0)
67851: 0.000010616 sigprocmask(0x1,0x8200ec4,0x8200ed4) = 0 (0x0)
67851: 0.000010896 sigprocmask(0x2,0xbfbfe3a0,0xbfbfe3b0) = 0 (0x0)
67851: 0.000011454 sigaction(SIGINT,0x0,{ 0x8094567 0x0|ONSTACK|RESETHAND|NOCLDSTOP|NODEFER|NOCLDWAIT|SIGINFO ss_t }) = 0 (0x0)
67851: 0.000010895 sigaction(SIGINT,{ SIG_DFL 0x0|ONSTACK|RESETHAND|NOCLDSTOP|NODEFER|NOCLDWAIT|SIGINFO ss_t },{ 0x8094567 0x0|ONSTACK|RESETHAND|NOCLDSTOP|NODEFER|NOCLDWAIT|SIGINFO ss_t }) = 0 (0x0)
67851: 0.000010337 sigaction(SIGHUP,0x0,{ 0x8094567 0x0|ONSTACK|RESETHAND|NOCLDSTOP|NODEFER|NOCLDWAIT|SIGINFO ss_t }) = 0 (0x0)
67851: 0.000010895 sigaction(SIGHUP,{ SIG_DFL 0x0|ONSTACK|RESETHAND|NOCLDSTOP|NODEFER|NOCLDWAIT|SIGINFO ss_t },{ 0x8094567 0x0|ONSTACK|RESETHAND|NOCLDSTOP|NODEFER|NOCLDWAIT|SIGINFO ss_t }) = 0 (0x0)
67851: 0.000010337 sigaction(SIGTERM,0x0,{ 0x8094567 0x0|ONSTACK|RESETHAND|NOCLDSTOP|NODEFER|NOCLDWAIT|SIGINFO ss_t }) = 0 (0x0)
67851: 0.000011174 sigaction(SIGTERM,{ SIG_DFL 0x0|ONSTACK|RESETHAND|NOCLDSTOP|NODEFER|NOCLDWAIT|SIGINFO ss_t },{ 0x8094567 0x0|ONSTACK|RESETHAND|NOCLDSTOP|NODEFER|NOCLDWAIT|SIGINFO ss_t }) = 0 (0x0)
67851: 0.000013410 setsockopt(0x5,0xffff,0x80,0xbfbfe318,0x8) = 0 (0x0)
67851: 0.000059226 close(5) = 0 (0x0)
67851: 0.000011734 gettimeofday({1131496471 587298},0xbfbfe760) = 0 (0x0)
67851: 0.000011733 fcntl(1,F_GETFL,0x0) = 2 (0x2)
67851: 0.000015085 fcntl(1,F_SETFL,0x6) = 0 (0x0)
67851: 0.000052800 write(1,0x812c00c,23) = 23 (0x17)
67851: 0.000020114 fcntl(1,F_SETFL,0x2) = 0 (0x0)
67851: 0.000011454 gettimeofday({1131496471 587581},0xbfbfe700) = 0 (0x0)
67851: 0.000011175 gettimeofday({1131496471 587626},0xbfbfe650) = 0 (0x0)
67851: 0.000013410 select(7,{6},{},{6},{0 0}) = 0 (0x0)
67851: 0.000011454 gettimeofday({1131496471 587736},0xbfbfe650) = 0 (0x0)
67851: 0.000010058 sigprocmask(0x1,0xbfbfe610,0xbfbfe620) = 0 (0x0)
67851: 0.000010895 sigprocmask(0x2,0x818eda4,0x818edb4) = 0 (0x0)
67851: 0.000011733 gettimeofday({1131496471 587868},0x818ef04) = 0 (0x0)
SIGNAL 2 (SIGINT)
67851: 14.134225440 select(7,{6},{},{6},{325 599528}) ERR#4 'Interrupted system call'
SIGNAL 2 (SIGINT)
SIGNAL 2 (SIGINT)
process exit, rval = 2
Well that figures. I tried cvsup15 and it worked fine.
Is this error essentially, in English, "This server is too busy"? If so, I think they should have it indicate as such, rather than this obscure error.