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: [email protected] [mailto:[email protected]] On Behalf Of Christian Hammond Sent: Monday, March 03, 2014 6:07 PM To: [email protected] 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 - [email protected]<mailto:[email protected]> Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Mon, Mar 3, 2014 at 6:06 PM, Christian Hammond <[email protected]<mailto:[email protected]>> 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 - [email protected]<mailto:[email protected]> Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Mon, Mar 3, 2014 at 6:00 PM, Javins, Walt <[email protected]<mailto:[email protected]>> 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 [email protected]<mailto:reviewboard%[email protected]>. 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 [email protected]<mailto:[email protected]>. 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
