Deleting TMP folder contents on Siteground hosting crashes WordPress

Home Forums BulletProof Security Free Deleting TMP folder contents on Siteground hosting crashes WordPress

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #34691
    Jeff
    Participant

    The default behavior of Mscan is to Automatically Delete /tmp Files.

    On Siteground hosting, the mysql socket data is stored in the /tmp folder.

    If the admin does not remember to change this default setting before running Mscan,  running Mscan results in crashing all the WordPress sites on the account until Siteground techs restore the data from an image.

    Can this default behavior be changed in future releases?

    #34692
    AITpro Admin
    Keymaster

    Thanks for letting us know this about SiteGround hosting. Not sure why deleting tmp files would cause that to happen, that is unusual. For now uncheck the MScan option to delete tmp files and we will look into this further to see why that would happen.

    #34693
    Jeff
    Participant

    That’s the plan.  The second time it happened (on a new installation), I cringed as soon as I hit scan, remembering a second too late to change the default.

    So, it is repeatable.

    And I did confirm with Siteground support that this was how they set up their shared hosting accounts.

    #34694
    AITpro Admin
    Keymaster

    We will look into this further, but obviously you don’t want to use the MScan tmp files deletion feature since it causes problems on SiteGround hosting. 😉

    #35359
    Baton Vlad
    Participant

    [Spam post deleted due to being unrelated to website security, WordPress, BPS or BPS Pro]

    #35899
    Harry Martin
    Participant

    [Spam post deleted due to being unrelated to website security, WordPress, BPS or BPS Pro]

    #45276
    lord alia
    Participant

    <p data-start=”116″ data-end=”759″>That usually happens because the TMP folder is used by WordPress and plugins (especially caching or backup plugins) to store temporary files. If you delete everything inside it, WordPress can’t access those files and might crash until they’re recreated. On SiteGround hosting (and most wordpress hosting in general), it’s better to clear cache using the hosting tools or the plugin itself rather than manually wiping the TMP folder. If space is the concern, you can safely remove old log or backup files, but make sure to leave the structure intact or let SiteGround support guide you — they’re usually quick to help with this kind of issue.</p>

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.