Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Cassini Pinging applications?
kenmpi
#1 Posted : Friday, August 6, 2010 12:38:17 PM(UTC)
Groups: Member
Joined: 8/6/2010(UTC)
Posts: 1
Location: Orem, UT

We are experiencing an interesting issue, where our application is being pinged every 5 minutes exactly. It was coming from localhost on the remote server and the request looked like this:

http://127.0.0.1:applicationport/Default.aspx

Could this be the Cassini process for some reason?? Anyone see this kind of behaviour?

Ultidev Team
#2 Posted : Sunday, August 8, 2010 3:03:12 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

Cassini server does ping the application if application is configured to be kept loaded to prevent long first page load. You can unheck the checkbox in applications configuration to change the behavior.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
adrianarsene
#3 Posted : Friday, April 29, 2011 3:00:15 AM(UTC)
Groups: Member
Joined: 4/28/2011(UTC)
Posts: 2
Location: Venlo

Can the ping frequency be changed? Or is it hardcoded within Cassini?
In my case, I'd like to make sure every 30s that the application is still online. Can I configure Cassini to do this?

Thanks,
Adrian.
Ultidev Team
#4 Posted : Friday, April 29, 2011 5:07:51 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, Adrian.

The ping frequency is configurable and can be changed, but it's expressed in minutes, so you can change it from default 5 to 1 minute. To do that you will need to go to "C:\Program Files (x86)\UltiDev\Cassini Web Server for ASP.NET 2.0" folder, change the value of the PingKeepRunningEverySoMinutes setting in the UltiDevCassinWebServer2a.exe.config file and restart UltiDev Cassini windows service.


Having said all that, applications don't get unloaded by ASP.NET that quickly and all Cassini does is sends an http request to the application. It doesn't even wait for response, so pinging is not a health check - it' merely a way to keep application loaded in memory to improve first page serve time.

Please let us know if this information was helpful.

All the best,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#5 Posted : Friday, May 27, 2011 10:34:10 PM(UTC)
Groups:

Message was deleted by a User.
Rss Feed  Atom Feed
Users browsing this topic
Guest (2)
Forum Jump  
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 can vote in polls in this forum.