website response sudeenly becomes slow

website response sudeenly becomes slow

am 28.01.2010 09:05:14 von Nasir Zia

--00504502ad47991ab9047e34fad3
Content-Type: text/plain; charset=ISO-8859-1

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

--00504502ad47991ab9047e34fad3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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    =A0 : 6=

model           : 15
model name    =A0 :=
Intel(R) Xeon(R) CPU          =A0 5140=A0 @ 2.33GHz >stepping      =A0 : 6
cpu MHz         : 199=
8.000
cache size    =A0 : 4096 KB

physical id     : 0
siblings      =A0 : 2
core id=
         : 0
cpu cores       : 2
fdiv_bug=
      =A0 : no
hlt_bug         : no
f00f_=
bug      =A0 : no
coma_bug      =A0 : no
fpu=
             : yes
fpu_exception   : yes

cpuid level     : 10
wp            =A0 :=
yes
flags           : fpu vme de pse tsc msr pae mc=
e cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse ss=
e2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr=
lahf_lm

bogomips      =A0 : 4657.63

processor       =
: 1
vendor_id       : GenuineIntel
cpu family    =
=A0 : 6
model           : 15
model name  =A0=
   : Intel(R) Xeon(R) CPU          =A0 5140=A0 @ 2.=
33GHz
stepping      =A0 : 6

cpu MHz         : 1998.000
cache size    =A0 : 4=
096 KB
physical id     : 0
siblings      =A0 : 2<=
br>core id         : 1
cpu cores       : 2 r>fdiv_bug      =A0 : no
hlt_bug         : n=
o
f00f_bug      =A0 : no

coma_bug      =A0 : no
fpu          =A0=
=A0 : yes
fpu_exception   : yes
cpuid level     : 10
w=
p            =A0 : yes
flags      =
     : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmo=
v 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      =A0 : 4654.99

and 4GB of RAM.

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

can anyone t=
ell me the meanings of terms used in Apache server status program. can it b=
e a network problem?



Scoreboard Key:
"_" Waiting for Co=
nnection,=20
"S" Starting up, "R&=
quot; Reading=20
Request,
"W" Sending Reply, " >K"=20
Keepalive (read), "D" DNS Lookup,
" >C"=20
Closing connection, "L" Logging, " de>G"=20
Gracefully finishing,
"I" Idle cleanup of =
worker,=20
"." Open slot with no current process
>
=3D"jsProxy" type=3D"hidden">



--00504502ad47991ab9047e34fad3--

Re: website response sudeenly becomes slow

am 28.01.2010 12:56:41 von Nilesh Govindrajan

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 for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org