• Situation
    ————

    • If the webspace at my webhoster is full, the site will not be reachable any longer
    • There is no information mail when I reach the limit
    • I do not want to change the webhoster

    The question is now how I can regulary (by hour) check the used webspace and send a warning mail if the size is over x MB?

    • Is there a WP plugin which is doing this?
    • Is there any other way within WP to do this?
    • Can I solve it outside WP, by using a cron-job or so?
    • This topic was modified 5 years, 10 months ago by hatschiii.
    • This topic was modified 5 years, 10 months ago by hatschiii.
    • This topic was modified 5 years, 10 months ago by hatschiii.
    • This topic was modified 5 years, 10 months ago by hatschiii.
    • This topic was modified 5 years, 10 months ago by hatschiii.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    The space can be broken down in two categories: How much you’re allowed to use (your quota) and how much is physically available on the server (true free space). There’s also how much space is available to you (and on) the database server.

    See https://kinsta.com/blog/disk-usage-wordpress/ for some ideas.

    You may also be able to use wp-cli in a bash script to get some info about what WP sees. https://make.www.ads-software.com/cli/handbook/commands-cookbook/

    My question is why is this happening?

    Three things come to mind.

    Too many saved backup files stored on site.

      One of the error files are too big and taking up too much of the little storage you may have left. I had this one happen one time myself and it crashed the site because the file was huge and took forever to add the next line and if it didn’t then the server seemed to crash

      Some auto posting system like an RSS Importer with no system deleting the older posts and related to this… unattached media files left over after a delete of older posts pulled in by an auto poster.

      The database might be running out of free space but you mentioned files so I’m looking at storage space.

    The auto poster wouldn’t increase the file size except for media files imported with the posts… unless logging might be adding something to a file somewhere. Or in the case of added errors.

    Thread Starter hatschiii

    (@hatschiii)

    Thanks Steven!

    The quota is what is important for me. The entire server will be managed by the webhoster, it’s a shared hosting like usual.

    Thread Starter hatschiii

    (@hatschiii)

    Hmmm…. that’s all about how to check the size… this I see with one click in the admin interface of my webhoser. I need an allert function if the size is over 90% for example.

    Thread Starter hatschiii

    (@hatschiii)

    Thanks JNashHawkins

    The why is not my issue

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Contact your host to see if they have an API function you can call.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Check free space @ webhoster’ is closed to new replies.