Session Cleanup Script
Last Updated: 17 Dec 2015
The session_cleanup.sh script clears stale session files. This script takes one parameter, the system root directory, and is located in the /scripts directory.
The script should be added to the crontab file to handle garbage collection periodically. As a guide, it should only need to be run once a day on average-traffic systems, but may need to be run more often on high-traffic systems.
This script is only effective when your system is configured to run the default Matrix cache. If you are using Memcache or Redis cache storage, this cleanup process is handled internally by these caching systems.
Server Administrator
Chapters
- Software Configuration Files
- Creating a robots.txt file
- Upgrade Script
- Maintenance Tasks
- Memcache Configuration
- Redis Configuration
- Annotated main.inc
- Squiz Matrix Script Index
- Import/Export Scripts
- Move Assets Scripts
- System Integrity Scripts
- System Management Scripts
- Remove Assets Scripts
- Backup Script
- Purge Trash Script
- Recreate Link Tree Script
- Remove Internal Message Script
- Add/Remove URL Script
- Replace URL Script
- Reset Root Password Script
- Rollback Management Script
- Session Cleanup Script
- System Parse Design Scripts
- Publish Static Content Script
- System Check Script
- Matrix SQL Client
- Update LDAP Bridge References Script
The Latest
Tutorials
- 02 Jul 2019
- 28 May 2019
- 30 Jul 2018
- 12 Jul 2018
-
How To Create an Upcoming Events Listing Using a Calendar Search Page
18 Jun 2018 - 19 Apr 2018
Let Us Know What You Think
Let us know if you spot any errors or if you have any ideas on how we can improve the Matrix Community Website.
Contact Squiz for Demo
Let us show you the true power of Squiz Matrix by giving you a personalised demonstration.