To allow ls to be used comfortably in /tmp:
- PHP sess_* files should be spawned at /var/tmp/php/sessions;
- setup-* files should be spawned to /var/tmp/setup.
To allow ls to be used comfortably in /tmp:
rOPS Nasqueron Operations | |||
D1486 | rOPS88ad7d6558ab Create individual PHP session directories per php-fpm user | ||
D1484 | rOPSefee476df009 Don't flood /tmp with PHP sessions |
PHP part
In /use/local/etc/php.ini:
session.save_path = "/var/tmp/php/sessions"
$ mkdir -p /var/tmp/php/sessions $ mv /tmp/sess* /var/tmp/php/sessions/ $ service php-fpm-prod reload
This task has been identified as suitable for the December product backlog for infrastructure. It's included in our product backlog and will be discussed for inclusion to sprint backlog this E3 meeting.