Welcome Guest ( Log In | Register )




Collapse

Top Submitters

· NickTheGreek (127)
·  (127)
· www.yourforum.gr (61)
· nickpar (20)
· Big (1)


Collapse

Announcments


Welcome to Tutorial System!

Courtesy of www.gr8webservices.com & www.forumsandmore.com



Print this Tutorial 

Command to delete the session files from the tmp.

Tutorial Information
Name: Command to delete the session files from the tmp.
Submitter: NickTheGreek
Category: cPanel Tutorials
Submitted: 3 Oct 2012
Updated: 3 Oct 2012
Views: 198
Rating: This tutorial is unrated.
Command to delete the session files from the tmp.
View All Tutorials By This Member
View Discussion Topic
Description:
Basically all the session files stored in the tmp directory and some time due to the excessive connection to mysql, we are facing the tmp directory 100% full problem at that time we can use the following command in cron and remove the session file more then 30 minutes old.
Tutorial Instructions
CODE
find /tmp -type f -name sess_* -cmin +30 |xargs rm -f


In above command I have used +30 for the 30 minutes, you can use the values as per your requirement.

Comments
There have been no comments made as of yet. Why not be the first?



1 user(s) active
Active Users 1 guests, 0 members, 0 anonymous members
Sorted by Last Click
Quick Stats
Board Stats There have been a total of 244 tutorials in 6 categories and 0 sub-categories with 111617 views and 24 comments
The newest tutorial is How to Add “Move to” or “Copy to” to Windows 10’s Context Menu by NickTheGreek

RSS Lo-Fi Version Time is now: 16th April 2024 - 08:37 PM
Skin and Graphics by Dan Ellis and Anubis. Hosting by Forums & More © 2005-2011.
InvisionGames - Your #1 Arcade Games Repository | AllSigs - Signatures for all | Rock Band + Guitar Hero = RockHero ! | The Remoters - Remote Assistance | FileMiners - You ask, We find