[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Network Troublshooting  |  Linux Servers Support  |  Topic: How do I clean / free space used by disk or logs in linux server ?
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: How do I clean / free space used by disk or logs in linux server ?  (Read 558 times)
0 Members and 1 Guest are viewing this topic.
Noob
Linux Noob !
*
Offline Offline

Posts: 10


View Profile
« on: December 08, 2007, 01:17:43 AM »

Can anyone tell me which files are safe to delete in /var partition ?

I want to increase space as it seems it filled up by logs.
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2187


View Profile
« Reply #1 on: December 14, 2007, 01:52:03 PM »

usually biggest problem in logs are mysql logs if its a webserver.
You can find it at /var/lib/mysql , that is what I do most of the time. There are many other files but they are not much.. only matter of few MBS.. I never bothered myself to delete them but you can delete.
Logged
dragoncity99
LST CareTaker
Experienced
*****
Offline Offline

Posts: 494


View Profile
« Reply #2 on: December 14, 2007, 09:06:10 PM »

Did you create a rule in your syslog tool for that application server ? Also consider enable compression to your logs while using logrotate feature.

Consider backing up those old logrotate archives to your backup media.
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Welcome, Guest. Please login or register.
Did you miss your activation email?
October 10, 2008, 04:16:06 PM

Login with username, password and session length
Navigation
Recent Discussions
[Today at 03:18:26 PM]

[October 09, 2008, 05:17:47 PM]

[October 08, 2008, 04:32:08 AM]

[October 07, 2008, 05:16:33 AM]

[October 06, 2008, 03:09:51 AM]

[October 04, 2008, 03:33:03 AM]

[October 03, 2008, 06:21:18 AM]

[October 03, 2008, 05:31:19 AM]

[October 03, 2008, 05:28:14 AM]

[October 03, 2008, 05:27:13 AM]
Members
Total Members: 6099
Latest: totwire
Stats
Total Posts: 8203
Total Topics: 2224
Online Today: 12
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 5
Total: 5
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc