I was looking into a disk usage issue for a customer and found that they had nearly 1 GB of temporary session files stored in /home/user/.cagefs/tmp/
In fact, there are currently nearly 197,000 of these files... some with todays date... some over 4 months old. The files all look like this:
-rw------- 1 username username 75 Jul 5 15:56 sess_fffcd441337ca45a72f1fd314756ec51
-rw------- 1 username username 96 Jul 20 16:07 sess_fffce04195a58c07cff8a0be35a7be03
-rw------- 1 username username 96 Aug 23 08:25 sess_fffd1e490ef386faf741e79f6ee3f964
-rw------- 1 username username 75 Jun 14 00:25 sess_fffd35f8eb321c6e034c02e4cafd6ce9
-rw------- 1 username username 75 Oct 1 23:43 sess_fffd8c5e81f81b1bccad9c06d0b1fffa
Sure, i can clear these files out, but this is masking a larger problem.
1) Why are these files here?
2) Should they be here?
3) How can they be automatically purged to stop this from happening to this or other customers in the future?
Thanks for any insight you can provide.
- Scott
In fact, there are currently nearly 197,000 of these files... some with todays date... some over 4 months old. The files all look like this:
-rw------- 1 username username 75 Jul 5 15:56 sess_fffcd441337ca45a72f1fd314756ec51
-rw------- 1 username username 96 Jul 20 16:07 sess_fffce04195a58c07cff8a0be35a7be03
-rw------- 1 username username 96 Aug 23 08:25 sess_fffd1e490ef386faf741e79f6ee3f964
-rw------- 1 username username 75 Jun 14 00:25 sess_fffd35f8eb321c6e034c02e4cafd6ce9
-rw------- 1 username username 75 Oct 1 23:43 sess_fffd8c5e81f81b1bccad9c06d0b1fffa
Sure, i can clear these files out, but this is masking a larger problem.
1) Why are these files here?
2) Should they be here?
3) How can they be automatically purged to stop this from happening to this or other customers in the future?
Thanks for any insight you can provide.
- Scott
Comment