Title: RE: Project: Setting up CVS
I had a script that pounded the CVS server when I ran into the same/similar problem and that fixed it for me. Obvious question - Did you do a "killall -HUP inetd" after you changed inetd.conf so inetd would reread it? Of course it could be something different.
 
Tony
-----Original Message-----
From: John Tucker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 02, 2000 3:05 PM
To: Tony Cleveland; [EMAIL PROTECTED]
Subject: RE: Project: Setting up CVS

Hi Tony,
 
I looked at the man page for inetd and its discussion of the nowait.max parameter.  It states the following:
 
"The optional ``max'' suffix (separated from ``wait'' or ``nowait'' by a dot) specifies the maximum number of server
instances that may be spawned from inetd within an interval of 60 sec­onds. When omitted, ``max'' defaults to 40."
 
So I bumped 'max' up to 400 and tried flooding it with some consecutive commands just like before and after 60
commands it gave me the same error.
 
    cvs [remove aborted]: connect to 10.10.0.36:2401 failed: Connection refused
 
Anyway, I'll try it with a lower max (like 100) and see what happens.
 
Thanks
-----Original Message-----
From: Tony Cleveland [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 02, 2000 12:28 PM
To: 'John Tucker'; [EMAIL PROTECTED]
Subject: RE: Project: Setting up CVS


It could be the connection limit set by inetd, try upping the limit. In inetd.conf change

cvspserver      stream  tcp     nowait.40      root    /usr/bin/cvs cvs --allow-root=/cvsroot

to

cvspserver      stream  tcp     nowait.100      root    /usr/bin/cvs cvs --allow-root=/cvsroot

or to some other larger value. "man inetd" for more info.

Tony

-----Original Message-----
From: John Tucker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 02, 2000 12:05 PM
To: [EMAIL PROTECTED]
Subject: RE: Project: Setting up CVS


Hello,

After I hammer our Linux CVS server by performing 30 or more consecutive
"cvs add file..." commands with a CVS client I consistently get the
following error message:

        cvs [remove aborted]: connect to 10.10.0.36:2401 failed: Connection
refused

Once this message is received I can't use CVS for up to 5 minutes without
getting
that same error message. I can then use it as long as I don't submit 30 or
more
consecutive commands against the server again.

Is this just a problem with CVS? Any help would be greatly appreciated!

Note: The number 30 was just used as a guestimate and is in no way implying
30 as
some special number in this equation.

Thanks!

Reply via email to