{"push_id":955668938,"size":2,"distinct_size":2,"ref":"refs/heads/3.22.x","head":"d259eaac7ba240cbe9008271d9d123a5758547d8","before":"27f9eb01197dddb95332871eb5c1ba4fe3589af0","commits":[{"sha":"6efb2ebc0f81c5eaa7e42475495131f578487ffc","author":{"email":"85dd01236de5c6051a212977cd06f2aecf349d45@inlibro.com","name":"Blou"},"message":"Bug 15553 - [SIGNED-OFF] cgisess_ files polluting the /tmp directory\n\nWhen some users want to improve performance, one suggestion is to switch the syspref \"sessionstorage\" to 'tmp',\nwhich store the session info in the /tmp directory instead of the database.\n\nDepending on the frequency of the cleaning process (or lack thereof),\nthis can be heavy pollution into the /tmp directory, making it unusable.\n\"rm cgi*\" would not even work since cgi* extends to over 8000 items...\n\nA simple fix is to modify the target directory in C4/Auth.pm to /tmp/cgisess.\n\nTesting scenario:\n1) change the syspref SessionStorage to 'tmp'\n2) Log into the OPAC, validate that a file named /tmp/cgisess_(something) got created\n3) Apply the patch\n4) Log into the OPAC, validate that a file /tmp/cgisess/cgisess_(something) got created\n\nSigned-off-by: Magnus Enger <magnus@libriotech.no>\nWorks as advertised. Session files are created in /tmp/cgisess/ instead\nof directly in /tmp. I usually store sessions in memcached, but a\ncouple of times memcached has died on me, and before I knew it, /tmp\nwas so full of sessions files, I could not easily delete them with\n\"rm /tmp/cgisess*\". Being able to delete /tmp/cgisess/ should be a\nbit easier.\n\nSigned-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>\n\nSigned-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>\n(cherry picked from commit 3815915a3338c4380da7773acc675b07ac82562d)\nSigned-off-by: Julian Maurice <julian.maurice@biblibre.com>","distinct":true,"url":"https://api.github.com/repos/Koha-Community/Koha/commits/6efb2ebc0f81c5eaa7e42475495131f578487ffc"},{"sha":"d259eaac7ba240cbe9008271d9d123a5758547d8","author":{"email":"a4ed5d8b9e88a5c4401757374b1604745a5e46b6@rijksmuseum.nl","name":"Marcel de Rooy"},"message":"Bug 15553: [QA Follow-up] Replace hardcoded tmp and add instance to dirname\n\nIf you use multiple instances on one server, you could have the situation\nthat instance A creates the cgisess subfolder and instance B could have a\npermission problem. This patch resolves that by allowing each instance to\nhave its own cgisess subfolder.\n\nSigned-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>\n\nSigned-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>\n(cherry picked from commit c4934b2dab427da4304913b3f0f26e0a24606896)\nSigned-off-by: Julian Maurice <julian.maurice@biblibre.com>","distinct":true,"url":"https://api.github.com/repos/Koha-Community/Koha/commits/d259eaac7ba240cbe9008271d9d123a5758547d8"}]}