Re: website response sudeenly becomes slow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/28/2010 01:35 PM, Nasir Zia wrote:
Hi,

My website response suddenly becomes slow, I have running apache and
tomcat with apache at the front integrating tomcat with modjk.

My Server specs are

[root@mail conf]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Xeon(R) CPU            5140  @ 2.33GHz
stepping        : 6
cpu MHz         : 1998.000
cache size      : 4096 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips        : 4657.63

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Xeon(R) CPU            5140  @ 2.33GHz
stepping        : 6
cpu MHz         : 1998.000
cache size      : 4096 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips        : 4654.99

and 4GB of RAM.

The Server resources are pretty much available. I have configured Apache
Server Status and it shows me normal readings from the server.

can anyone tell me the meanings of terms used in Apache server status
program. can it be a network problem?


Scoreboard Key:
"*|_|*" Waiting for Connection, "*|S|*" Starting up, "*|R|*" Reading
Request,
"*|W|*" Sending Reply, "*|K|*" Keepalive (read), "*|D|*" DNS Lookup,
"*|C|*" Closing connection, "*|L|*" Logging, "*|G|*" Gracefully finishing,
"*|I|*" Idle cleanup of worker, "*|.|*" Open slot with no current process



I faced a similar problem with PHP and FastCGI. The problem was not of apache but of database (MySQL). Try optimizing settings for whatever DB you use.

Also compile Apache with --enable-atomic-ops and CFLAGS="-march=i686 -O3"

I recompiled PHP and MySQL too with the above CFLAGS which gave me a big boost in performance.

Also set vm.swapiness = 100

It swaps out processes which are not active much. But that setting should not be required for you cause you have plenty of RAM. In my case, I have exactly 497 MB of RAM.

--
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux