[Koha-bugs] [Bug 15553] cgisess_ files polluting the /tmp directory
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 11 22:45:55 CET 2016
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15553
--- Comment #1 from Blou <philippe.blouin at inlibro.com> ---
Created attachment 46503
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46503&action=edit
Bug 15553 - cgisess_ files polluting the /tmp directory
When some users want to improve performance, one suggestion is to switch the
syspref "sessionstorage" to 'tmp',
which store the session info in the /tmp directory instead of the database.
Depending on the frequency of the cleaning process (or lack thereof),
this can be heavy pollution into the /tmp directory, making it unusable.
"rm cgi*" would not even work since cgi* extends to over 8000 items...
A simple fix is to modify the target directory in C4/Auth.pm to /tmp/cgisess.
Testing scenario:
1) change the syspref SessionStorage to 'tmp'
2) Log into the OPAC, validate that a file named /tmp/cgisess_(something) got
created
3) Apply the patch
4) Log into the OPAC, validate that a file /tmp/cgisess/cgisess_(something) got
created
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list