On Tue, Apr 07, 2020 at 05:05:08PM +0100, Stuart Henderson wrote:
> On 2020/04/07 18:01, Stefan Sperling wrote:
> > Yes, absolutely correct. Logs or tempfiles filling up /var are a problem,
> > and in the gotweb application Tracey and I created it is indeed possible
> > for requests to trigger large tempfiles. We need to look at that and come
> > up with a better solution.
> > We could check whether httpd/slowcgi could help with this somehow and try
> > to come up with something that works for any application and not just ours.
> > 
> 
> fwiw my usual approach is to put /var/www on a separate filesystem ..

I had that in mind, too. But then you can still fill up that partition,
and in gotweb's case it has Git repositories which also freak out in
various ways if you run them out of disk.
So it doesn't solve the problem from the application's point of view.
Like regular /var, these repositories always need some breathing room.

For temp stuff we really need a separate space that can just be wiped
without consequences when it has run full.

Reply via email to