XFileSharing Pro - Script crush from full disk

Message
Author
veggera
Posts: 16
Joined: Oct 25, 2013 10:50 pm

Script crush from full disk

#1 Postby veggera » Feb 14, 2014 4:31 pm

Hello all,

Today my website crash because of full disk, I use 120 GB SSD for that.
I have find out that server disk was full from logs var/log

I like your help how can prevent this to happen again in future.

Many thanks for your help

bizman
Posts: 95
Joined: Mar 24, 2013 1:57 am

#2 Postby bizman » Feb 14, 2014 4:39 pm

You could delete through cron the logs every 3 days, for example.

veggera
Posts: 16
Joined: Oct 25, 2013 10:50 pm

#3 Postby veggera » Feb 14, 2014 4:49 pm

thanks for your reply,

is that possible via cron job ? or need some special script to do that ?

thanks

veggera
Posts: 16
Joined: Oct 25, 2013 10:50 pm

#4 Postby veggera » Feb 15, 2014 11:11 am

anyone ?

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#5 Postby ankurs » Feb 15, 2014 12:07 pm

Which log files are these ? You should better disable logging .

veggera
Posts: 16
Joined: Oct 25, 2013 10:50 pm

#6 Postby veggera » Feb 15, 2014 12:30 pm

httpd, mail. system....

Any point how to ?


Thank you

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#7 Postby ankurs » Feb 16, 2014 4:02 am

veggera wrote:httpd, mail. system....

Any point how to ?


Thank you

http://www.mydigitallife.info/how-to-di ... error-log/

Mail and system log shouldn't fill ur disk, unless there is something seriously wrong with it.


Return to “XFileSharing Pro”