Hi,
I installed CWP on Amazon EC2 Instance type: t2.micro I have 91 domains there. If i open 20-30 domains at the same time i get establish database connection error.
When i check cwp admin. There i get below error.
Warning: [obfuscated](): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: [obfuscated](): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: sh /scripts/restart_cwpsrv
**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf
Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:
--------------------------------
Here are current server details.
--------------------------------
Memory RAM (with Cache): 0.32GB / 1GB ( 32%) [DC]
Memory RAM (NO Cache): 0.23GB / 1GB ( 23%)
Number of processes: 104
Postfix Mail Queue: 0 [Manage]
Application Version
Apache version: Apache/2.4.27
PHP version: 5.6.30 [PHP Switcher]
MySQL version: 10.1.28-MariaDB
FTP version: 1.0.30
System Info
CPU Model: Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz
CPU Details: 1 Core (2400 MHz)
Distro Name: CentOS release 6.9 (Final)
Kernel Version: 2.6.32-696.10.3.el6.x86_64
Platform: x86_64 [xenxen-hvm]
Uptime: 9 min, 1 user
Server Time: Tue Nov 7 17:09:29 UTC 2017 [Edit]
Thanks.