or Create a profile
28 Oct, 2016 04:21 PM
We ran into an issue the other day I'm hoping you can clarify. We ran out of memory on one of our servers. After some digging we found a unusually large amount of space being used in the sessions directory. These appear to house inodes used by MySQL however some of them appear to be very old.
We've decided to create a chron job that removes those older than 2 weeks old everyday to not continually eat up disk space but we think this is less than ideal. What are these inodes in this directory and is there an issue with how we are removing the files now?
on 28 Oct, 2016 05:19 PM
Yes it's a common problem with file based session. it's safe to
delete those file, however i'd recommend fully to switch to
database sessions, which simply are self-cleaning
as example how to do it is here:
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the RhodeCode staff to resolve this discussion.
This discussion is private.
Only RhodeCode support staff and members of
can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.