Jump to content

[SOLVED] Huge Log Files


etrader

Recommended Posts

I was noticed that my used disk space is increasing dramatically

 

I just found large log files (in order of few gigs), then I deleted the log files, but still a large disk space is consuming but nothing in the log folder, and I even cannot find where such heavy files are stored.

 

Can you help?

Link to comment
Share on other sites

According to http://www.cyberciti.biz/faq/how-do-i-find-the-largest-filesdirectories-on-a-linuxunixbsd-filesystem/ you could just do:

 

du -a / | sort -n -r | head -n 10

 

To find the 10 largest files.

 

 

It could be your mail spool if you've been doing a lot of maintenance stuff.  After updating Fedora Core from 9->10 and doing some package updates, root's spool was 18GB (some stuff went wrong along the way, so there were a lot of errors ;p).

 

 

 

Or are you on Windows?

Link to comment
Share on other sites

I'm on freshly installed Fedora 10 (no update)

 

I run the command you introduced and it listed 10 large directories, but nothing strange in them.

 

The problem is that when I get the size of all folder via File Manager of Webmin, more than 10GB is missing. On the other hand, the used disk space increases by seconds (probably as visitors come)

Link to comment
Share on other sites

Yes I have lots of data (5GB) with many visitors, but cannot understand what it may happen

 

My problem is that I cannot find such rapidly growing log files.

 

The strange thing is that the used disk space showing on the frontpage of Webmin is different from the folder sizes as can be calculated in its Java-based File Manager (more than 10 GB difference).

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.