Skip to content
This repository
Browse code

Added note about clearing the /tmp directory

  • Loading branch information...
commit 7bfc1289b663da95673f74161b6f4d622507b190 1 parent c84b539
migurski migurski authored

Showing 1 changed file with 9 additions and 1 deletion. Show diff stats Hide diff stats

  1. +9 1 INSTALL.md
10 INSTALL.md
Source Rendered
@@ -119,4 +119,12 @@ PHP sessions are brief by default, but a few tweaks can make them more durable.
119 119 to run `ext/session/mod_files.sh` from the PHP source for this to work, and probably set
120 120 [`session.hash_bits_per_character`](http://php.net/manual/en/session.configuration.php#ini.session.hash-bits-per-character)
121 121 to `4` just to be safe.
122   -
  122 +
  123 +When atlases or snapshots fail, the `/tmp` directory can fill up. Add a few
  124 +find-and-delete commands to `/etc/crontab` to keep these files from piling up
  125 +and filling the disk:
  126 +
  127 + 10 * * * * ubuntu find /tmp -cmin +360 -name 'preblobs-*.jpg' -delete
  128 + 20 * * * * ubuntu find /tmp -cmin +360 -name 'highpass-*.jpg' -delete
  129 + 30 * * * * ubuntu find /tmp -cmin +360 -name 'postblob-*.png' -delete
  130 + 40 * * * * ubuntu find /tmp -cmin +360 -name 'cairoutils-*.???' -delete

0 comments on commit 7bfc128

Please sign in to comment.
Something went wrong with that request. Please try again.