Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
November 25, 2024, 12:53:50 PM
News
: LinuxSolved.com Linux Help Community Forum..
Home
Search
Login
Register
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
Linux Servers Support
»
How do I clean / free space used by disk or logs in linux server ?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How do I clean / free space used by disk or logs in linux server ? (Read 5242 times)
Noob
Linux Noob !
Posts: 10
How do I clean / free space used by disk or logs in linux server ?
«
on:
December 08, 2007, 06: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
Posts: 2381
Re: How do I clean / free space used by disk or logs in linux server ?
«
Reply #1 on:
December 14, 2007, 06: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
Posts: 551
Re: How do I clean / free space used by disk or logs in linux server ?
«
Reply #2 on:
December 15, 2007, 02:06:10 AM »
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
Print
Pages: [
1
]
« previous
next »
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
Linux Servers Support
»
How do I clean / free space used by disk or logs in linux server ?