This is the mail archive of the overseers@sourceware.org mailing list for the Sourceware project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: git pack-objects run amok


On 29/02/12 04:16, Andrew Pinski wrote:
> On Tue, Feb 28, 2012 at 11:28 AM, Frank Ch. Eigler <fche@elastic.org> wrote:
>> HI -
>>
>>> The load average on gcc.gnu.org was in the 300-400 range for a while
>>> tonight.  The culprit was apparently due to a lot of these [...]
>>> git pack-objects --revs --thin --stdout --delta-base-offset [...]
>>
>> I added some /etc/xinetd.d/git-daemon constraints in an attempt to
>> preclude a reoccurrance, kind of like the anon-cvs limits.
> 
> I am getting:
> fatal: The remote end hung up unexpectedly
> 
> This is because the load average is too high?

Frank has set the limit at 10. But right now there are quite a few people
sucking from gcc's svn both directly and via http.

It's a bit dated now (mrtg now has ways of presenting things more
legibly), but did you know about http://sourceware.org/mrtg/summary.html ?
You can check load average there.

It's possible that to be fairer to the git users, more limits need to be
placed on the anonsvn users. Currently the svnserve service is allowed to
have up to 1000 simultaneous connections which seems high to me, bearing
in mind that maintainers will be using ssh.

It might be possible to limit the svn served by httpd as well, using
mod_bw. But I think to do that would need a new virtual host.

Jifl


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]