LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2006, 07:32 PM   #1
lemans
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
2 Second Question :D


hiya...

Quick Background
I have a dedicated webserver running fedora 4, its a 2.4c, 1gb ram, 80 ata drive...

Problem

Its runs painfully slow... Its not underload and i believe it to be a OS problem... There are no users other than me and at the moment only static sites...

Question

I am new to the world of linux and i come from a hardcore dos background... Anyway could i get a few suggestions on were i sould be looking to diagnose my problem...

I have include the results of unixbench 4.1.0, top -c & dmesg to give you an idea of what i mean... This was run just after a fresh reboot...

Thanks


BYTE UNIX Benchmarks (Version 4.1.0)
System -- Linux xxxxPrivatexxxx 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 i686 i386 GNU/Linux
Start Benchmark Run: Fri Apr 21 05:51:23 IST 2006
1 interactive users.
05:51:24 up 34 min, 1 user, load average: 12.78, 9.46, 6.13
lrwxrwxrwx 1 root root 4 Mar 13 04:58 /bin/sh -> bash
/bin/sh: symbolic link to `bash'
/dev/hda3 73693392 3977912 65911692 6% /
Dhrystone 2 using register variables 73935.0 lps (10.0 secs, 10 samples)
Double-Precision Whetstone 564.3 MWIPS (10.4 secs, 10 samples)
System Call Overhead 154245.8 lps (10.0 secs, 10 samples)
Pipe Throughput 61122.9 lps (10.1 secs, 10 samples)
Pipe-based Context Switching 44856.5 lps (10.0 secs, 10 samples)
Process Creation 1311.3 lps (30.0 secs, 3 samples)
Execl Throughput 87.0 lps (29.8 secs, 3 samples)
File Read 1024 bufsize 2000 maxblocks 224794.0 KBps (30.0 secs, 3 samples)
File Write 1024 bufsize 2000 maxblocks 17911.0 KBps (30.0 secs, 3 samples)
File Copy 1024 bufsize 2000 maxblocks 14534.0 KBps (30.0 secs, 3 samples)
File Read 256 bufsize 500 maxblocks 47537.0 KBps (30.0 secs, 3 samples)
File Write 256 bufsize 500 maxblocks 4297.0 KBps (30.0 secs, 3 samples)
File Copy 256 bufsize 500 maxblocks 4025.0 KBps (30.0 secs, 3 samples)
File Read 4096 bufsize 8000 maxblocks 312290.0 KBps (30.0 secs, 3 samples)
File Write 4096 bufsize 8000 maxblocks 51106.0 KBps (30.0 secs, 3 samples)
File Copy 4096 bufsize 8000 maxblocks 41366.0 KBps (30.0 secs, 3 samples)
Shell Scripts (1 concurrent) 59.3 lpm (60.0 secs, 3 samples)
Shell Scripts (8 concurrent) 7.0 lpm (60.0 secs, 3 samples)
Shell Scripts (16 concurrent) 3.3 lpm (60.0 secs, 3 samples)
Arithmetic Test (type = short) 513865.5 lps (10.5 secs, 3 samples)
Arithmetic Test (type = int) 550195.6 lps (10.0 secs, 3 samples)
Arithmetic Test (type = long) 24902.0 lps (10.0 secs, 3 samples)
Arithmetic Test (type = float) 24503.2 lps (10.0 secs, 3 samples)
Arithmetic Test (type = double) 540154.1 lps (10.0 secs, 3 samples)
Arithoh 28577.4 lps (10.0 secs, 3 samples)
C Compiler Throughput 105.0 lpm (60.0 secs, 3 samples)
Dc: sqrt(2) to 99 decimal places 4454.4 lpm (30.0 secs, 3 samples)
Recursion Test--Tower of Hanoi 70096.1 lps (20.0 secs, 3 samples)


INDEX VALUES
TEST BASELINE RESULT INDEX

Dhrystone 2 using register variables 116700.0 73935.0 6.3
Double-Precision Whetstone 55.0 564.3 102.6
Execl Throughput 43.0 87.0 20.2
File Copy 1024 bufsize 2000 maxblocks 3960.0 14534.0 36.7
File Copy 256 bufsize 500 maxblocks 1655.0 4025.0 24.3
File Copy 4096 bufsize 8000 maxblocks 5800.0 41366.0 71.3
Pipe Throughput 12440.0 61122.9 49.1
Process Creation 126.0 1311.3 104.1
Shell Scripts (8 concurrent) 6.0 7.0 11.7
System Call Overhead 15000.0 154245.8 102.8
=========
FINAL SCORE 37.2

here is the top -c command of today...

top - 00:28:45 up 4 days, 19:11, 1 user, load average: 0.71, 0.32, 0.28
Tasks: 110 total, 2 running, 108 sleeping, 0 stopped, 0 zombie
Cpu(s): 94.8% us, 1.7% sy, 0.6% ni, 0.0% id, 2.9% wa, 0.0% hi, 0.0% si
Mem: 1027084k total, 824672k used, 202412k free, 102552k buffers
Swap: 2040244k total, 64k used, 2040180k free, 442620k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15227 root 19 0 18092 15m 1792 R 82.7 1.5 0:12.18 /usr/bin/perl -T -w /usr/bin/spamassassin
15230 root 17 0 2016 1024 800 R 12.5 0.1 0:01.11 top -c
393 root 16 0 0 0 0 S 0.3 0.0 2:15.97 [kjournald]
1978 root 16 0 2736 580 492 S 0.3 0.1 23:24.02 nifd -n
3837 root 24 8 24396 21m 2196 S 0.3 2.2 7:21.42 /usr/bin/spamd -d --allowed-ips=127.0.0.1 --pidfile=/var/run/spamd.pid --max-children=5
4338 mailman 23 8 8384 5448 2148 S 0.3 0.5 3:26.02 /usr/bin/python /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
4340 mailman 23 8 8544 5528 2148 S 0.3 0.5 3:35.80 /usr/bin/python /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s
1 root 16 0 1740 576 500 S 0.0 0.1 1:57.48 init [3]
2 root 34 19 0 0 0 S 0.0 0.0 0:08.08 [ksoftirqd/0]
3 root RT 0 0 0 0 S 0.0 0.0 0:00.24 [watchdog/0]
4 root 10 -5 0 0 0 S 0.0 0.0 0:00.22 [events/0]
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.02 [khelper]
6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 [kthread]
8 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 [kacpid]
88 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 [kblockd/0]
91 root 15 0 0 0 0 S 0.0 0.0 0:00.00 [khubd]
137 root 15 0 0 0 0 S 0.0 0.0 0:25.55 [pdflush]
138 root 15 0 0 0 0 S 0.0 0.0 0:20.07 [pdflush]
140 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 [aio/0]
139 root 16 0 0 0 0 S 0.0 0.0 0:05.50 [kswapd0]
226 root 15 0 0 0 0 S 0.0 0.0 0:00.00 [kseriod]
380 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 [ata/0]
384 root 19 0 0 0 0 S 0.0 0.0 0:00.00 [scsi_eh_0]
385 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [scsi_eh_1]
580 root 11 -4 1644 572 484 S 0.0 0.1 0:05.74 udevd -d
1033 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [kgameportd]
1120 root 24 0 0 0 0 S 0.0 0.0 0:00.00 [shpchpd_event]
1389 root 15 0 0 0 0 S 0.0 0.0 0:00.00 [kjournald]
1789 root 16 0 1616 624 528 S 0.0 0.1 0:27.36 syslogd -m 0
1791 root 16 0 1564 504 436 S 0.0 0.0 0:57.83 klogd -x
1803 named 19 0 38304 3844 2240 S 0.0 0.4 1:20.33 /usr/sbin/named -u named
1848 root 18 0 2152 812 708 S 0.0 0.1 0:00.02 hcid: processing events
1852 root 18 0 1608 564 500 S 0.0 0.1 0:00.01 sdpd
1869 root 10 -10 0 0 0 S 0.0 0.0 0:00.00 [krfcommd]
1967 root 16 0 1824 752 632 S 0.0 0.1 0:04.02 /usr/sbin/automount --timeout=60 /net program /etc/auto.net
2009 nobody 16 0 11388 1108 640 S 0.0 0.1 0:05.80 mDNSResponder
2017 root 16 0 1556 592 516 S 0.0 0.1 0:00.01 /usr/sbin/acpid
3717 root 16 0 4400 1712 1408 S 0.0 0.2 0:00.01 /usr/sbin/sshd
3725 root 15 0 2176 892 752 S 0.0 0.1 0:00.19 xinetd -stayalive -pidfile /var/run/xinetd.pid
3739 root 22 0 4388 1236 1064 S 0.0 0.1 0:01.15 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/server.prettykit
3773 mysql 22 6 58196 6204 1900 S 0.0 0.6 0:00.57 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/ser
3776 mysql 22 6 58196 6204 1900 S 0.0 0.6 0:00.27 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/ser
3777 mysql 22 6 58196 6204 1900 S 0.0 0.6 0:00.41 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/ser
3795 root 16 0 11608 8304 1640 S 0.0 0.8 0:18.43 chkservd
3822 mailnull 15 0 7856 1756 1440 S 0.0 0.2 0:00.78 /usr/sbin/exim -bd -q60m
3825 mailnull 16 0 7852 1720 1420 S 0.0 0.2 0:00.38 /usr/sbin/exim -tls-on-connect -bd -oX 465
3832 root 16 0 3016 1400 1084 S 0.0 0.1 1:21.98 antirelayd
3862 root 20 4 5736 2864 2128 S 0.0 0.3 0:27.88 /usr/local/apache/bin/httpd -DSSL
3876 nobody 20 4 5864 3064 2220 S 0.0 0.3 0:37.86 /usr/local/apache/bin/httpd -DSSL
3877 nobody 20 4 5864 3064 2220 S 0.0 0.3 0:43.09 /usr/local/apache/bin/httpd -DSSL
3878 nobody 19 4 5872 3064 2220 S 0.0 0.3 0:35.14 /usr/local/apache/bin/httpd -DSSL
3879 nobody 19 4 5864 3056 2220 S 0.0 0.3 0:41.95 /usr/local/apache/bin/httpd -DSSL
3880 nobody 19 4 5864 3056 2220 S 0.0 0.3 0:47.14 /usr/local/apache/bin/httpd -DSSL


Finally heres a snip from dmesg which i totally dont understand...

audit(1146007681.984:22654): user pid=15140 uid=0 auid=4294967295 msg='PAM session open: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007681.988:22655): user pid=15140 uid=0 auid=4294967295 msg='PAM setcred: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007802.206:22656): user pid=15384 uid=0 auid=4294967295 msg='PAM accounting: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007802.376:22657): user pid=15384 uid=0 auid=4294967295 msg='PAM session open: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007802.380:22658): user pid=15384 uid=0 auid=4294967295 msg='PAM setcred: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007802.410:22659): user pid=15385 uid=0 auid=4294967295 msg='PAM accounting: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007802.436:22660): user pid=15385 uid=0 auid=4294967295 msg='PAM session open: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007802.440:22661): user pid=15385 uid=0 auid=4294967295 msg='PAM setcred: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007802.470:22662): user pid=15386 uid=0 auid=4294967295 msg='PAM accounting: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007802.496:22663): user pid=15386 uid=0 auid=4294967295 msg='PAM session open: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007802.500:22664): user pid=15386 uid=0 auid=4294967295 msg='PAM setcred: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007802.545:22665): user pid=15383 uid=0 auid=4294967295 msg='PAM accounting: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007802.570:22666): user pid=15383 uid=0 auid=4294967295 msg='PAM session open: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007802.574:22667): user pid=15383 uid=0 auid=4294967295 msg='PAM setcred: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007802.949:22668): user pid=15383 uid=0 auid=4294967295 msg='PAM setcred: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007802.950:22669): user pid=15383 uid=0 auid=4294967295 msg='PAM session close: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007805.079:22670): user pid=15386 uid=0 auid=4294967295 msg='PAM setcred: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007805.080:22671): user pid=15386 uid=0 auid=4294967295 msg='PAM session close: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007813.864:22672): user pid=15385 uid=0 auid=4294967295 msg='PAM setcred: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007813.865:22673): user pid=15385 uid=0 auid=4294967295 msg='PAM session close: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007817.037:22674): user pid=15384 uid=0 auid=4294967295 msg='PAM setcred: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
audit(1146007817.037:22675): user pid=15384 uid=0 auid=4294967295 msg='PAM session close: user=root exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron result=Success)'
 
Old 04-25-2006, 08:32 PM   #2
slackmagic
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 253

Rep: Reputation: 32
Quote:
Originally Posted by lemans
hiya...

here is the top -c command of today...

top - 00:28:45 up 4 days, 19:11, 1 user, load average: 0.71, 0.32, 0.28
Tasks: 110 total, 2 running, 108 sleeping, 0 stopped, 0 zombie
Cpu(s): 94.8% us, 1.7% sy, 0.6% ni, 0.0% id, 2.9% wa, 0.0% hi, 0.0% si
Mem: 1027084k total, 824672k used, 202412k free, 102552k buffers
Swap: 2040244k total, 64k used, 2040180k free, 442620k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15227 root 19 0 18092 15m 1792 R 82.7 1.5 0:12.18 /usr/bin/perl -T -w /usr/bin/spamassassin
hey there lemans,

look at what I marked red..that is your problem rigth there...it appears spamassassin is causing your system to run slow because it's almost running with 100% cpu load

you might want to kill the process first before you do any further troubleshooting as to why it does that.

as root

Code:
kill -9 15227
should kill the process


good luck!
 
Old 04-25-2006, 08:33 PM   #3
slackmagic
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 253

Rep: Reputation: 32
and welcome to LQ.org by the way (I just noticed that this was your first post here
 
Old 04-26-2006, 06:54 AM   #4
lemans
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Hiya...

Thanks for the reply retiredsolider....

Right that probably made me look bit stupid but however its not like that... Here are the results from after looking running top -c for around 10 mins and its like it usually is around 20%...

Even under these conditions the server is still very slow could it be a disk access problem... Do you know any good sites for troubleshooting linux problems...

top - 11:53:36 up 5 days, 6:36, 1 user, load average: 1.51, 2.11, 1.49
Tasks: 104 total, 10 running, 94 sleeping, 0 stopped, 0 zombie
Cpu(s): 14.3% us, 2.0% sy, 0.3% ni, 83.1% id, 0.0% wa, 0.3% hi, 0.0% si
Mem: 1027084k total, 1008488k used, 18596k free, 100360k buffers
Swap: 2040244k total, 64k used, 2040180k free, 646824k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
8073 root 17 0 2016 1024 800 R 12.3 0.1 0:02.15 top -c
7303 root 16 0 7452 2360 1880 S 3.3 0.2 0:30.56 sshd: root@pts/0
1978 root 16 0 2736 580 492 S 0.3 0.1 25:47.13 nifd -n
3837 root 24 8 24396 21m 2196 S 0.3 2.2 8:03.56 /usr/bin/spamd -d --allowed-ips=127.0.0.1 --pidfile=/var/run/spamd.pid --max-children=5
3880 nobody 19 4 5864 3056 2220 S 0.3 0.3 0:51.29 /usr/local/apache/bin/httpd -DSSL
1 root 16 0 1740 576 500 S 0.0 0.1 1:57.52 init [3]
2 root 34 19 0 0 0 S 0.0 0.0 0:08.64 [ksoftirqd/0]
3 root RT 0 0 0 0 S 0.0 0.0 0:00.25 [watchdog/0]
4 root 10 -5 0 0 0 S 0.0 0.0 0:00.23 [events/0]
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.02 [khelper]
6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 [kthread]
8 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 [kacpid]
88 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 [kblockd/0]
91 root 15 0 0 0 0 S 0.0 0.0 0:00.00 [khubd]
137 root 15 0 0 0 0 S 0.0 0.0 0:38.67 [pdflush]
138 root 15 0 0 0 0 S 0.0 0.0 0:20.07 [pdflush]
140 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 [aio/0]
139 root 15 0 0 0 0 S 0.0 0.0 0:07.01 [kswapd0]
226 root 15 0 0 0 0 S 0.0 0.0 0:00.00 [kseriod]
380 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 [ata/0]
384 root 19 0 0 0 0 S 0.0 0.0 0:00.00 [scsi_eh_0]
385 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [scsi_eh_1]
393 root 15 0 0 0 0 S 0.0 0.0 2:36.35 [kjournald]
580 root 11 -4 1644 572 484 S 0.0 0.1 0:05.74 udevd -d
1033 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [kgameportd]
1120 root 24 0 0 0 0 S 0.0 0.0 0:00.00 [shpchpd_event]
1389 root 15 0 0 0 0 S 0.0 0.0 0:00.00 [kjournald]
1789 root 16 0 1616 624 528 S 0.0 0.1 0:30.03 syslogd -m 0
1791 root 16 0 1564 504 436 S 0.0 0.0 1:03.52 klogd -x
1803 named 19 0 38304 3844 2240 S 0.0 0.4 1:27.16 /usr/sbin/named -u named
1848 root 18 0 2152 812 708 S 0.0 0.1 0:00.02 hcid: processing events
1852 root 18 0 1608 564 500 S 0.0 0.1 0:00.01 sdpd
1869 root 10 -10 0 0 0 S 0.0 0.0 0:00.00 [krfcommd]
2009 nobody 16 0 11388 1108 640 S 0.0 0.1 0:05.80 mDNSResponder
2017 root 16 0 1556 592 516 S 0.0 0.1 0:00.01 /usr/sbin/acpid
3717 root 16 0 4400 1712 1408 S 0.0 0.2 0:00.01 /usr/sbin/sshd
3725 root 15 0 2176 892 752 S 0.0 0.1 0:00.19 xinetd -stayalive -pidfile /var/run/xinetd.pid
3739 root 22 0 4388 1236 1064 S 0.0 0.1 0:01.15 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/server.prettykit
3773 mysql 22 6 58196 6204 1900 S 0.0 0.6 0:00.69 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/ser
3776 mysql 22 6 58196 6204 1900 S 0.0 0.6 0:00.30 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/ser
3777 mysql 21 6 58196 6204 1900 S 0.0 0.6 0:00.46 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/ser
3795 root 16 0 11608 8304 1640 S 0.0 0.8 0:21.20 chkservd
3822 mailnull 15 0 7856 1756 1440 S 0.0 0.2 0:00.87 /usr/sbin/exim -bd -q60m
3825 mailnull 16 0 7852 1720 1420 S 0.0 0.2 0:00.38 /usr/sbin/exim -tls-on-connect -bd -oX 465
3832 root 16 0 3016 1400 1084 S 0.0 0.1 1:29.81 antirelayd
3862 root 20 4 5736 2864 2128 R 0.0 0.3 0:30.83 /usr/local/apache/bin/httpd -DSSL
3876 nobody 20 4 5864 3064 2220 S 0.0 0.3 0:40.17 /usr/local/apache/bin/httpd -DSSL
3877 nobody 19 4 5864 3064 2220 S 0.0 0.3 0:46.10 /usr/local/apache/bin/httpd -DSSL
3878 nobody 19 4 5872 3064 2220 S 0.0 0.3 0:37.78 /usr/local/apache/bin/httpd -DSSL
3879 nobody 19 4 5864 3056 2220 S 0.0 0.3 0:46.43 /usr/local/apache/bin/httpd -DSSL
3882 root 16 0 4560 1148 752 S 0.0 0.1 0:01.27 crond
4095 mysql 22 6 58196 6204 1900 S 0.0 0.6 0:00.69 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/ser
4096 mailnull 27 12 6600 4264 1668 R 0.0 0.4 0:32.81 /usr/bin/perl /usr/local/cpanel/bin/eximstats


Thanks
 
Old 04-26-2006, 09:30 AM   #5
lemans
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Quick note

What would really be cool is to see a log of the complete boot process and see whats probably causing problems... Were is the boot log stored as its a web server i cant see the boot process???

As it must take about 20mins to reboot the system...

Thanks Yo
 
Old 04-26-2006, 04:40 PM   #6
slackmagic
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 253

Rep: Reputation: 32
hi again,


well most major logs are kept in /var/log/ so you might want to take a look at all those logs you have available in there.

I'd also like to know what you mean by the webserver is running slow. Does it feel slow as in once you're logged in via ssh it starts to lag (like when you type commands it takes about a second before each letter appears on your terminal?) or do you mean the actual web pages / images load too slow? Describe your slow to us please.

You might want to take a look at hdparm (man hdparm or google for it) - make sure you have hdparm enabled and set for maximum performance as your IDE devices allow.

According to your first post as well it appears that it's a dedicated server...so we're not dealing with a virtual server here correct? Virtual servers tend to run "slower" than actual dedicated servers. Just wanted to make sure that this is the case as well.
 
Old 04-28-2006, 02:15 PM   #7
lemans
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Hiya...

Thanks for the reply

No its not a virtual server... Also to explain the slowness better if i run cpanel or any php site on the server it grinds to a halt... When i go to ssh into the server there is a big long delay after i enter the user and pass . say 5 secs...

Its a bit hard to explain however the unixbench final results i have posted usually servers with less spec get an average of 150.00 or more... I even seen one that was running a pentium pro 200 and it got a hire final result then my server...

I have contacted the hosting company but they tell me that the hardware is there problem and the software is mine... Thats why any link to any site that discuss troubleshooting would be really cool...

Also i throw each log and cant see any that logs the boot have you any idea what the acutal file would be called...

Thanks again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 05:23 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 02:51 PM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 03:02 PM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 08:19 AM
Lilo/kernel question & font question phek Linux - General 9 09-18-2001 01:20 PM


All times are GMT -5. The time now is 03:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration