Slow Apache

i have a server with i7 920 processor 8 cores and 12 Gb ram
i have installed 2 os. with vmware  one of them for mysql cent os
one of them for cpanel and i have get one site which has 40.000 unique visitor daily
and my site is always gotting down and when i trace it make picks to the 700 Mbits

Cpanel os has 4 core and 5 Gb of ram
Mysql has 4 cores and 3 Gb of ram

i checked my sistem does not make any compression for sites
how could i make a faster apache and faster php
LVL 1
CahitEyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mlecceCommented:
Hello,

Does your site have database interaction which could be slowing things down on each request?  If so, you will want to optimize your queries to ensure they are not slow.

You may also try caching your page output or using a product such as Zend Optimizer (www.zend.com) which will optimize your PHP Code.

Regards,
Moses
0
CahitEyAuthor Commented:
there is no database interaction my db server is another server , and it answer perfectly
this is a vbulleting form and it is working perfect on  my exhost with 16gb ram machine but they have 160 sites
i could not understand why site is always down and why it gets 700 Mbits :S
0
madunix (Fadi SODAH)Chief Information Security Officer Commented:
http://httpd.apache.org/dev/debugging.html    is a must.
http://www.linuxjournal.com/article/4222
can you check the following:
- look in /var/log any suspicious
- do you have free drive space, but do all partitions have free space
- are all the file systems OK? fsck
- memory diagnostic.... could be a bad piece of RAM
- check apache config
- check mysql config it could memory setting bigger than your actual RAM (if you have mysql)
- trace your php apps
- Apache service starts with no errors??
- check Apache error log if contains hints
.....
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.