Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-23-2007, 02:56 AM   #1
Registered: Jan 2007
Posts: 41

Rep: Reputation: 15
server running slow

hi friend,
i have installed redhat Cent O.S 4.2 on my sever.

while client is accesing its homepage , it has a slow response.
when client use ftp for file transfer, response from server is slow.
i am running php software and MYSQL database in my server.

i am using 80GB hard disk and still 28GB freespace is remaining.
i have 512 MB of memory, in which currently 91 MB is still free.

o/p for " vmstat" command is

procs -----------memory---------- ---swap-- -----io---- --system--

r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 160 91296 40656 287300 0 0 9 7 60 34 0 0 100 0

o/p for "free" command is

total used free shared buffers cached
Mem: 507932 416572 91360 0 40636 287284
-/+ buffers/cache: 88652 419280
Swap: 779144 160 778984

o/p of "top" command is

top - 14:31:52 up 2 days, 1:12, 2 users, load average: 0.00, 0.00, 0.00
Tasks: 74 total, 1 running, 73 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.7% us, 0.0% sy, 0.0% ni, 98.3% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 507932k total, 416772k used, 91160k free, 40612k buffers
Swap: 779144k total, 160k used, 778984k free, 287268k cached

In the /var/log/messages there are no errors
But in the /var/log/httpd/error_log it is showing a long list of same

error i.e" an unknown filter was not added :PHp".in this way my server

is responding very slow for ftp and while accesssing through http.will

u pls help me to solve this problem.
Old 01-23-2007, 09:20 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
What's you're description of slow response? Is it seconds, minutes, hours.. ? Need some more details to help better understand the problem. Some of the other things you can look out for is DNS resolution, ReverseDNS and so on by just taking a guess not knowing much more about you're setup. What type of php applications are you using? What type of network is this on, speed and NIC type? More details get better replies.
Old 01-24-2007, 01:59 AM   #3
Registered: Jan 2007
Posts: 41

Original Poster
Rep: Reputation: 15
Angry reply

according to ur requirement,

i am using php application of client-server type.

for the information abt network,

i have the o/p of some standard commands as,
1.for "mii-tool eth0"

"eth0: negotiated 100baseTx-FD, link ok"

2.for"ethtool -S eth0"


"NIC statistics:
early_rx: 0
tx_buf_mapped: 0
tx_timeouts: 0
rx_lost_in_ring: 0"

3.for "netstat -i"


eth0 1500 0 43568 0 0 0 41105 0

0 0
lo 16436 0 22 0 0 0 22 0

0 0

i have rebooted the server today and then check the response of http

and ftp , that response is better than the previous 3 days,for http

request , it was taking a minute to open the link yesterday,which is

now opening in seconds.but still iam unknown of the cause for such a

response of server.if server starts responding same as it was

responding since last three days, then what action should i take.will u

pls help me to solve this problem?
Old 01-25-2007, 03:15 AM   #4
Registered: Jan 2007
Posts: 41

Original Poster
Rep: Reputation: 15
Cool server monitoring

hi friends,
i want to know general commands which are used to monitor the server.i also want to know that can we write any server monitoring shell script?
will you please help guide me in this matter?
Old 01-25-2007, 05:34 AM   #5
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590
What aspects would you like to monitor? Services availability and system stats (Monit)? Network specs (Nagios)? Is this somehow related to your other thread named "server slow"? Why write a server monitoring shell script? Searching LQ, or doesn't show anything usable?
Old 01-27-2007, 06:02 AM   #6
Registered: Jan 2007
Posts: 41

Original Poster
Rep: Reputation: 15
i want to monitor the status of the system so that i can predict why it is running very slow.will you pls help me to solve this?
Old 01-27-2007, 08:01 AM   #7
Registered: Nov 2005
Distribution: Fedora Core 5
Posts: 64

Rep: Reputation: 15
check out . This is a tutorial on how to setup munin and monit. These two software packages will monitor the system resources and also monitor your services to make sure they are all up and done correctly. that should help you.


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
Server Running Slow Darwinist Linux - Newbie 2 05-21-2006 02:39 PM
Running Slow Boffy Linux - General 5 02-21-2005 11:49 AM
Running Slow! dealer325 Mandriva 4 08-28-2003 01:21 AM
Running SLOW StarbucksNut Linux - Newbie 2 02-27-2003 12:05 PM
Help!!! Red hat 7.2 FTP, WEB, MAIL connectivity to the server is running slow jobesd Linux - Distributions 0 02-28-2002 04:49 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:11 PM.

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