Errors in umbracolog Options
fasil
Posted: Tuesday, September 25, 2007 4:13:05 PM
Rank: Newbie

Joined: 9/25/2007
Posts: 9
How is it possible to getting umraco to not view at certain folders.
Our setup is as following: We have made some httpHandlers in our .net webapp, and what Umbraco does is to make a folder of Handlers at the website including all *.ashx files.

Now umbraco tries to look for them and log an error.

12589
0
-1
25-09-2007
13:44:40
Error
At /handlers/search.ashx?extent=6196263.529999999&cid=9ADFA4E9-C165-43CE-9F0A-92317D403CA8 (Refered by: http://www.test.krakboligkort.dk/base1/map.aspx):

Our code works welll but we want Umbraco to exclude looking at the Handlers folder.

I have tried adding:
<add key="umbracoReservedPaths" value="/umbraco/,/install/,/handlers/" />

in the web.config file.....but that doesnt do the trick.....our umbragolog is getting filled up with all these errors....how can I avoid this?

/Fasil

SoerenS
Posted: Tuesday, September 25, 2007 5:41:31 PM

Rank: Fanatic

Joined: 7/25/2006
Posts: 433
Location: Silkeborg, Denmark
I've also had problems using umbracoReservedPath's in the past.

Try using umbracoReservedUrls instead, I think it works on directories too.

Example that I know is working from one of my own web.config's:
Code:
<add key="umbracoReservedUrls" value=",/config/splashes/booting.aspx,/pot," />


/SoerenS

Brug for råd til hvordan du driver en god webshop? / Need advice on how to run an effective webshop?
fasil
Posted: Tuesday, September 25, 2007 7:09:04 PM
Rank: Newbie

Joined: 9/25/2007
Posts: 9
Well I have also tried this but without any luck. I am curious on why it is not working.
SoerenS
Posted: Tuesday, September 25, 2007 7:24:13 PM

Rank: Fanatic

Joined: 7/25/2006
Posts: 433
Location: Silkeborg, Denmark
fasil
Posted: Tuesday, September 25, 2007 9:08:04 PM
Rank: Newbie

Joined: 9/25/2007
Posts: 9
Version 3.0.1 something...
fasil
Posted: Wednesday, September 26, 2007 10:23:38 AM
Rank: Newbie

Joined: 9/25/2007
Posts: 9
umbraco v 3.0.1 (Assembly version: 1.0.2732.39195) to be exact. :)

