MySQL load
Posted: 23 Apr 2017 10:12
Hello,
My mYSQL load is after some time around 100%. When I want to restart mysqld:
[root@mailscanner ~]# service mysqld restart
Shutting down MySQL...........Could not use Custom Function code MailScanner::CustomConfig::InitMailWatchLogging, it could not be "eval"ed. Make sure the module is correct with perl -wc (Error: DBI connect('database=mailscanner;host=localhost','mailwatch',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/share/MailScanner/perl/custom/MailWatch.pm line 97
) at /usr/share/MailScanner/perl/MailScanner/Config.pm line 1053
Could not use Custom Function code MailScanner::CustomConfig::InitSQLWhitelist, it could not be "eval"ed. Make sure the module is correct with perl -wc (Error: DBI connect('database=mailscanner;host=localhost','mailwatch',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/share/MailScanner/perl/custom/MailWatch.pm line 97
) at /usr/share/MailScanner/perl/MailScanner/Config.pm line 1053
SUCCESS!
Starting MySQL.170423 12:11:19 mysqld_safe Logging to '/var/lib/mysql/mailscanner.err'.
170423 12:11:19 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
SUCCESS!
My mYSQL load is after some time around 100%. When I want to restart mysqld:
[root@mailscanner ~]# service mysqld restart
Shutting down MySQL...........Could not use Custom Function code MailScanner::CustomConfig::InitMailWatchLogging, it could not be "eval"ed. Make sure the module is correct with perl -wc (Error: DBI connect('database=mailscanner;host=localhost','mailwatch',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/share/MailScanner/perl/custom/MailWatch.pm line 97
) at /usr/share/MailScanner/perl/MailScanner/Config.pm line 1053
Could not use Custom Function code MailScanner::CustomConfig::InitSQLWhitelist, it could not be "eval"ed. Make sure the module is correct with perl -wc (Error: DBI connect('database=mailscanner;host=localhost','mailwatch',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/share/MailScanner/perl/custom/MailWatch.pm line 97
) at /usr/share/MailScanner/perl/MailScanner/Config.pm line 1053
SUCCESS!
Starting MySQL.170423 12:11:19 mysqld_safe Logging to '/var/lib/mysql/mailscanner.err'.
170423 12:11:19 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
SUCCESS!