Our Total server is down and looks like something is using too much memory.

toriqulislam

Member
Jun 2, 2014
16
0
1
cPanel Access Level
Root Administrator
Hi,

Our Total server is down and looks like something is using too much memory.
Need help/advice to make our server stable.

top - 04:55:37 up 1 day, 5:08, 1 user, load average: 7.47, 6.65, 6.33
Tasks: 187 total, 3 running, 184 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.3%us, 10.0%sy, 0.0%ni, 85.4%id, 1.8%wa, 0.0%hi, 0.0%si, 0.5%st
Mem: 16464912k total, 16185872k used, 279040k free, 1453424k buffers
Swap: 0k total, 0k used, 0k free, 10891400k cached
Regards,
Toriqul Islam
 

toriqulislam

Member
Jun 2, 2014
16
0
1
cPanel Access Level
Root Administrator
We can't access WHM/cPanel and any Website under this.

I just execute this two command and found this "service cpanel status and "netstat -ln | grep 2087"

service cpanel status Output

cpsrvd (pid 3839) is running...
entropychat is stopped
stunnel is stopped
qrunner is stopped

netstat -ln | grep 2087 Output

tcp 0 0 0.0.0.0:2087 0.0.0.0:* LISTEN
 

Infopro

Well-Known Member
May 20, 2003
17,112
513
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
You've not posted anything out of the ordinary that would indicate issues.
Help! Linux ate my RAM!
I just execute this two command and found this "service cpanel status and "netstat -ln | grep 2087"
Both, normal output.

Have you contacted your Hosting Provider? A server being down completely might need the assistance of the guys at the DC.
 

toriqulislam

Member
Jun 2, 2014
16
0
1
cPanel Access Level
Root Administrator
OK I understand the RAM thing.

I contacted them they asked me to execute those two command after showing to them they told me to get help from cPanel directly. They are saying they do not provide cPanel support.
We are using cloud server.
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
Hello,

You will have to monitor your server to find out the process which are using high memory on your server. You can monitor your server using top and ps aux command.

With the following command you will get top 20 process which are using high memory on your server

Code:
ps aux | awk '{print $2, $4, $11}' | sort -k2rn | head -n 20
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
We can't access WHM/cPanel and any Website under this.
Could you elaborate further on this issue? For instance, do you mean these services are loading slowly, or do you receive a specific error message when accessing them, or does the connection fail?

Thank you.
 

toriqulislam

Member
Jun 2, 2014
16
0
1
cPanel Access Level
Root Administrator
Anyway I just restart the server and it's now running just fine. No problem with access WHM/cPanel and websites.
But if there anything that can help me to prevent future issue please let me know.

Also I need an expert advice to get a good cloud base company that can help me to run 1000+ Wordpress websites smoothly.

Even my server now working well I want to share with you our current server process.
After running the command I get this now.
ps aux | awk '{print $2, $4, $11}' | sort -k2rn | head -n 20
1404 0.3 nginx:
1405 0.3 nginx:
1407 0.3 nginx:
1408 0.3 nginx:
1410 0.3 nginx:
1411 0.3 nginx:
1413 0.3 nginx:
1414 0.3 nginx:
1416 0.3 nginx:
1417 0.3 nginx:
2578 0.3 /usr/local/apache/bin/httpd
1539 0.2 /usr/sbin/mysqld
16350 0.2 /usr/bin/php
24564 0.2 /usr/bin/php
13063 0.1 /usr/local/apache/bin/httpd
14786 0.1 /usr/bin/php
15289 0.1 /usr/bin/php
18066 0.1 /usr/bin/php
18082 0.1 dnsadmin
18088 0.1 dnsadmin
Could you elaborate further on this issue? For instance, do you mean these services are loading slowly, or do you receive a specific error message when accessing them, or does the connection fail?

Thank you.
When we had that problem and we tried to access it's loading and loading like it will take a year to load nothing comes up just a blank page.