On Tue, Jun 1, 2010 at 5:29 AM, Velocity <[email protected]> wrote:
> I am having a website running behind a reverse proxy.
> In a step by step way
>
> 1) The site http://site5.abc.com was loading slowly
> (Some page elements showed 411ms in Google Developer tools snapshot
> http://farm5.static.flickr.com/4018/4659120495_b53bf97a58_b.jpg
> shows 411ms for a page element to load)
>
> 2) From my laptop checked http://192.168.1.5:8080/eduCommons
>
> ( got a few page elements 211 ms and one was 770 ms a snapshot for the
> 700 ms attached
> http://farm5.static.flickr.com/4042/4658588197_f4dd59b9fd_b.jpg)
>
>
> 3) Then to check if the site is loading slow on  server where it is
> hosted  I did from my laptop
>
> ssh -L 8080:localhost:8080 [email protected]
>
> 4) Then from my laptop when above ssh connection on step 3 was alive
>
> http://localhost:8080/eduCommons
> and saw a page element loading at 411 ms.
> http://farm5.static.flickr.com/4042/4658588197_f4dd59b9fd_b.jpg)
>
> If I am not wrong then by step 4 it is confirming that site is slow on
> server itself.
> I would like to clear that the server is not running any thing other
> than eduCommons .
> So can any one suggest any thing that I should check which makes my
> site slow.

It will be slow because of several reasons:

1) Disk access.  Disk access is slow.  Very slow.  Fantasically slow.
You can get information faster by using tin cans with string.  Well
not really...

2) Disk access.  If you use too much memory, your application will
page data to disk.  This is a deathblow to site performance.

It looks like you're using a shared hosting plan.  They general
hard-limit you to around 15mb of RAM that your application can use.
So, I'd go find a better host if I were you.  A virtual private
server.

If you absolutely need loads of disk space and bandwidth (you probably
don't) then try DreamHost.  They have a PS service which is basically
a virtual private server, but it comes with DH's "unlimited + 50gb"
plan for everything else.  You end up paying around $25/month for a
300MB server.

I host my site on a 512mb server through prgmr, which gets me 12gb of
disk space but a full, dedicated OS on a very well-provisioned server.

The other kind of slow which you are probably NOT experiencing is CPU
bottlenecks, which is where your application is doing too much
processing to efficiently serve pages.

-- 
Registered Linux Addict #431495
For Faith and Family! | John 3:16!
http://www.fsdev.net/

-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup

Reply via email to