CS 2.1b2: CS.Web quitin' on me

rated by 0 users
This post has 6 Replies | 1 Follower

Not Ranked
Posts 16
Points 260
Jasper Posted: Wed, Aug 2 2006 6:51 AM

I wanted to import photos into my new CS site (CS 2.1beta2), so I uploaded the files and clicked import button under Advanced Photo Settings, but nothing happened, not even after waiting a day...

t seems the ImportPhotoJob never runs, nor does any other job. The Start-, End- and Succes-colums are empty for all jobs.

There are no exceptions in the log, but I've noticed about 200 entries per day in the Event Log.
All of these are CS.Web Started and CS.Web Stopped events, with a stopped-event within a minute of a started-event (usually 45 secconds).
I can see it is the hosting environment that causes the shutdown. Do I have a IIS configuration issue? And could this starting and stopping be causing the jobs to not run?

The message for the stopped-event is:

CS.Web Stopped CS.Web Stopped

_shutDownMessage=HostingEnvironment caused shutdown

_shutDownStack= at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at System.Web.HttpRuntime.ShutdownAppDomain()
at System.Web.Hosting.HostingEnvironment.ShutdownThisAppDomainOnce()
at System.Web.Hosting.HostingEnvironment.InitiateShutdownWorkItemCallback(Object state)
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

Not Ranked
Posts 16
Points 260
Jasper replied on Thu, Aug 3 2006 6:41 PM

I now have 1245 entries in my Event Logs (within 10 days)!
They are all CS.Web Started and CS.Web Stopped messages.

Is this normal? Any ideas?

 

I'm running CS2.1b2 on Windows Server 2003 with ASP.NET 2.0 

Top 200 Contributor
Posts 123
Points 1,605

I am getting the same error every half an hour but this happens on my database server (x64 kit) but the version is the CS 2 not the CS 2.1.

I guess this is due to the worker process shutting down and restarting. You can configure the recycling yourself in the application pools section of your IIS. That is the time that the process will restart after has been idle for such and such time.

 

It is a good divine that follows his own instructions; I can easier teach twenty what were good to be done than to be one of the twenty to follow mine own teaching. William Shakespeare
Not Ranked
Posts 16
Points 260
Jasper replied on Sun, Aug 6 2006 5:36 PM

I figured it probably is a configuration thing, but I've set the Application Pool not to recycle, on time or number of requests...

Memory recycling I've set to max 100MB and max 200 MB virtual memory and I doubt it reaches those levels within 45 seconds.

The only other things that are configured for the application pool are the Request Queue limit (1000), pinging (30 secs), Enable Rapid-Fail Protection (5 times / 5 minutes) and Startup/Shutdown time limit (90 secs)

I don't really know where to look next...

 

  • | Post Points: 20
Top 200 Contributor
Posts 123
Points 1,605

Sorry but to me there is no wonder that you are seeing such a frequent startup/shutdown of the worker process.

Please remove the recycling of the process as a function of memory and just leave it to default options.. i.e. to recycle every so many minutes (top option in the first tab) in my case is 1740 minutes.

In the second tab, top option (idle time) set it  to 20 minutes.

And then let us know...

It is a good divine that follows his own instructions; I can easier teach twenty what were good to be done than to be one of the twenty to follow mine own teaching. William Shakespeare
  • Filed under:
  • | Post Points: 35
Not Ranked
Posts 16
Points 260
Jasper replied on Sun, Aug 6 2006 6:28 PM

Well that indeed did the trick!
I didn't think the worker process would reach those levels of memory usage, not that fast anyway.

Thanks for the help dimitrisv!

  • | Post Points: 5
Top 500 Contributor
Posts 74
Points 1,000
mukeshwani replied on Wed, Sep 27 2006 11:25 AM

can you please give some details?  What are the names of the tabs?  What are the names of the configuration items.  I know you are talking about IIS configuration but a little detail wouldn't hurt. I have hosted CS and I need to give the instructions to the hosting provider.

 Thanks in advance,

MUkesh
 

  • | Post Points: 5
Page 1 of 1 (7 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com