| | |||||
| ||||||||
| Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms. |
![]() | NamePros Design Contests | Forum Sponsorship |
| Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest) | ||
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Member Join Date: Dec 2004
Posts: 126
![]() | CPU/RAM server issues with images? Hi, all. ![]() Does it use more server CPU or RAM if your site images call for the full URL's (like http://www.yoursite.com/folder/another_folder/image.jpg), rather than just "../image.jpeg"? My webhost (Lunarpages) is incessantly complaining that my images are using more than 2% server CPU/RAM, saying they think it's caused by "the normal http access to the images". They've also mentioned "too many PHP calls" (Wordpress blog), but I don't think that's an image thing. Any ideas?
__________________ My site: Alphaila.com |
| | |
| | #2 (permalink) |
| Account Suspended Join Date: May 2006
Posts: 395
![]() | Have you protected your blog images using hotlink protection feature using your control panel ? If NOT then there are chances someone is linking your images hence you are facing such problem. I don't think having such absolute path for images should increase CPU/RAM consumption for sure !!! |
| | |
| | THREAD STARTER #3 (permalink) |
| NamePros Member Join Date: Dec 2004
Posts: 126
![]() | Sorry, I forgot to mention that hotlink protection was the first thing Lunarpages said to try.
__________________ My site: Alphaila.com
Last edited by Dario D.; 12-01-2010 at 12:04 PM.
|
| | |
| | #5 (permalink) |
| NamePros Regular Join Date: Jul 2006 Location: Karachi
Posts: 794
![]() ![]() ![]() ![]() ![]() | If hotlink protection is active then the problem is with your wordpress scripts and not the images. You will need to optimize your wordpress installation. I hear some plugins can cause increased CPU load. I have also read recommendations in favour of installing the wordpress supercache plugin to reduce CPU load. |
| | |
| | THREAD STARTER #6 (permalink) |
| NamePros Member Join Date: Dec 2004
Posts: 126
![]() | I have some variant of WP Super Cache running, but CPU hasn't gone down. I suspect that it could be my theme (an unfinished, custom theme that's currently in development). My host informs me that "[wp_root_folder]/index.php" is what's currently wasting the CPU. Can a theme do this? (I've changed it, and have to wait now for Lunarpages to check the CPU)
__________________ My site: Alphaila.com |
| | |
| | #7 (permalink) |
| NamePros Regular Join Date: Jul 2006 Location: Karachi
Posts: 794
![]() ![]() ![]() ![]() ![]() | Pretty much every request of a wordpress blog goes through index.php so that does not help in narrowing down the problem. My suggestion is to go through your plugins because they tend to cause this. You will have to do this yourself. You could try and ask for help on the wordpress forums. Be sure to list your plugins. People there may help you narrow down the possibilities. Another approach would be to google each plugin name along with the word "CPU" to see if any plugin is being talked about as a CPU hog. If nothing works you will have to admit that your site is outgrowing shared hosting and upgrade to a VPS or a dedicated server. |
| | |
| | THREAD STARTER #8 (permalink) |
| NamePros Member Join Date: Dec 2004
Posts: 126
![]() | I deactivated all of my plugins, but it didn't help. Could switching the images to use local addresses (instead of full http ones) relieve some index.php use?
__________________ My site: Alphaila.com |
| | |
| | #9 (permalink) |
| NamePros Regular Join Date: Jul 2006 Location: Karachi
Posts: 794
![]() ![]() ![]() ![]() ![]() | As I said before the images are not the cause of the problem. Images are static files and they don't go through index.php. Images take up next to no CPU power to be served over the web. Your only option is to to admit that your site is outgrowing shared hosting and upgrade to a VPS or a dedicated server. An alternative is clustered hosting like the one offered by imountain.com. |
| | |
| | THREAD STARTER #10 (permalink) |
| NamePros Member Join Date: Dec 2004
Posts: 126
![]() | Thanks for the tips. I forgot to mention that several Lunarpages techs insisted that at least the RAM usage was being affected by my large images having to be pumped to many people at once. (I use a LOT of images on my trafficked pages) Regarding hosting, yes, I'm looking into something new (I've looked at some cloud hosting companies).
__________________ My site: Alphaila.com |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 34 Domain Collection-Clients,Students,Patients First!!! | ausername | Domains For Sale - Auctions | 0 | 08-22-2010 07:33 PM |
| Images uploaded to server not loading, but all other files work. | I-Got-IT! | Web Hosting Discussion | 5 | 12-17-2008 12:11 AM |
| soooo many yahoo's | redhippo | Domain Name Discussion | 5 | 07-12-2005 11:26 PM |
| Dedicated Servers from just £45 $90 + [UK] 1 TB Data Transfer P4 3.0GHZ Only £119 | blackicehosting | Web Hosting Offers | 0 | 07-12-2005 06:24 PM |
| Unlimited Support Tickets For Your Clients | TSGradyR | For Sale / Advertising Board | 3 | 02-23-2005 05:00 PM |