Site is extremely slow

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
6/18/2008 8:14:17 AM
Gravatar
Total Posts 9

Site is extremely slow

Hi Joe,
I have been constantly receiving negative feedback from my clients/users about the site being very slow. Can you please suggest something ? I have already been in constant touch with the support team of the hosting service. The rest of the 700+ sites seem to be working well except for the one on mojoPortal. I have tested a few sites (esp. asp.net sites) hosted by them and have noticed that it's only this site that's slow. 


 

 

6/18/2008 8:28:11 AM
Gravatar
Total Posts 18439

Re: Site is extremely slow

Hi Wilbur,

Sorry to hear you are having these issues. In my experience mojoportal
runs very fast.
At the moment, your site seems very responsive to me when I click around.
I would keep a close eye on the error log and the web logs for clues
to the problem.
If your site is not receiving much traffic it can seem slow because if
there is no traffic for 20 minutes IIS shuts down the application then
you get a first request and a lot of ASP.NET JIT (Just In Time)
compilation occurs so the first few requests seem slow but after that
everything is cached and its fast.
If you determine that this is the problem (slow traffic so the site
has to wake up every time you get a visitor), you can try adding this
to Web.config appSettings section:
<add key="UseAppKeepAlive" value="true" />

This is a feature that can spawn a background thread that makes
periodic requests for your home page thereby keeping it awake so it
doesn't shut down.

Hope it helps,

Joe

6/18/2008 8:33:53 AM
Gravatar
Total Posts 18439

Re: Site is extremely slow

As I mentioned before, your site seems responsive to me at the moment. Mor einfo is needed about when it gets slow and what else is going on on the server. In shared hosting its possible other sites on the server are getting heavy traffic at times and this can impact your site.

Other things that can cause slowness.

1. database is overly busy - also subject to traffic from other sites/applications

2. database on a different machine and DNS server is too busy causing slow dns resolution to connect to the db server

3. Something running on the same server has a memory leak and it depletes available resources at times

There is know way for me to know which if any of these are causes in your installation. All I can say is mojoportal runs very fast for sites I'm working with.

Again, I think keeping a close eye on the mojoportal error log and analysis of the IIS web logs is what I would do to troubleshoot the problem.

At the moment I'm not seeing the symptom.

Hope it helps,

Joe

6/30/2008 2:44:19 PM
Gravatar
Total Posts 36
Anchorage, Alaska

Re: Site is extremely slow

You suggest putting <add key="UseAppKeepAlive" value="true" /> in web.config.

Can we place this in users.config so I do not have to remember about it during a MojoPortal upgrade?

7/1/2008 1:45:17 PM
Gravatar
Total Posts 18439

Re: Site is extremely slow

Yes, anything in the appSettings section can be put in user.config. I will say that I only did minimal testing with this keep alive feature so let me know if you encounter any troubles with it enabled.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.