Re: delete session files

Michael Yount <[email protected]> Thu, 23 Jan 2003 13:56:25 -0800
Newsgroups gmane.mail.majordomo.majordomo2.docs
Message-ID <[email protected]>
On 23 Jan 14:48, Raheja Nitin-NITINR wrote:
> Can deleting the stored session  (default location: ../GLOBAL/sessions) logs
> have any adverse effect on Majordomo. That directory has accumulated 90,000
> odd files and I am running dangerously close to my quota limits.
>  

The best way to reduce the number of session files is to lower the
value of the session_lifetime setting.  The removal of old session files
will happen automatically, but it can be forced by running the following
command as the Majordomo user:
  mj_trigger -t session

If the session_lifetime setting is lower than the value of some lists'
token_lifetime setting, unusual (but probably not fatal) results may
occur when someone uses the tokeninfo or reject command for a token that
corresponds to a deleted session file.

Michael