[TriLUG] why is it slow?
jonc at nc.rr.com
Tue Sep 12 00:13:01 EDT 2006
Could it be that all 3100 files are in the same directory?
I have a feeling that this might exceed the ability of your server to
cache which files are available in that directory - thus it would
re-read with each request... and that could take some time.
Try using a different directory and just loading a few hundred files
into that. If the access is much faster... then you have your answer.
Good Luck - Jon
On Mon, 2006-09-11 at 23:53, jason watts wrote:
> hello all
> so, here is my problem: my webserver was uploading fine before, then i had
> my dad upload all of his pictures to my server via ftp. came to a total of
> 3100 and a few. now, the server uploads like a snail... almost as if i were
> downloading off of a 23k modem. (it takes me 6 min to load a 1200*900 img it
> was a 300k file)
> i did a broadbandreports.com speed test on it and have an upload of about
> initially, i thought it was because i uploaded all those pictures to the
> server and it needed to be defraged?? (can you defrag a linux harddrive? if
> so how)
> but, after messing with it a little more, i noticed that doing my ip address
> 71.71.xx.xx takes forever to load, but if i stay in my network, my
> 192.xx.xx.xx address, it loads instantly. when my dad trys to load the
> website, he has a delay of about 3 or 4 seconds to load one of the images.
> so, my thought to that is that it is getting confused trying to go out of my
> house and come back in?
> other than this, i have no real idea as to what is up with this.
> thanks for any input or help
More information about the TriLUG