What can be causing the images to load extremely slowly?

Posted October 9, 2013 5.6k views
Hi, I have a site on a 1GB droplet in AMS1. Here's the site URL: It's my personal gallery, so the traffic is rather thin... or it's not there, but I'm using it as test case for the server setup to use it to demo websites we build for clients. Currently the problem I have is that the images on the page are loading extremely slowly, or not loading at all. In firebug the problem looks like this: I have conservative apache setup on the machine, 128MB per PHP process (apache process actually takes up to 30mb), max servers and clients etc is set to 10. There are no errors in the logs. I ran apache through strace and it doesn't seems to locking on anything. I dropped a ticket to support but they don't know how to bite this. Any ideas? Thanks, Piotrek

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers
Ok, it seems that I got to the bottom of this issue.

At some point, in my quest to optimize I set the MaxClients to 10. It seems that it's way to low, even though it worked on my previous server.

Please disregard the thread, it's solved.

When serving mostly static content, you'll get a lot better performance from Ngnix w/caching vs. Apache. If you're open to the idea, check out How To Install Wordpress, Nginx, PHP, and Varnish on Ubuntu 12.04.
by Etel Sverdlov
Varnish is an HTTP accelerator and a useful tool for speeding up a server, especially during a times when there is high traffic to a site. It works by redirecting visitors to static pages whenever possible and only drawing on the server itself if there is a need for an active process. This tutorial covers installing wordpress on a LEMP stack (with nginx instead of apache), and then installing varnish.