Please note that there are two cmsms log files that can grow to hugomongous proportions over several years, consume all available disk space, and hang or crash your webserver.
CMSMS database corruption is also possible if the SQL server runs out of disk space and crashes.
These log files are located in:
- /var/log/cmsms/access.log
- /var/log/cmsms/error.log
You can try to remember to periodically delete them, but they are recreated and updated anytime someone accesses your website.
Or you can also have linux automatically manage the log files for you.
With Ubuntu, to control the growth of these two files, log on as root and create the following text file:
/etc/logrotate.d/cmsms
Paste into it the following:
This keeps 30 days worth of logging information, and compresses each previous day's log file. After 30 days the old logs are deleted./var/log/cmsms/access.log /var/log/cmsms/error.log {
daily
rotate 30
compress
missingok
notifempty
}
This method may also work with other flavors of linux.