Server load (Unix/Linux, Redhat, CPanel)


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Server load (Unix/Linux, Redhat, CPanel)
# 1  
Old 09-15-2003
Server load (Unix/Linux, Redhat, CPanel)

Hello,

I'm facing a big problem with my hosting server (Dual Xeon 2.4GHz), I'm having a load in the CPU usage and the memory (maybe it's related) ALSO mySQL:

Server Load 5.34 (2 cpus) (to 22 sometime)
Memory Used 68.4 % (to 70% sometime)

When I go to 'CPU/Memory/MySQL Usage' I found:

User Domain %CPU %MEM Mysql Processes

mysql 31.36 125.79 0.0
_____________________
Top Process %CPU 99.9 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/hostname.domain.com.pid --skip-locking
Top Process %CPU 92.0 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/hostname.domain.com.pid --skip-locking
Top Process %CPU 74.3 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/hostname.domain.com.pid --skip-locking
______________________

NEED YOUR HELP PLEASE Smilie



Khalid
# 2  
Old 09-15-2003
Hi,

Sorry to say, but this might be a good example of a bad structured MYSQL statement.
Please see your Admin for this.

Regs David
# 3  
Old 09-15-2003
I don't have admin for the server!
Could you please let me know what cause this issue?

Will it be solved if I upgade the RAM?
# 4  
Old 09-15-2003
Hi Khalid,

Nope. I think (from what I have seen), that there is an SQL-statement runing on a table which has not been indexed and might therefor be eating more cpu-time. Looking at some scripts that just perform the same action over a thousand times in a script might be the cause of your problem now.

Our DBA and I have often seen users run awfull SQL statements which cause this problem.
It might be nice for you to find out the real bottleneck in her performing : sar 2 20 . You can now see if it's WIO/ USR or SYS. Most off all it will also be WIO. Still upgrading memory should not matter.

Aargh, will deep into it a bit more. Please perform a
"swapinfo -at"

and paste the output here. Also the output of "sar 5 20" would be nice. Please let me know the total amount of physical memory and created swap. Also let me know on what disk you configured swap. please give me a "sar -d 5 20" output of this disk.

Will continue tomorow.

Regs David
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

NodeMCU ESP8266 Blynk SSL Application for Linux Server Load Averages

Here is a useful SSL (HTTPS) application for anyone with a remote Linux server they want to keep an eye on using Blynk and the NodeMCU ESP8266. This little app also works (have tested as well) on the WeMos D1 ESP8266 Arduino board. The NodeMCU setup could not be easier, just find a... (8 Replies)
Discussion started by: Neo
8 Replies

2. IP Networking

Configuring DNS Server in Linux Redhat

Can someone help with a detail step-by-step oh how to configure DNS server on Linux Server. - I need to have 3 IP addresses map to a single hostname. for clients I'm a Linux rookie. Thanks Oscar (1 Reply)
Discussion started by: FrankOscar
1 Replies

3. Shell Programming and Scripting

Repair DB's for a user one liner / cpanel server.

Hello, I could use a little help with the command line part of this. I've got it to sorta work if I use this `gawk -F"/"'{ print $3 }'` I've also tried `pwd|cut -d/ -f3` with no luck. Is this possible to do? I'm basically doing this to copy the users domain, then paste that into the... (5 Replies)
Discussion started by: biopulse
5 Replies

4. UNIX for Advanced & Expert Users

how to enable cygwin in linux server (redHat) ?

how to enable cygwin in linux server (redHat)..... any idea? (1 Reply)
Discussion started by: crackthehit007
1 Replies

5. Shell Programming and Scripting

Load of Unix server

Hi Folks, I want to see the proper status of a low performance server. I tried using top command but it doesn't give all the details. Any help in this regard would be appreciated. Regards, Sagar (1 Reply)
Discussion started by: sagarjani
1 Replies

6. Red Hat

redhat linux mail server problem

we are using redhat linux,configured the postfix as mail server and outlook is used as mail client.whenever the user opens outlook it is start downloading all the mails from the server. Example : If a user has 50 mails in the server,whenever he opens the outlook the outlook will start... (0 Replies)
Discussion started by: ramjimh2k3
0 Replies

7. Linux

how to setup a virtual IP to control 2 server load for linux

Hi anyone know how to setup a setup a virtual IP to control 2 server load for linux? i only have 2 server, i don want to buy another just for the load balance... is there a way to do it? Sumemr (0 Replies)
Discussion started by: summerpeh
0 Replies

8. Linux

down load file from unix server to Windows machine.

I need to download a script from Unix box to my PC. I don't have FTP installed on that machine and I am not able to connect to the server using ftp <Server Name>. I am not supposed to install any software on the server but still need to download the file. Heard that we have a secured ftp option... (3 Replies)
Discussion started by: chandu_kalari
3 Replies

9. Cybersecurity

linux prog for server space, load etc

Hi all what are the ways by which we can know and generate a report of the space remaining, memory(ram) used and the load on the server over a period of time. (1 Reply)
Discussion started by: arlan
1 Replies
Login or Register to Ask a Question