[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem report & fix
From: |
Larry Jones |
Subject: |
Re: problem report & fix |
Date: |
Fri, 15 Feb 2002 14:22:42 -0500 (EST) |
Michal Moskal writes:
>
> After some investigation I found, that it's becouse of async buffers in
> cvs. When you do cvs up and press ctrl-z you might note that pserver
> process reads all the files to ram (it grows until it gets to the size
> of repo). This is actually how async buffer behaves, if it cannot write,
> it buffers :) But I guess there should be some limit placed on it.
There is -- see all the code inside #ifdef SERVER_FLOWCONTROL,
particularly server_pause_check() in server.c, which is called from
do_recursion() in recurse.c. In short, that code should prevent ever
buffering up more than about 2 MB plus the size of the largest file.
-Larry Jones
It works on the same principle as electroshock therapy. -- Calvin