https://www.icyphoenix.com/viewtopic.php?f=26&t=2854
-----------------------------------
sympatico
Mon 24 Sep, 2007 20:22

FAP CUSTOMIZATION - Server Overload
-----------------------------------
hi,

my server admin told me that my site is using too much server resources.
now i know that 'too much' is relative to the server i'm on (and it's a standard shared host).

admin sent me a log of what was going wrong:

[quote]
28331 S www.mysite.com 90.91% 0.11s GET /coolcar-thumb371.jpg HTTP/1.1
9853 S www.mysite.com 50.00% 0.30s GET /album_thumbnail.php?pic_id=395 HTTP/1.1
8083 S www.mysite.com 26.87% 0.67s GET /album_thumbnail.php?pic_id=401 HTTP/1.1
28327 S www.mysite.com 22.45% 0.49s GET /my-engine-thumb352.jpg HTTP/1.1
17187 S www.mysite.com 20.00% 0.50s GET /l-autre-profil-thumb353.jpg HTTP/1.1
13361 S www.mysite.com 17.14% 0.70s GET /othercar-thumb370.jpg HTTP/1.1
28339 S www.mysite.com 16.96% 1.12s GET /album_thumbnail.php?pic_id=412 HTTP/1.1[/quote]


i'm not sure i understand it all but i guess it means these files use up too much resources.

at the time of this report there were no more than 100 simultaneous users on my forum.

it looks like generating and displaying thimbnails is what is causing the problem, if i remove the pic block form my index and from the users' profiles and maybe display full images in posts, would it help?

i have my forum with the album setup just the way i like it, i really wouldn't want to have to get rid of it!

thank you for your help!


-----------------------------------
Mighty Gorgon
Tue 23 Oct, 2007 22:17

Re: Server Overload
-----------------------------------
That is because your server is having problems with getimagesize function. Many server have problem with this function... some of them are configured badly.

This site is on a shared account with more of 300 sites on the same server... and no problems with thumbs.

The only thing you can do (other than changing hosting...) is disable thumbs totally.


