Menu

#2759 Too many session files

open
nobody
None
1
2023-05-22
2023-05-22
Gramanox
No

Dear Campbell,
I set the session.save_path some years ago, but now I recognized that there are more than 18 000 files there.
Is it a way to delete the old files automatically?

Thank you in advance.

Discussion

  • Campbell Morrison

    Check your php.ini settings of the garbage collection probability and divisor. See https://www.php.net/manual/en/session.configuration.php

    By the way, which version of MRBS are you running? MRBS has used a database session handler for some time now.

     
  • Gramanox

    Gramanox - 2023-05-22

    Thank you very much!!!
    The PHP version is 5.6. with MRBS version of 1.5.0 but i did many modifications in the code so unfortunately I can't upgrade.