Jump to content
Software FX Community

Chart takes long time to load first time


User (Legacy)

Recommended Posts

Hi --

With ASP.Net I always have a long delay the first time someone goes to a

page with a Chart (if no one has gone to that page for a long time (hours).

After any one person hits the page then all users that go the page see the

Chart fast for the future several hours. There must be some caching

mechanism for the chartfx dll on the IIS server??? Is there a way to keep it

cached?

Thank you.

Link to comment
Share on other sites

My guess would be that ASP.NET is unloading Chart FX after a while of not 

being used. Now there would be nothing abnormal about that, the delay should

be minimum though as Chart FX is not that big and the initialization code

shouldn't take too long.

A bigger delay will occur when the page is modified as it will be

re-compiled on the next hit. Is this the case ?

How long of a delay are you seeing ? Also what version/build of Chart FX are

you using ?

--

FP

Software FX, Inc.

"GRT" <no@spam.com> wrote in message

news:L2KxPRDFFHA.2544@webserver3.softwarefx.com...

> Hi --

>

> With ASP.Net I always have a long delay the first time someone goes to a

> page with a Chart (if no one has gone to that page for a long time

> (hours).

> After any one person hits the page then all users that go the page see the

> Chart fast for the future several hours. There must be some caching

> mechanism for the chartfx dll on the IIS server??? Is there a way to keep

> it

> cached?

>

> Thank you.

>

>

Link to comment
Share on other sites

Hi --

The delay for regular use (the dll unloaded, not a recompile) I timed at 28

seconds (average) -- which is just long enough to be troublesome. Happens

consistently (after enough time has elapsed for the dll to unload)

The version is ChartFX 6.2, .Net. running on a Dell 2-processor Xeon with

4GB of RAM. All other asp.net pages load fast (and that is the only thing

running on that web server) so something with the ChartFX.

Note one odd thing is that I do not see this long delay on my laptop where I

have the development license -- only on my production server with the

production license.

I also tried http://support.softwarefx.com/cfxnet/ but no improvement.

Thanks for your help.

"Software FX Support" <noreply@softwarefx.com> wrote in message

news:t8zPiOtFFHA.2132@webserver3.softwarefx.com...

> My guess would be that ASP.NET is unloading Chart FX after a while of not

> being used. Now there would be nothing abnormal about that, the delay

should

> be minimum though as Chart FX is not that big and the initialization code

> shouldn't take too long.

>

> A bigger delay will occur when the page is modified as it will be

> re-compiled on the next hit. Is this the case ?

>

> How long of a delay are you seeing ? Also what version/build of Chart FX

are

> you using ?

>

> --

> FP

> Software FX, Inc.

> "GRT" <no@spam.com> wrote in message

> news:L2KxPRDFFHA.2544@webserver3.softwarefx.com...

> > Hi --

> >

> > With ASP.Net I always have a long delay the first time someone goes to a

> > page with a Chart (if no one has gone to that page for a long time

> > (hours).

> > After any one person hits the page then all users that go the page see

the

> > Chart fast for the future several hours. There must be some caching

> > mechanism for the chartfx dll on the IIS server??? Is there a way to

keep

> > it

> > cached?

> >

> > Thank you.

> >

> >

>

>

Link to comment
Share on other sites

28 seconds is definitely not normal, loading the chart for the first time 

may take a couple of seconds top.

Article Q7121000 refers to the loading time of the Client Component, it does

not refer to the time spent by the server.

What you described before looks like a server problem, not a client problem

as the actions of one user are affecting others.

Are you producing an image or a client control ? To rule out any client-side

issues generate an image and see if the problem persists. If it does then it

is definitely a server problem.

Are you using the PSS extension in your production server ?

I suggest you contact Software FX tech. support with this information, you

are experiencing a problem I've never seen before.

--

FP

Software FX, Inc.

"GRT" <no@spam.com> wrote in message

news:$J$50ouFFHA.2132@webserver3.softwarefx.com...

> Ooops --

> I sent the wrong link on my last reply -- I meant to say I tried Q7121000

> at

> http://support.softwarefx.com/cfxnet/

> Thanks

>

>

Link to comment
Share on other sites

Hi

Thanks for your ideas/help.

> What you described before looks like a server problem, not a client

problem

> as the actions of one user are affecting others.

Yes, it seems like it is ChartFX related on the server for sure since any

client has the problem. Also other asp.net stuff works fine so narrowed down

to something about my install of ChartFX

> Are you producing an image or a client control ? To rule out any

client-side

> issues generate an image and see if the problem persists. If it does then

it

> is definitely a server problem.

I am just doing a sample chart that produces a PNG image (so I just did the

Chart wizard and made a bar chart -- no DB query or anything els that could

cause the slowdown.

> Are you using the PSS extension in your production server ?

I do not know what that is??? Could you give info onthat (and I will also

look it up too).

> I suggest you contact Software FX tech. support with this information, you

> are experiencing a problem I've never seen before.

I will do so -- thanks for all you help and any suggestions you have. I

will post here if I get it fixed for reference for others. The mystery is

why does it work fine for several hours after any client makes an initial

page hit and then after hours it goes back to slow mode until any client

hits it again -- I understand why that happens on a recopile but can't see

why it happens inthis charting case.

Link to comment
Share on other sites

Have you installed Whidbey?

ASP.NET 2.0 and Visual Studio 2005 Beta.

-cjs

"GRT" <no@spam.com> wrote in message

news:BdLtp$FGFHA.1924@webserver3.softwarefx.com...

> Hi

>

> Thanks for your ideas/help.

>

>> What you described before looks like a server problem, not a client

> problem

>> as the actions of one user are affecting others.

> Yes, it seems like it is ChartFX related on the server for sure since any

> client has the problem. Also other asp.net stuff works fine so narrowed

> down

> to something about my install of ChartFX

>

>> Are you producing an image or a client control ? To rule out any

> client-side

>> issues generate an image and see if the problem persists. If it does then

> it

>> is definitely a server problem.

> I am just doing a sample chart that produces a PNG image (so I just did

> the

> Chart wizard and made a bar chart -- no DB query or anything els that

> could

> cause the slowdown.

>

>> Are you using the PSS extension in your production server ?

> I do not know what that is??? Could you give info onthat (and I will also

> look it up too).

>

>> I suggest you contact Software FX tech. support with this information,

>> you

>> are experiencing a problem I've never seen before.

> I will do so -- thanks for all you help and any suggestions you have. I

> will post here if I get it fixed for reference for others. The mystery is

> why does it work fine for several hours after any client makes an initial

> page hit and then after hours it goes back to slow mode until any client

> hits it again -- I understand why that happens on a recopile but can't see

> why it happens inthis charting case.

>

>

>

post-2107-13922366084278_thumb.png

post-2107-1392237726567_thumb.png

Link to comment
Share on other sites

I have not installed Whidbey on that server. Everything is stock Win 2003,

IIS6, Asp.Net 1.1, Visual Studio 2003.

"Software FX Support" <support@softwarefx.com> wrote in message

news:jqBZL8cGFHA.1924@webserver3.softwarefx.com...

> Have you installed Whidbey?

> ASP.NET 2.0 and Visual Studio 2005 Beta.

> -cjs

>

> "GRT" <no@spam.com> wrote in message

> news:BdLtp$FGFHA.1924@webserver3.softwarefx.com...

> > Hi

> >

> > Thanks for your ideas/help.

> >

> >> What you described before looks like a server problem, not a client

> > problem

> >> as the actions of one user are affecting others.

> > Yes, it seems like it is ChartFX related on the server for sure since

any

> > client has the problem. Also other asp.net stuff works fine so narrowed

> > down

> > to something about my install of ChartFX

> >

> >> Are you producing an image or a client control ? To rule out any

> > client-side

> >> issues generate an image and see if the problem persists. If it does

then

> > it

> >> is definitely a server problem.

> > I am just doing a sample chart that produces a PNG image (so I just did

> > the

> > Chart wizard and made a bar chart -- no DB query or anything els that

> > could

> > cause the slowdown.

> >

> >> Are you using the PSS extension in your production server ?

> > I do not know what that is??? Could you give info onthat (and I will

also

> > look it up too).

> >

> >> I suggest you contact Software FX tech. support with this information,

> >> you

> >> are experiencing a problem I've never seen before.

> > I will do so -- thanks for all you help and any suggestions you have. I

> > will post here if I get it fixed for reference for others. The mystery

is

> > why does it work fine for several hours after any client makes an

initial

> > page hit and then after hours it goes back to slow mode until any client

> > hits it again -- I understand why that happens on a recopile but can't

see

> > why it happens inthis charting case.

> >

> >

> >

>

>

Link to comment
Share on other sites

I have determined what the problem is:  something was not fowled with the

IIS6 application pooling. I adjusted some setting there and now all works

well. I will now work further to see what the best settings are but for now

it works well.

"GRT" <no@spam.com> wrote in message

news:L2KxPRDFFHA.2544@webserver3.softwarefx.com...

> Hi --

>

> With ASP.Net I always have a long delay the first time someone goes to a

> page with a Chart (if no one has gone to that page for a long time

(hours).

> After any one person hits the page then all users that go the page see the

> Chart fast for the future several hours. There must be some caching

> mechanism for the chartfx dll on the IIS server??? Is there a way to keep

it

> cached?

>

> Thank you.

>

>

Link to comment
Share on other sites

We have been able to duplicate the 27 seconds delay on the first chart in 

one of our machines and our next hotfix/service pack will contain a fix for

this issue (any build marked 1887 or greater).

In order to improve this time you will have to add

<MachineKey>false</MachineKey> to the ChartFX.Internet.Config file located

in the bin folder of your Web Application.

You can also create a registry value at HKLM\SOFTWARE\Software FX,

Inc.\ChartFX for .NET\6.2\Server called MachineKey and set its value to 0

(make sure it is created as a DWORD value).

When either of these are set, you should see a big improvement in the first

chart, in all of our tests it went from 27-28 seconds to between 0.5 and 0.8

seconds.

JuanC

"GRT" <no@spam.com> wrote in message

news:nNf9h0aHFHA.1924@webserver3.softwarefx.com...

>I have determined what the problem is: something was not fowled with the

> IIS6 application pooling. I adjusted some setting there and now all works

> well. I will now work further to see what the best settings are but for

> now

> it works well.

>

> "GRT" <no@spam.com> wrote in message

> news:L2KxPRDFFHA.2544@webserver3.softwarefx.com...

>> Hi --

>>

>> With ASP.Net I always have a long delay the first time someone goes to a

>> page with a Chart (if no one has gone to that page for a long time

> (hours).

>> After any one person hits the page then all users that go the page see

>> the

>> Chart fast for the future several hours. There must be some caching

>> mechanism for the chartfx dll on the IIS server??? Is there a way to keep

> it

>> cached?

>>

>> Thank you.

>>

>>

>

>

Link to comment
Share on other sites

Hi --

I tried the fix but I still get the 28 seconds load for both the following:

-after a recompile

-after long period of inactivity.

I thought it was something to do with the Appliocation Pool so I turned off

[Recyle Worker Processes].

My registry settings (and also I did a reboot afte rthe changes were made):

[HKEY_LOCAL_MACHINE\SOFTWARE\Software FX, Inc.\ChartFX for .NET\6.2\Server]

"MainClient"=dword:00000001

"MachineKey"=dword:00000000

I would be glad to assist SoftwareFX via phone (read any settings, reg keys,

try different settings, etc.) -- so if you want just send me a contact.

Link to comment
Share on other sites

Hi --

Please see my response on the Wed, 2 Mar 2005 13:12:02 -0500 message

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:a5KuR0mHFHA.1924@webserver3.softwarefx.com...

> Please let us know if you find out. The information might be helpful for

> other users.

>

> --

> FP

> Software FX

>

>

Link to comment
Share on other sites

Hi,

I've experienced the same problem as you, and managed to fix it by

turning off the "Run WWW service in IIS 5.0 isolation mode" property.

Lars

> Hi --

> Please see my response on the Wed, 2 Mar 2005 13:12:02 -0500 message

>

> "SoftwareFX Support" <noreply@softwarefx.com> wrote in message

> news:a5KuR0mHFHA.1924@webserver3.softwarefx.com...

>

>>Please let us know if you find out. The information might be helpful for

>>other users.

>>

>>--

>>FP

>>Software FX

>>

>>

>

>

>

Link to comment
Share on other sites

Thanks for the idea.

I do not have "Run WWW service in IIS 5.0 isolation mode" turned on.

"Fosco Gamgee" <foscogamgee42@yahoo.no> wrote in message

news:Q84bi26IFHA.1924@webserver3.softwarefx.com...

> Hi,

>

> I've experienced the same problem as you, and managed to fix it by

> turning off the "Run WWW service in IIS 5.0 isolation mode" property.

>

> Lars

>

> > Hi --

> > Please see my response on the Wed, 2 Mar 2005 13:12:02 -0500 message

> >

> > "SoftwareFX Support" <noreply@softwarefx.com> wrote in message

> > news:a5KuR0mHFHA.1924@webserver3.softwarefx.com...

> >

> >>Please let us know if you find out. The information might be helpful for

> >>other users.

> >>

> >>--

> >>FP

> >>Software FX

> >>

> >>

> >

> >

> >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...