Fedora Linux Support Community & Resources Center
  #1  
Old 14th December 2004, 05:06 PM
Secret Agent Offline
Registered User
 
Join Date: Nov 2004
Posts: 199
server over load cpu/memory usage

Please see two images attached. What's with spamassassin using all this overload?

This is a Dual Xeon 2.4GHz HT server (HP rackmount server) with 2GB ECC Buffered RAM.

It should handle this.

Specs:
cPanel / WHM 9.9.9 R-10
Dual Xeon 2.4GHz HT
2GB ECC RAM
Fedora Core 2

What's with the awstats overload, gzip and the httpd -DSL?

How do I control these?

Also, is it possible to remove awstats per domain? I could not find that.
Attached Thumbnails
Click image for larger version

Name:	cpu1.gif
Views:	115
Size:	11.4 KB
ID:	3686   Click image for larger version

Name:	cpu2.gif
Views:	130
Size:	27.8 KB
ID:	3687  

Last edited by Secret Agent; 14th December 2004 at 11:15 PM.
Reply With Quote
  #2  
Old 14th December 2004, 11:15 PM
Secret Agent Offline
Registered User
 
Join Date: Nov 2004
Posts: 199
someone please help
Reply With Quote
  #3  
Old 14th December 2004, 11:19 PM
ewdi Offline
Retired Admin
 
Join Date: Jan 2004
Location: Penguin Land
Age: 64
Posts: 1,939
it's a known issue (gzip for apache is experiental in WHM) you might want to re-run WHM apache compile script and leave out gzip
__________________
+ Visit My new blog
- [B]SlashGear US, SlashGear Japan, and
+Founder & Admin of www.fedoraforum.org

Follow me at http://twitter.com/ewdi

Laptop : MacBook Pro 2.4Ghz 4GB DDR, 20-inch iMac Aluminium/4GB RAM
Reply With Quote
  #4  
Old 15th December 2004, 03:52 AM
Secret Agent Offline
Registered User
 
Join Date: Nov 2004
Posts: 199
I went to update apache and clicked "load previous config" and gzip was not checked, meaning I never installed it. What could it be then?

I went to ssh root and did "locate gzip" and found these:

/bin/gzip/
/usr/bin/gzip
/usr/lib/python2.3/test/test_gzip.py
/usr/lib/python2.3/gzip.py
/usr/lib/python2.3/gzip.pyc
/usr/lib/python2.3/gzip.pyo
/usr/local/apache/libexec/mod_gzip.so

If this is the same gzip, how do I remove it?

Last edited by Secret Agent; 15th December 2004 at 04:04 AM.
Reply With Quote
  #5  
Old 15th December 2004, 06:02 AM
Secret Agent Offline
Registered User
 
Join Date: Nov 2004
Posts: 199
I ran top and got this:
Code:
13040 nobody    16   0 21408  13m  12m R 85.9  0.7   0:04.92 /usr/local/apache/bin/httpd -DSSL
22266 root      16   0  195m 186m 1388 R 60.1  9.2  38:40.32 /usr/sbin/grpck
16859 mysql     20   0 47228  33m 3756 R 17.8  1.6   0:00.55 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/server.domain.com.pid --skip
 6163 nobody    15   0 21232  13m  12m S 15.5  0.7   0:03.63 /usr/local/apache/bin/httpd -DSSL
 6149 nobody    16   0 22496  14m  12m S 14.5  0.7   0:05.25 /usr/local/apache/bin/httpd -DSSL
 6208 nobody    15   0 21392  13m  12m S 13.9  0.7   0:03.09 /usr/local/apache/bin/httpd -DSSL
22264 root      16   0  2380 1216 2200 R 13.2  0.1  11:16.05 /usr/bin/expect -- /scripts/grpck
 6142 nobody    15   0 21668  13m  12m S 10.3  0.7   0:06.02 /usr/local/apache/bin/httpd -DSSL
16827 mysql     17   0 47228  33m 3756 S  8.7  1.6   0:00.34 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/server.domain.com.pid --skip
 6170 nobody    15   0 21824  13m  12m S  8.1  0.7   0:05.07 /usr/local/apache/bin/httpd -DSSL
 6164 nobody    16   0 21416  13m  12m S  4.8  0.7   0:05.90 /usr/local/apache/bin/httpd -DSSL
 6938 root      15   0  2696  580 1300 D  4.5  0.0   5:39.53 syslogd -m 0
 6152 nobody    15   0 21748  13m  12m S  4.2  0.7   0:14.16 /usr/local/apache/bin/httpd -DSSL
 6132 nobody    15   0 21680  13m  12m S  3.2  0.7   0:04.01 /usr/local/apache/bin/httpd -DSSL

Last edited by Secret Agent; 15th December 2004 at 06:18 AM.
Reply With Quote
  #6  
Old 15th December 2004, 06:05 AM
Secret Agent Offline
Registered User
 
