<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Sessions are not cleaned up]]></title><description><![CDATA[<p dir="auto">My backups of 2fauth were taking quite long so I checked the size of the backup. The app stores some session data in <code>/app/data/storage/framework/sessions</code>, which does not seem to get cleaned up.</p>
<pre><code>/app/data/storage/framework/sessions# find . -type f -printf x | wc -c
719188
</code></pre>
<p dir="auto">With that amount of files it was not possible to list files with <code>ls</code>, which resulted <code>Killed</code> being printed on the console.</p>
]]></description><link>https://forum.cloudron.io/topic/11834/sessions-are-not-cleaned-up</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 14:32:44 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/11834.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 May 2024 12:31:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Sessions are not cleaned up on Thu, 30 May 2024 18:53:50 GMT]]></title><description><![CDATA[<p dir="auto">I have moved the session files out of the data directory now. Maybe we should move to redis even later.</p>
]]></description><link>https://forum.cloudron.io/post/89246</link><guid isPermaLink="true">https://forum.cloudron.io/post/89246</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 30 May 2024 18:53:50 GMT</pubDate></item><item><title><![CDATA[Reply to Sessions are not cleaned up on Thu, 30 May 2024 16:54:33 GMT]]></title><description><![CDATA[<p dir="auto">Looks like upstream has this hardcoded to 90 days - <a href="https://github.com/Bubka/2FAuth/blob/master/config/session.php#L34" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Bubka/2FAuth/blob/master/config/session.php#L34</a></p>
]]></description><link>https://forum.cloudron.io/post/89240</link><guid isPermaLink="true">https://forum.cloudron.io/post/89240</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 30 May 2024 16:54:33 GMT</pubDate></item></channel></rss>