Are you running some kind of load balanced setup? This strange behavior rings a bell but I can't find relevant info on this at the moment. If you're load balancing, make sure to configure it using these docs: http://our.umbraco.org/documentation/Installation/load-balancing
@Niels- Thanks a lot!! Im not on Twitter, so I would appreciate it if you could post here the answers.
It is really annoying, especially not have a clue solving it.
@Sebastiaan- I'm not using any load balance... Just a regular installation with some simple packages that Im using in a lot of my projects and never behave that way :\
@AvihayBit - the ping.aspx should be called every 5 minutes. As the others say, it doesn't seem right that it's doing it every 60 seconds.
Ideally it would be good to figure out why it's pinging so frequently, but as an alternative you could disable the "ping" logs. Inside the config/umbracoSettings.config file, find the <disabledLogTypes> element and add in the alias(es) to disable:
@AvihayBit - Ah, I misread that part ... ok, that's not cool at all. Disabling the logs will help the database log table, but it wont solve the underlying issue.
@Niels/Seb - I checked the v6.1.6 source for where umbraco.presentation.keepAliveService is called and found TimerCallbacks in 2 places:
Its because all logging is handled with log4net, the only thing that goes in the log table are audit based logs that show up in the audit trail. so perhaps that config still works for that stuff, not sure.
@Shannon- I have no access to the log files because the client host the website in a third party servers, so I just know that he complains a lot that It messing up his servers and he wants this UMBRACO websites out of his servers!
So... I guess I'll take this websites back to my servers tonight and let you know more details if it will not behaves :) ...
I'm assuming you have a development and/or staging site? Can you reproduce this behavior with your same codebase running in those environments?
Can your host supply you with the logs? Would also be beneficial to see if you can get the IIS logs to see if each ping.aspx call is coming from your site, since this is a public URL there's a small chance someone could be pinging this on purpose?
We've had similar issues for 1,5 days at a client of us running Umbraco 6.1.6.
The page that was requested over 30/40 times a second was: GetSecondsBeforeLogout. It cluttered up the IIS logs and server performance for the time being. The customer was logged in the back-end of Umbraco.
An applicationpool reset fixed the issue and since than we've not seen this behavoir again.
Couldn't find anything at that moment that was out of the ordinary and was not able to reproduce it later (or on our staging/development environment)
Reset auto recycle has been placed at IIS 7.5 adn Umbraco 6.3.2 version but still I see in the logs consuming more space and creating servers problem high CPU.
What is /umbraco/Ping.aspx doing?
Hi good people!
What does /umbraco/ping.aspx do? It is being called every 5mins - which I could do without.
:)
P
It keeps the website alive, ensuring the publishing service works.
Thanks Niels.
Hi Niels,
I'm facing a wierd problem with this file- The log file got to a 500 mb within 2 days because it calls /umbraco/ping.aspx file +/- 60 every second.
I'm running a 6.1.6 installation. Everything exapt this is OK with this website but it really stucking the server...
@AvihayBit: That sounds really annoying - it's not a pattern I've heard of before. I'll ask on Twitter if anyone else can chime in?
Are you running some kind of load balanced setup? This strange behavior rings a bell but I can't find relevant info on this at the moment. If you're load balancing, make sure to configure it using these docs: http://our.umbraco.org/documentation/Installation/load-balancing
@Niels- Thanks a lot!! Im not on Twitter, so I would appreciate it if you could post here the answers.
It is really annoying, especially not have a clue solving it.
@Sebastiaan- I'm not using any load balance... Just a regular installation with some simple packages that Im using in a lot of my projects and never behave that way :\
@AvihayBit - the
ping.aspx
should be called every 5 minutes. As the others say, it doesn't seem right that it's doing it every 60 seconds.Ideally it would be good to figure out why it's pinging so frequently, but as an alternative you could disable the "ping" logs. Inside the
config/umbracoSettings.config
file, find the<disabledLogTypes>
element and add in the alias(es) to disable:You can add in other alias types too... my usual set-up has the following:
Cheers,
- Lee
@Lee Keller- thanks a lot, I hope It'll solve it.
BTW- I wish i was doing it every 60 seconds :) it was doing it 60 times every 1 second :0
@AvihayBit - Ah, I misread that part ... ok, that's not cool at all. Disabling the logs will help the database log table, but it wont solve the underlying issue.
@Niels/Seb - I checked the v6.1.6 source for where
umbraco.presentation.keepAliveService
is called and foundTimerCallback
s in 2 places:umbraco.presentation.requestModule.InitializeApplication
Umbraco.Web.LegacyScheduledTasks
.Both callbacks are set for 5 minutes (300000ms), so even with both set that doesn't equate to @AvihayBit's issue.
I'm wondering if multiple web-applications could be running? (Still, there'd need to be a lot of instances running to hit it that hard).
Please ensures you don't have both Umbraco modules listed is your Web config...I assume you don't as that would cause truly awful problems :-P
I'm pretty sure the config Lee mentioned about logs is obsoleted and doesn't actually do anything anymore.
Apart from that, are you running IIS, IIS express?
Seems ultra strange! Anything in your logs that seems odd (apart from all these requests)?
@Shannon - re: disabledLogTypes obsoleted - good to know, thanks!
Its because all logging is handled with log4net, the only thing that goes in the log table are audit based logs that show up in the audit trail. so perhaps that config still works for that stuff, not sure.
Thanks everybody for the helpful tips.
@Shannon- I have no access to the log files because the client host the website in a third party servers, so I just know that he complains a lot that It messing up his servers and he wants this UMBRACO websites out of his servers!
So... I guess I'll take this websites back to my servers tonight and let you know more details if it will not behaves :) ...
Thanks again everybody!
I'm assuming you have a development and/or staging site? Can you reproduce this behavior with your same codebase running in those environments?
Can your host supply you with the logs? Would also be beneficial to see if you can get the IIS logs to see if each ping.aspx call is coming from your site, since this is a public URL there's a small chance someone could be pinging this on purpose?
We've had similar issues for 1,5 days at a client of us running Umbraco 6.1.6.
The page that was requested over 30/40 times a second was: GetSecondsBeforeLogout. It cluttered up the IIS logs and server performance for the time being. The customer was logged in the back-end of Umbraco.
An applicationpool reset fixed the issue and since than we've not seen this behavoir again.
Couldn't find anything at that moment that was out of the ordinary and was not able to reproduce it later (or on our staging/development environment)
I'll double check the codebase for this stuff to see if there's anything strange going on like lock handling or similar.
hi All,
I have similar issue and posted in the forum https://our.umbraco.org/forum/umbraco-as-a-service/general-questions/75126-umbraco-pingaspx#comment-240360
Reset auto recycle has been placed at IIS 7.5 adn Umbraco 6.3.2 version but still I see in the logs consuming more space and creating servers problem high CPU.
is working on a reply...