RE: use something other than /tmp for as a staging area

2014-03-03 Thread Javins, Walt
Thanks for the quick reply Christian!  I’ll pursue the TMPDIR solution, as I 
want to archive the failed diffs as potentially useful application/user 
behavior data.

Walt

From: reviewboard@googlegroups.com [mailto:reviewboard@googlegroups.com] On 
Behalf Of Christian Hammond
Sent: Monday, March 03, 2014 6:07 PM
To: reviewboard@googlegroups.com
Subject: Re: use something other than /tmp for as a staging area

Alternatively, have a cron job that just cleans up the RB temp files. Those are 
only used for failed diffs, so that the failure can be investigated.

Christian

--
Christian Hammond - chip...@chipx86.com<mailto:chip...@chipx86.com>
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On Mon, Mar 3, 2014 at 6:06 PM, Christian Hammond 
mailto:chip...@chipx86.com>> wrote:
We store temporary files in the configured temporary directory. You should be 
able to control this by setting the TMPDIR or TEMP environment variable in your 
Apache config or reviewboard.wsgi file.

Christian

--
Christian Hammond - chip...@chipx86.com<mailto:chip...@chipx86.com>
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On Mon, Mar 3, 2014 at 6:00 PM, Javins, Walt 
mailto:walt.jav...@isilon.com>> wrote:
I recently had Review Board fill up my server’s root partition after some 
poorly behaved users submitted many large diffs that were saved/staged in /tmp.

Does anyone know of a config setting to change the directory in which Beview 
Board does its patch applying?  It is easy to clean up /tmp, but I’d prefer to 
forestall the issue entirely by keeping this data on the application partition 
(and I like to keep the data around for investigation/analysis of failed 
patches).  I’ve searched for a mention of any such setting in:


1)  The admin dashboard

2)  The django config files

3)  The online docs 
(http://www.reviewboard.org/docs/manual/dev/admin/configuration/)

4)  The mailing list archives

I haven’t found anything promising yet.

Thanks,
Walt
--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
reviewboard+unsubscr...@googlegroups.com<mailto:reviewboard%2bunsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.


--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
reviewboard+unsubscr...@googlegroups.com<mailto:reviewboard+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: use something other than /tmp for as a staging area

2014-03-03 Thread Christian Hammond
Alternatively, have a cron job that just cleans up the RB temp files. Those
are only used for failed diffs, so that the failure can be investigated.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Mon, Mar 3, 2014 at 6:06 PM, Christian Hammond wrote:

> We store temporary files in the configured temporary directory. You should
> be able to control this by setting the TMPDIR or TEMP environment variable
> in your Apache config or reviewboard.wsgi file.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
>
> On Mon, Mar 3, 2014 at 6:00 PM, Javins, Walt wrote:
>
>>  I recently had Review Board fill up my server’s root partition after
>> some poorly behaved users submitted many large diffs that were saved/staged
>> in /tmp.
>>
>>
>>
>> Does anyone know of a config setting to change the directory in which
>> Beview Board does its patch applying?  It is easy to clean up /tmp, but I’d
>> prefer to forestall the issue entirely by keeping this data on the
>> application partition (and I like to keep the data around for
>> investigation/analysis of failed patches).  I’ve searched for a mention of
>> any such setting in:
>>
>>
>>
>> 1)  The admin dashboard
>>
>> 2)  The django config files
>>
>> 3)  The online docs (
>> http://www.reviewboard.org/docs/manual/dev/admin/configuration/)
>>
>> 4)  The mailing list archives
>>
>>
>>
>> I haven’t found anything promising yet.
>>
>>
>>
>> Thanks,
>>
>> Walt
>>
>> --
>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>> ---
>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>> ---
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to reviewboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: use something other than /tmp for as a staging area

2014-03-03 Thread Christian Hammond
We store temporary files in the configured temporary directory. You should
be able to control this by setting the TMPDIR or TEMP environment variable
in your Apache config or reviewboard.wsgi file.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Mon, Mar 3, 2014 at 6:00 PM, Javins, Walt  wrote:

>  I recently had Review Board fill up my server’s root partition after
> some poorly behaved users submitted many large diffs that were saved/staged
> in /tmp.
>
>
>
> Does anyone know of a config setting to change the directory in which
> Beview Board does its patch applying?  It is easy to clean up /tmp, but I’d
> prefer to forestall the issue entirely by keeping this data on the
> application partition (and I like to keep the data around for
> investigation/analysis of failed patches).  I’ve searched for a mention of
> any such setting in:
>
>
>
> 1)  The admin dashboard
>
> 2)  The django config files
>
> 3)  The online docs (
> http://www.reviewboard.org/docs/manual/dev/admin/configuration/)
>
> 4)  The mailing list archives
>
>
>
> I haven’t found anything promising yet.
>
>
>
> Thanks,
>
> Walt
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


use something other than /tmp for as a staging area

2014-03-03 Thread Javins, Walt
I recently had Review Board fill up my server's root partition after some 
poorly behaved users submitted many large diffs that were saved/staged in /tmp.

Does anyone know of a config setting to change the directory in which Beview 
Board does its patch applying?  It is easy to clean up /tmp, but I'd prefer to 
forestall the issue entirely by keeping this data on the application partition 
(and I like to keep the data around for investigation/analysis of failed 
patches).  I've searched for a mention of any such setting in:


1)  The admin dashboard

2)  The django config files

3)  The online docs 
(http://www.reviewboard.org/docs/manual/dev/admin/configuration/)

4)  The mailing list archives

I haven't found anything promising yet.

Thanks,
Walt

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.