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)
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
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.
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...
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...
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!
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
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com