• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

100% Spaced Used

M

maxx200x

Guest
Hi,

I have this problem that appears every day. I see that I have 100% Space Used.
I checked the all the log files and they are under 100 MB (I have 20GB disk space). If I stop or restart the server the space returns to 1% as it should be.

The problem is that when I reach 100% the site does not work anymore.

Can anybody help me please?
 
Yes I have root access.
Now it shows 435 MB used because I have stopped the server.

But all I have done was to reset the server and the space used (as it is reported by PLESK) went from 100% to 1 %.

And I have this problem every day.
 
It is quite strange situation. When did you meet it first time? Did you try to re-run statistics utility manually:

# PRODUCT_ROOT/admin/sbin/statistics
 
No I haven't tried. But I will do so from now on.
It should get correct size after I re-run the statistics?
 
Statistics utility should be run daily and it updates disk usage statistics in Plesk. Probably it is not run once a day. You need to check your cron entities where should be listed something like:

0 0 * * * /usr/local/psa/admin/sbin/statistics --calculate-all

You can also check cron log files, to make sure if statistics is run daily or not.
Hope this information helps somehow.
 
Thank you for your help.

I have schedule the server to execute the command as you told me.
I have executed the command and I see that the Space Used came from 2% to 1% as it should. It should send me an email when tha task is done.
If I want to execute the command evry 6 hours, cron should look like:

0 */6 * * * /usr/local/psa/admin/sbin/statistics --calculate-all ?

So thank you for helping me so far.

Another problem is with error_log. When I have problems with my site it grows to 20GB. How can I keep it under 10GB?
 
Hi, same problem again
My disk space is 100% used again. I used this command:
/usr/local/psa/admin/sbin/statistics --calculate-all
and I get this error:

matchup: fatal: unable to read input: disk quota exceeded
awk: (FILENAME=- FNR=239) fatal: print to "standard output" failed (Broken pipe)
statistics: Unable to close the file: Disk quota exceeded

System error 122: Disk quota exceeded
statistics: Unable to close the file: Disk quota exceeded

System error 122: Disk quota exceeded

I have checked the log files from / var/www/vhosts/mysite/statistics/logs/
and they are under 100MB.
There can be other log files that can grow so big (20GB)?

IF I stop the VPS, the space used starts to go to 1% (as it should be). Than I start the VPS and in 1 or 2 days the problem appears again.

Can anyone help me, PLEASE?
 
Back
Top