Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - Other
Author Message
phoenix-cms
Worker
Worker



Joined: Aug 05, 2005
Posts: 139

PostPosted: Thu Aug 11, 2005 2:31 am Reply with quote

hi guys i managed to sort 99.9% problems in my cpanel there one big problem and seems to be mysql

Quote:
mysql 13.32 13.20 0.0
Top Process %CPU 26.0 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/teras1.terabyte-webhosting.com.pid --skip-locking
Top Process %CPU 11.4 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/teras1.terabyte-webhosting.com.pid --skip-locking
Top Process %CPU 8.7 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/teras1.terabyte-webhosting.com.pid --skip-locking


and ofter goes red in cpu and memory hitting 60% at times
i have dedicated server full root access anyone can help
please pm me
thanks
 
View user's profile Send private message Send e-mail
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Aug 11, 2005 9:27 am Reply with quote

When this happens, from a shell prompt, type ps -auxww to find out what application is running that is using that.
 
View user's profile Send private message
VinDSL
Life Cycles Becoming CPU Cycles



Joined: Jul 11, 2004
Posts: 614
Location: Arizona (USA) Admin: NukeCops.com Admin: Disipal Designs Admin: Lenon.com

PostPosted: Thu Aug 11, 2005 2:08 pm Reply with quote

Heh! TOP & PS are your friends...

You might try these too, and see what shows up... Dance-Y
Code:
vmstat 2

Code:
procinfo -d -r -n2

Code:
sar -f /var/log/sa/sa15

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: Only registered users can see links on this board! Get registered or login! | Only registered users can see links on this board! Get registered or login! ::. 
View user's profile Send private message Visit poster's website ICQ Number
phoenix-cms







PostPosted: Fri Aug 12, 2005 1:28 am Reply with quote

raven this is what i get with your code

Code:
/bin/urchinwebd -f /usr/local/urchin/var/urchinwebd.conf

