Tag: Ubuntu


  • Plesk high swap usage

    Seen warnings about high swap consumption in Plesk on Ubuntu 20.04.6 LTS:

    Had a look in top and noticed clamavd using 1.0G of swap. After a little digging around, it might be related to a change in ClamAV 0.103.0 where non-blocking signature database reloads were introduced.

    Major changes

    • clamd can now reload the signature database without blocking scanning. This multi-threaded database reload improvement was made possible thanks to a community effort.
      • Non-blocking database reloads are now the default behavior. Some systems that are more constrained on RAM may need to disable non-blocking reloads, as it will temporarily consume double the amount of memory. We added a new clamd config option ConcurrentDatabaseReload, which may be set to no.

    I disabled the option and the difference is dramatic:

    I’ll keep an eye on it I guess.


  • Gogh

    Check out these awesome terminal themes at http://gogh-co.github.io/Gogh/


  • Plesk, Nextcloud, and my shortening patience

    Plesk, Nextcloud, and my shortening patience

    I’ve a self-hosted Nextcloud installation which is frankly a pain, there’s a good chance updates will break everything.

    Plesk is a fairly intuitive interface for self hosting but is best described as non-standard Ubuntu – it handles PHP oddly in particular. Try running any of the php occ commands in it’s built-in ssh terminal and you’ll experience an exercise in frustration.

    It’s so much easier to ssh from an Ubuntu terminal and run occ commands directly – giving a clear error message that you can actually do something with.

    So its the Circles app, lets disable it:

    php occ app:disable circles

    Then repair the installation:

    php occ maintenance:repair

    Finally turn off maintenance mode:

    php occ maintenance:mode --off

    I don’t even use that app but we’re back.