Join Date: Nov 2004
Posts: 199
ps -aux shows (heavy cpu lines inserted here only)
Code:
rivey1   18143 27.1  1.0 25140 21440 ?       S    00:55   0:02 /usr/bin/perl -T -w /usr/bin/spamassassin
root     22264 18.2  0.0  2380 1216 ?        S    Dec14  11:38 /usr/bin/expect -- /scripts/grpck
root     22266 62.8  9.1 200108 190672 pts/0 S    Dec14  40:07 /usr/sbin/grpck
Code:
User Domain %CPU %MEM Mysql Processes 
root  124.44 32.55 2.0 
Top Process %CPU 99.9 /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/cc1 -quiet -Iext/standard/ -I/home/cpapachebuild/buildapache/php-4.3.9/ext/standard/ -I/home/cpapachebuild/buildapache/php-4.3.9/include -I/home/cpapachebuild/buildapache/php-4.3.9/main -I/home/cpapachebuild/buildapache/php-4.3.9 -I/home/cpapachebuild/buildapache/php-4.3.9/Zend -I/usr/kerberos/include -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap -I/home/cpapachebuild/buildapache/php-4.3.9/ext/mbstring/mbregex -I/home/cpapachebuild/buildapache/php-4.3.9/ext/mbstring/libmbfl -I/home/cpapachebuild/buildapache/php-4.3.9/ext/mbstring/libmbfl/mbfl -I/usr/local/flash/include -I/home/cpapachebuild/buildapache/php-4.3.9/ext/xml/expat -I/home/cpapachebuild/buildapache/php-4.3.9/TSRM -D__GNUC__3 -D__GNUC_MINOR__3 -D__GNUC_PATCHLEVEL__3 -DPHP_ATOM_INC -DPIC /home/cpapachebuild/buildapache/php-4.3.9/ext/standard/var.c -quiet -dumpbase var.c -auxbase-strip ext/standard/var lo -g -O2 -fPIC -o /tmp/ccVcLIkR.s 
Top Process %CPU 76.5 /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/cc1 -quiet -Iext/openssl/ -I/home/cpapachebuild/buildapache/php-4.3.9/ext/openssl/ -I/home/cpapachebuild/buildapache/php-4.3.9/include -I/home/cpapachebuild/buildapache/php-4.3.9/main -I/home/cpapachebuild/buildapache/php-4.3.9 -I/home/cpapachebuild/buildapache/php-4.3.9/Zend -I/usr/kerberos/include -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap -I/home/cpapachebuild/buildapache/php-4.3.9/ext/mbstring/mbregex -I/home/cpapachebuild/buildapache/php-4.3.9/ext/mbstring/libmbfl -I/home/cpapachebuild/buildapache/php-4.3.9/ext/mbstring/libmbfl/mbfl -I/usr/local/flash/include -I/home/cpapachebuild/buildapache/php-4.3.9/ext/xml/expat -I/home/cpapachebuild/buildapache/php-4.3.9/TSRM -D__GNUC__3 -D__GNUC_MINOR__3 -D__GNUC_PATCHLEVEL__3 -DPHP_ATOM_INC /home/cpapachebuild/buildapache/php-4.3.9/ext/openssl/openssl.c -quiet -dumpbase openssl.c -auxbase-strip ext/openssl/openssl o -g -O2 -o /tmp/cctHAvvY.s 
Top Process %CPU 65.0 /usr/bin/perl -w /usr/bin/mrtg /etc/mrtg/mrtg.cfg 
mysql  71.80 26.83 0.0 
Top Process %CPU 99.9 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/server.mydomain.com.pid --skip-locking --port3306 
Top Process %CPU 94.0 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/server.mydomain.com.pid --skip-locking --port3306 
Top Process %CPU 69.0 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/server.mydomain.com.pid --skip-locking --port3306

Last edited by Secret Agent; 15th December 2004 at 06:19 AM.
Reply With Quote
  #7  
Old 15th December 2004, 04:10 PM
Secret Agent Offline
Registered User
 
Join Date: Nov 2004
Posts: 199
Please help me here...now status shows these in red

Code:
User Domain %CPU %MEM Mysql Processes 
root  93.41 29.11 2.0 
Top Process %CPU 84.3 /usr/sbin/grpck 
Top Process %CPU 84.2 /usr/sbin/grpck 
Top Process %CPU 84.1 /usr/sbin/grpck 
mysql  42.00 22.34 0.0 
Top Process %CPU 99.9 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/server.domain.com.pid --skip-locking --port3306 
Top Process %CPU 97.0 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/server.domain.com.pid --skip-locking --port3306
Something is causing the process to load high.
I believe someone is also attempting to spam from my server.
Yesterday the load was about 17k in queue, deleted them all,
and then this mornign about 7k in qeueue, deleted them all. I checked now again
and about 1500 in queue. How do I track this down?

I ran chkrootkit and rkhunter, both fine.

Last edited by Secret Agent; 15th December 2004 at 04:16 PM.
Reply With Quote
Reply

Tags
cpu or memory, load, server, usage

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
memory usage farishta Using Fedora 1 7th May 2008 05:00 PM
memory usage jahanzeb Using Fedora 2 14th April 2008 11:03 PM
F8_x64: very high idle load, memory usage !? stefan1975 Using Fedora 2 27th November 2007 09:18 AM
40% memory usage... yetigrey0864 Hardware & Laptops 3 4th February 2007 12:32 PM
memory usage jim Hardware & Laptops 9 14th May 2005 01:48 PM


Current GMT-time: 21:19 (Friday, 24-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Kralupy nad Vltavou Travel Photos on Instagram - Tacuarembo - Makurazaki Instagram Photos