• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue Free disk space partition / after server crash caused by data restore

Boris Uhlig

New Pleskian
Hi there,

any ide whre are dump or similar files stored which could remodev to free space, as the watchdog notifies my constantly?

Thank you for any tip!
 
Hi Boris Uhlig,

the standart location for Plesk - backup - files is => "/var/lib/psa/dumps"

You might as well consider to have a look into your "temp"/"tmp" - folders on your server, to free some disk - space.
 
On centos /var/cache is also a good place to check and ofcourse /var/log

Also is log rotation activated and properly configured on your websites. The plesk default if not that great. You can set them all at once with this script.
Change days as needed. All parameters here

site: Sites

PHP:
<?php
$pwfile = "/etc/psa/.psa.shadow";
$pw = trim(file_get_contents($pwfile));

mysql_connect("localhost","admin", $pw);
mysql_select_db("psa");
if (!($result=mysql_query("select htype, name from domains where htype = 'vrt_hst' ORDER by name;"))) {
        print("MySQL error: " . mysql_error());
}
$aantal = mysql_num_rows($result);
    for ($r = 0; $r < mysql_num_rows( $result); $r++) {
        $row = mysql_fetch_array ($result);
        echo "$row[name]\n";
    exec ("/usr/local/psa/bin/site -u $row[name] -log-rotate true -log-bytime daily -log-max-num-files 7 -log-compress false");
    }

?>

we don't compress log files by design in order to be able to find stuff in logs very fast, an example

Code:
#!/bin/sh
cd /var/www/vhosts/system/
more *?*/statistics/logs/access_log | grep -i "mod.php" | mail [email protected] -s "acces `hostname`"
more *?*/statistics/logs/access_log.processed.? | grep -i "mod.php" | mail [email protected] -s "access processed `hostname`"
more *?*/statistics/logs/error_log | grep -i "mod.php" | mail [email protected] -s "error `hostname`"
more *?*/statistics/logs/error_log.? | grep -i "mod.php" | mail [email protected] -s "error processed `hostname`"

easy to run on a dozen servers at once.

regards
Jan
 
Back
Top