Re: optimizing apache web server

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

 



J. Bakshi wrote:
I am running an apache server at a remote debian box which have 4 GB RAM
and quad-core intel CPU. During the development period the site was
first. But after finishing the site when people start to access it, the
site some times become very very very slow. There is no noticeable load
on the system, but still the site is not working  as fast as it were in
its development period.

Double check that you aren't using your swapfile (the 'top' utility can tell you this). If too many concurrent Apache processes are allowed, they'll soak up all your RAM and more, and having to swap them to disk kills performance stone dead. While you're in 'top', you might check to see what is using the CPU while the site is running slow.

Does your site use a database? Could the slowdown be due to competition for exclusive locks on tables? This could cause a site slowdown even with low CPU usage.

Cheers,
Nicholas Sherlock


---------------------------------------------------------------------
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