You are not logged in.

#1 2012-04-07 06:36:06

raxbg
Member
Registered: 2011-04-05
Posts: 105

[SOLVED] Something is eating up space while system is iddle

Hello guys, yesterday I found out that my rootfs has got to 0 free space. Last time I checked it it was about 2 gigs, since then I have only installed 2-3 packages with total size ~100MB. I did "pacman -Scc" and it freed only 24 MB. I went to bed. I got up this morning and the space was shrinked to 22MB. What the hell is going on? I have not rebooted my machine yet, nor have I closed any opened app. Can u tell me how to determine what is eating the space, and eventually how to free it back? Thanks!

Last edited by raxbg (2012-04-07 20:41:38)

Offline

#2 2012-04-07 06:59:20

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,544

Re: [SOLVED] Something is eating up space while system is iddle

Try ncdu to identify which directories are using the most space

Offline

#3 2012-04-07 07:37:21

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Something is eating up space while system is iddle

Probably /var/log.

Learn2logrotate.


Here's my /etc/logrotate.conf:

# see "man logrotate" for details
# rotate log files weekly
weekly

# keep 2 weeks worth of backlogs
rotate 2

# restrict maximum size of log files
size 100M

# create new (empty) log files after rotating old ones
create

# uncomment this if you want your log files compressed
compress

# Logs are moved into directory for rotation
# olddir /var/log/archive

# Ignore pacman saved files
tabooext + .pacorig .pacnew .pacsave

# Arch packages drop log rotation information into this directory
include /etc/logrotate.d

/var/log/wtmp {
    monthly
    create 0664 root root
    rotate 1
}

"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#4 2012-04-07 08:10:53

raxbg
Member
Registered: 2011-04-05
Posts: 105

Re: [SOLVED] Something is eating up space while system is iddle

Thank you guys, I have never had problems with logs before. It was actually an apache error log which was 1.7 gigs lol. It was a mistake in one of my php scripts. Poor me, this only shows how good programmer am I big_smile

Offline

#5 2012-04-07 08:14:57

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Something is eating up space while system is iddle

Don't forget to mark it as solved.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

Board footer

Powered by FluxBB