Welcome to the most active Linux Forum on the web.
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 03-24-2011, 02:10 AM   #1
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 229

Rep: Reputation: 18
website slow


I have hosted a website on a server with configuration
cpu: xeon processor

the os is centos 5.4
kernel version is 2.6.18

During Peak hours the server load is 0.9
the problem i am facing is that the site takes time to load.

For this i optimised to mysql database and checked the server load on the database server which again was also normal.

I also used third party scripts to tune the mysql like

next I tuned the apache server using httpd.conf
these are my settings which i tuned

<IfModule prefork.c>
StartServers 40
MinSpareServers 10
MaxSpareServers 75
ServerLimit 1000
MaxClients 950
MaxRequestsPerChild 1000

In doing so the time reduced , earlier it was taking 40 sec to load , now its about 20 - 25 sec

the website is based on php, php accelerator is turned off since we were facing problems in page loading.

Can someone help me in setting this right , we get around 45000 hits per minute.

how can i resolve this issue , I am running out of options

Thanks in advance
Old 03-24-2011, 11:19 AM   #2
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
This is definitely not a newbie question. You should try to post it in the Server forum instead.

I can give only little advice:
check if the server is paging using "top"
check how much disk IO the system is doing using iotop

Narrow down your question, right now it is very broad. "gage takes 40 second to load, have reduced it to 25, what more can I do ..."

Good luck, it's a tough problem ...


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
My Website is very slow? your_shadow03 Linux - Newbie 4 12-06-2009 05:11 PM
Website is extremely slow. TefoZi Linux - Networking 8 04-03-2008 01:36 AM
My website is so slow and I don't know what I can do! michael! Linux - Server 3 09-05-2006 12:11 AM
a slow website marsques Linux - General 3 01-29-2006 10:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:57 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