Server with Plesk runs out of the space because of PHP-FPM logs

Follow

Comments

4 comments

  • Avatar
    Mark-Oliver Wolter

    Of course, it would be a good idea to have a look at what exactly produces so many log entries, and fix the cause and not just the symptom.

    1
    Comment actions Permalink
  • Avatar
    Maximilian Christiansen

    Today a customer caused to cash my server generating 80 GB log files within a very short time. The entire disk was full and as you may noticed, nothing worked after that for several hours...

    Please restrict log files in the next versions, because a single user can take down a plesk server, spaming log files until the disk is full.

    Very useless that plesk checks it once per day... If the disk is full after 1 hour, plesk doesn't even work anymore and the full server is down.

    0
    Comment actions Permalink
  • Avatar
    Mikhail Shport

    Hello Maximilian,

    I would like to say that this period is linked to the fact the rotation is performed during the daily task, alongside many other operations.
    However, the rotation might be adjusted to execute this specific operation more frequently, as described in the "Workaround" section.

    0
    Comment actions Permalink
  • Avatar
    Maximilian Christiansen

    I got it thanks. In general this could be a serious exploit for plesk. When you create a php while loop which produces errors the whole time, your log files will continue to take down the server within minutes by filling up the disc space to maximum. A bad attacker (customer) could easily exploit this. I know it's not common, but you never know. ;)

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request