But the problem is there :(
fasil
Posted: Monday, October 01, 2007 9:16:50 AM
Rank: Newbie

Joined: 9/25/2007
Posts: 9
Is it normal that Umbraco starts and shuts itself down?
Looking in the log files from our developing environment, we can see that it has shut down a couple of times during the day....

12505 0 -1 01-10-2007 08:15:02 System Application started at 01-10-2007 08:15:01
12504 0 -1 30-09-2007 00:39:17 System Application shutted down at 30-09-2007 00:39:16
12503 0 -1 29-09-2007 17:58:42 System Application shutted down at 29-09-2007 17:58:41
12502 0 -1 28-09-2007 19:48:44 System Loading content from disk cache...

Now if this is normal behaviour...it will be very hard to locate the source of our problem on our test environment, because it seems like it shuts down randomly....but the shutdown crashes our application, and I have to make a restart of the application, by refreshing the web.config of the application.
SoerenS
Posted: Monday, October 01, 2007 9:53:52 AM

Rank: Fanatic

Joined: 7/25/2006
Posts: 433
Location: Silkeborg, Denmark
This is actually not Umbraco shutting itself down, but rather IIS shutting the whole site down. And it's normal behaviour.

When IIS sees that a site doesnt recieve any traffic for 20 minutes, it unloads the whole site / application from memory thus shutting it down. This is done to save ressources for other sites / applications that might need them.

Which can be a problem if you fx. have a scheduled task running every hour inside Umbraco.

I can't remember exactly where you set the "unload time" for an application, it might be on the Application Pool. But atleast now you know why this is happening, and a little googling should help you solve it :-)

/SoerenS

Brug for råd til hvordan du driver en god webshop? / Need advice on how to run an effective webshop?
jason
Posted: Monday, October 01, 2007 2:31:15 PM
Rank: Aficionado

Joined: 7/19/2006
Posts: 182
Location: Pittsburgh, Pennsylvania, USA
The default time out for iis to shutdown is 20 minutes. You can change that setting by right-clicking on the application pool in IIS manager and going to the Performance tab.

Jason
punkyduck
Posted: Monday, March 03, 2008 12:45:52 PM
Rank: Newbie

Joined: 1/26/2008
Posts: 8
All

Did anyone get any further with this issue, we have a similar issue when Umbraco is running in its own isloated Application Pool and still we get the same events in the log. It has nothing to do with app pool recycing as 20 mins or any other settings is not microseconds as what is happening in the log.

Below is a example of UmbracoLog

Application started at 03/03/2008 11:39:25
Application started at 03/03/2008 11:38:33
Application started at 03/03/2008 11:35:39
Application started at 03/03/2008 11:26:33
Application started at 03/03/2008 11:26:33
Application started at 03/03/2008 11:26:33
Application started at 03/03/2008 11:26:33
Application started at 03/03/2008 11:26:33
Application started at 03/03/2008 11:26:33
Application started at 03/03/2008 11:26:33
Application started at 03/03/2008 11:26:33
Application started at 03/03/2008 11:26:33
Application started at 03/03/2008 11:26:33
Application started at 03/03/2008 11:26:33
Application started at 03/03/2008 11:24:42
Application started at 03/03/2008 11:24:42
Application started at 03/03/2008 11:24:42
Application started at 03/03/2008 11:23:43
Application started at 03/03/2008 11:23:43
Application started at 03/03/2008 11:19:30
Application started at 03/03/2008 11:16:38
Application started at 03/03/2008 11:14:56
Application started at 03/03/2008 11:08:43

Did anyone find a fix ?

Thanks

Shane
drobar
Posted: Monday, March 03, 2008 2:53:26 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
Hi, Shane,

Here's what I found out when looking into this very issue on some of my own sites a couple months ago. In short, "Application Started" really means that umbraco pinged itself with the keepalive script, not that IIS or the app pool has restarted. The more people you have logged in to umbraco the more you'll see the "application started" messages.

However... if you see "Application Shutted Down" and *then* an "Application Started" message, that really is IIS or the app pool stopping and starting.

But isolated "application started" messages are really mis-labelled and should say something like "Application Kept Alive". If you saw that kind of message in the log, you'd just ignore it. So you can do with the isolated "Application Started" messages. Unless you also have a "Shutted Down" message, nothing actually restarted and there is no performance problem on your site.

I hope this helps.

cheers,
doug.

MVP 2007-2009 - Percipient Studios
punkyduck
Posted: Monday, March 03, 2008 3:24:25 PM
Rank: Newbie

Joined: 1/26/2008
Posts: 8
Thanks for the update

Will keep a eye out to make sure this does not occur any issues, will hope the current messages are 'more informational'

Thanks

Shane
kalpa
Posted: Monday, March 03, 2008 4:00:20 PM

Rank: Fanatic

Joined: 7/19/2006
Posts: 496
Location: Göteborg, Sweden
Shane and Doug!

I've had some serious issues related to this...

It seems that I tend to get an .Net DeadLock everytime this "Application Started" is logged multiple times.

The thing seem to be that:

1 Umbraco calls the ApplicationStart() method in the RequestModule.cs up to 30 times in a second.
2. These request activates a request for /umbraco/ping.aspx
3. The server gets confused and throws a deadlock, forcing the site to stop responding for a while...

It seems to me that every call to /umbraco/ping.aspx activates the method over and over again, and eventually the request pool is flooded with requests that it just can't handle and throws a deadlock since these "local" calls always gets first in line in the pool...

Anyone else that has experienced this?

This is an installation built source changeset 30815 btw...

// Kalle

" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
drobar
Posted: Monday, March 03, 2008 4:52:39 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
I've not see the deadlock. Performance concerns were what drove me to look into the "application started" messages in the first place. But only a shutted down->application started sequence actually created any performance issue (as the app pool or IIS was restared). Otherwise, it didn't cause a problem. I investigated this with v3.0.2.

I open 3-4 tabs in my browser, all for a single umbraco site (content, media, settings, dev... one per tab) so I can switch between sections quickly and not loose my context in the other tabs. That seemed to cause multiple calls to the ping/keepalive service... one for each tab. But with other people also logged into the system it was impossible for me to be 100% certain. All I know for sure is that the log message is poorly named and I didn't have any real performance problem at all.

Maybe things have changed in newer versions of the code?

cheers,
doug.

MVP 2007-2009 - Percipient Studios
kalpa
Posted: Monday, March 03, 2008 5:04:15 PM

Rank: Fanatic

Joined: 7/19/2006
Posts: 496
Location: Göteborg, Sweden
Hi Doug!

Then mine is definitely of another nature cause this happens all around the clock, even in the middle of the night when no one is working in the backend...

I don't think that "my" calls to ping.aspx (different from keepalive.aspx called by the backend as an session extender) has anything to do with active umb_users at all...

I think this one arise with this source modification, but can't prove it ;)
http://www.codeplex.com/umbraco/WorkItem/View.aspx?WorkItemId=14787

// Kalle

" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
SoerenS
Posted: Wednesday, March 12, 2008 10:25:56 PM

Rank: Fanatic

Joined: 7/25/2006
Posts: 433
Location: Silkeborg, Denmark
I'm getting a ton of these isolated "Application Started" messages, even at times when none is logged into the backend.

Here's an example of what I mean by "a ton":
Application started at 12-03-2008 19:43:30
Application started at 12-03-2008 19:43:30
Application started at 12-03-2008 19:43:30
Application started at 12-03-2008 19:43:30
Application started at 12-03-2008 19:43:30
Application started at 12-03-2008 19:43:30
Application started at 12-03-2008 19:43:30
Application started at 12-03-2008 19:43:30
Application started at 12-03-2008 19:43:30
Application started at 12-03-2008 19:43:30
Application started at 12-03-2008 19:43:30
Application started at 12-03-2008 19:43:30
Application started at 12-03-2008 19:43:30
Application started at 12-03-2008 19:43:30
Application started at 12-03-2008 19:43:30
Application started at 12-03-2008 19:39:32
Application started at 12-03-2008 19:38:53
Application started at 12-03-2008 19:38:53
Application started at 12-03-2008 19:38:53
Application started at 12-03-2008 19:38:53
Application started at 12-03-2008 19:34:32
Application started at 12-03-2008 19:34:32
Application started at 12-03-2008 19:33:52
Application started at 12-03-2008 19:33:52
Application started at 12-03-2008 19:30:54
Application started at 12-03-2008 19:30:54

There's no other associated entries in the umbracoLog, nor in the Event Log.

Anyone got any ideas what else I should look for?

/SoerenS

Brug for råd til hvordan du driver en god webshop? / Need advice on how to run an effective webshop?
hartvig
Posted: Wednesday, March 12, 2008 11:10:30 PM

Rank: Addict

Joined: 3/17/2008
Posts: 982
Location: Nyborg, Denmark
It's a bug in umbraco:
http://forum.umbraco.org/misc/application-started-log-entries---why-so-many#post-21426

/n

Jeeeez, did I really start this :-)
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.