nobody    4112  0.0  0.0  3468  880 ?        S    Aug11   0:00 /usr/local/urchin                                              /bin/urchinwebd -f /usr/local/urchin/var/urchinwebd.conf
nobody    4113  0.0  0.0  3468  880 ?        S    Aug11   0:00 /usr/local/urchin                                              /bin/urchinwebd -f /usr/local/urchin/var/urchinwebd.conf
root      4171  0.0  0.0  1500  332 tty1     S    Aug11   0:00 /sbin/mingetty tt                                              y1
root      4172  0.0  0.0  1500  332 tty2     S    Aug11   0:00 /sbin/mingetty tt                                              y2
root      4173  0.0  0.0  1500  332 tty3     S    Aug11   0:00 /sbin/mingetty tt                                              y3
root      4174  0.0  0.0  1500  332 tty4     S    Aug11   0:00 /sbin/mingetty tt                                              y4
root      4175  0.0  0.0  1500  332 tty5     S    Aug11   0:00 /sbin/mingetty tt                                              y5
root      4176  0.0  0.0  1500  332 tty6     S    Aug11   0:00 /sbin/mingetty tt                                              y6
root      4177  0.0  0.0  1500  332 ttyS0    S    Aug11   0:00 /sbin/mingetty tt                                              yS0 CON9600 vt102
root      4638  0.0  0.1  8180 1884 ?        S    Aug11   0:00 cppop - accepting                                               on port 110
mailnull  7866  0.0  0.1  6584 1040 ?        S    Aug11   0:00 /usr/sbin/exim -o                                              X 26 -bd
root      7882  0.0  0.2  6204 2092 ?        S    Aug11   0:02 chkservd
postgres  8071  0.0  0.1  9604 1260 ?        S    Aug11   0:00 /usr/bin/postmast                                              er -p 5432 -D /var/lib/pgsql/data
postgres  8073  0.0  0.1  9164 1064 ?        S    Aug11   0:00 postgres: stats b                                              uffer process
postgres  8074  0.0  0.1  8172 1100 ?        S    Aug11   0:00 postgres: stats c                                              ollector process
root     16573  0.0  0.0  1600  352 ?        S    Aug11   0:00 jsvc.exec -user t                                              omcat -cp ./bootstrap.jar -Djava.endorsed.dirs=../common/endorsed -debug -outfil                                              e ../logs/catalina.out -errfile ../logs/catalina.err -verbose org.apache.catalin                                              a.startup.Bootstrap -security
tomcat   16574  0.0  1.8 292564 18264 ?      S    Aug11   1:01 jsvc.exec -user t                                              omcat -cp ./bootstrap.jar -Djava.endorsed.dirs=../common/endorsed -debug -outfil                                              e ../logs/catalina.out -errfile ../logs/catalina.err -verbose org.apache.catalin                                              a.startup.Bootstrap -security
root     16697  0.0  0.0  2180  412 ?        S    Aug11   0:00 /bin/sh /usr/bin/                                              mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/teras1.terabyte-w                                              ebhosting.com.pid
mysql    16723  0.0  6.5 369500 66520 ?      S    Aug11   0:10 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    16724  0.0  6.5 369500 66520 ?      S    Aug11   0:00 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    16725  0.0  6.5 369500 66520 ?      S    Aug11   0:00 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    16726  0.0  6.5 369500 66520 ?      S    Aug11   0:00 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    16727  0.0  6.5 369500 66520 ?      S    Aug11   0:00 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    16728  0.0  6.5 369500 66520 ?      S    Aug11   0:00 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    16729  0.0  6.5 369500 66520 ?      S    Aug11   0:11 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    16730  0.0  6.5 369500 66520 ?      S    Aug11   0:09 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    16731  0.0  6.5 369500 66520 ?      S    Aug11   0:00 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    16732  0.0  6.5 369500 66520 ?      S    Aug11   0:02 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    16734  0.0  6.5 369500 66520 ?      S    Aug11   0:26 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    23931  2.8  6.5 369500 66520 ?      S    Aug11  29:42 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    24120  2.3  6.5 369500 66520 ?      S    Aug11  20:54 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    24135  1.9  6.5 369500 66520 ?      S    Aug11  17:17 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    24146  2.2  6.5 369500 66520 ?      S    Aug11  20:05 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    24159  2.3  6.5 369500 66520 ?      S    Aug11  20:15 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    24664  2.3  6.5 369500 66520 ?      S    Aug11  20:24 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    24665  2.2  6.5 369500 66520 ?      S    Aug11  20:08 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    29235  1.1  6.5 369500 66520 ?      S    Aug11   9:49 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    30176  2.3  6.5 369500 66520 ?      S    Aug11  19:50 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    30178  2.2  6.5 369500 66520 ?      S    Aug11  19:18 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    30179  2.3  6.5 369500 66520 ?      S    Aug11  19:52 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    11495  2.1  6.5 369500 66520 ?      S    Aug11  13:29 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    11496  2.0  6.5 369500 66520 ?      S    Aug11  12:26 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    11497  2.2  6.5 369500 66520 ?      S    Aug11  13:32 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    11498  2.1  6.5 369500 66520 ?      S    Aug11  13:07 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
mysql    11499  1.6  6.5 369500 66520 ?      S    Aug11   9:51 /usr/sbin/mysqld                                               --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tera                                              s1.terabyte-webhosting.com.pid --skip-locking --port=3306 --socket=/var/lib/mysq                                              l/mysql.sock
root      6785  0.0  0.6 84244 6580 ?        S    Aug11   0:01 /usr/local/apache                                              /bin/httpd -DSSL
nobody    6816  0.0  0.7 92288 8032 ?        S    Aug11   0:09 /usr/local/apache                                              /bin/httpd -DSSL
nobody    6817  0.1  1.2 300264 12344 ?      S    Aug11   0:25 /usr/local/apache                                              /bin/httpd -DSSL
nobody    6818  0.2  2.8 257860 28948 ?      S    Aug11   0:29 /usr/local/apache                                              /bin/httpd -DSSL
nobody    6819  0.2  8.4 274412 85088 ?      S    Aug11   0:31 /usr/local/apache                                              /bin/httpd -DSSL
nobody    6820  0.1  7.3 268560 74416 ?      S    Aug11   0:25 /usr/local/apache                                              /bin/httpd -DSSL
nobody    6823  0.2  1.1 92612 11976 ?       S    Aug11   0:29 /usr/local/apache                                              /bin/httpd -DSSL
nobody    6825  0.1  0.9 91924 9988 ?        S    Aug11   0:26 /usr/local/apache                                              /bin/httpd -DSSL
nobody    6826  0.1  2.7 245856 27832 ?      S    Aug11   0:23 /usr/local/apache                                              /bin/httpd -DSSL
nobody    6827  0.0  0.5 88576 5996 ?        S    Aug11   0:04 /usr/local/apache                                              /bin/httpd -DSSL
nobody    6828  0.1  1.2 92644 12288 ?       S    Aug11   0:27 /usr/local/apache                                              /bin/httpd -DSSL
nobody    6829  0.1  1.0 92376 10928 ?       S    Aug11   0:22 /usr/local/apache                                              /bin/httpd -DSSL
nobody    6846  0.0  0.3 260556 3048 ?       S    Aug11   0:00 /usr/local/apache                                              /bin/httpd -DSSL
nobody    7535  0.0  0.5 265496 5768 ?       S    Aug11   0:01 /usr/local/apache                                              /bin/httpd -DSSL
nobody   10176  0.0  0.6 260372 6536 ?       S    00:11   0:00 /usr/local/apache                                              /bin/httpd -DSSL
animetra 24378  0.2  0.1  4316 1152 ?        S    01:30   0:07 proftpd: animetra                                               - 24.92.157.35: STOR [Anime-Mafia]Naruto136.zip
nobody   24660  0.0  1.2 253620 12580 ?      S    01:48   0:00 /usr/local/apache                                              /bin/httpd -DSSL
nobody   24924  0.2  6.0 268440 61132 ?      S    02:03   0:03 /usr/local/apache                                              /bin/httpd -DSSL
root     24951  0.0  0.1  7040 1244 ?        S    02:04   0:00 sshd: root@notty
root     24953  0.0  0.1  3436 1152 ?        S    02:04   0:00 /usr/libexec/open                                              ssh/sftp-server
nobody   25256  0.1  5.3 264308 54464 ?      S    02:16   0:01 /usr/local/apache                                              /bin/httpd -DSSL
desit    25507  0.4  0.1  4436 1536 ?        S    02:22   0:01 proftpd: desit -                                               67.173.18.228: IDLE
nobody   25619  0.0  0.7 266032 7932 ?       S    02:24   0:00 /usr/local/apache                                              /bin/httpd -DSSL
root     25755  0.0  0.3  6948 3200 ?        S    02:26   0:00 /usr/bin/perl /us                                              r/local/cpanel/bin/leechprotect
nobody   25756  0.4  0.8 85712 8560 ?        S    02:26   0:00 /usr/local/apache                                              /bin/httpd -DSSL
nobody   25757  0.3  0.7 84756 7620 ?        S    02:26   0:00 /usr/local/apache                                              /bin/httpd -DSSL
nobody   25758  0.7  1.4 91236 14184 ?       S    02:26   0:00 /usr/local/apache                                              /bin/httpd -DSSL
nobody   25759  0.3  0.7 84760 7604 ?        S    02:26   0:00 /usr/local/apache                                              /bin/httpd -DSSL
nobody   25760  0.2  0.7 84760 7600 ?        S    02:26   0:00 /usr/local/apache                                              /bin/httpd -DSSL
nobody   25762  0.1  0.7 84760 7580 ?        S    02:26   0:00 /usr/local/apache                                              /bin/httpd -DSSL
nobody   25763  0.1  0.7 84768 7604 ?        S    02:26   0:00 /usr/local/apache                                              /bin/httpd -DSSL
nobody   25764  0.3  0.7 84768 7548 ?        S    02:26   0:00 /usr/local/apache                                              /bin/httpd -DSSL
nobody   25765  0.2  0.7 84760 7560 ?        S    02:26   0:00 /usr/local/apache                                              /bin/httpd -DSSL
nobody   25770  0.3  1.0 87280 10112 ?       S    02:26   0:00 /usr/local/apache                                              /bin/httpd -DSSL
nobody   25771  0.3  0.7 84764 7600 ?        S    02:26   0:00 /usr/local/apache                                              /bin/httpd -DSSL
animetra 25775  0.0  0.3 11612 3888 ?        S    02:26   0:00 cpaneld - serving                                               24.92.157.35
root     25778  0.1  0.1  6876 1812 ?        S    02:27   0:00 sshd: root@pts/0
root     25781  0.1  0.1  4260 1340 pts/0    S    02:27   0:00 -bash
root     25826  0.0  0.0  2868  852 pts/0    R    02:27   0:00 ps -auxww


any idears mysql using over 120 meg and just says in cpanel usr mysql think its something with stats not even sure any the support center told me to sort it
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - Other

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©