Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Webservice Application Stops Indefinately

Webservice Application Stops Indefinately

Scheduled Pinned Locked Moved ASP.NET
helpdatabaseperformancequestioncareer
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sudhir Yadav
    wrote on last edited by
    #1

    Hi all, I have been facing a problem for a long time and i am not able to get any flick. The scenario: I am running a webservice for entering the data into the my database on a regular interval from a different source. The solution: I am using threading model for the same. The threads (4 in no) keeps their job going seperately and then each one of them sleep inside a infinite loop for a predefined period to enter the data again. Even if there is any error i catch it and then start again, like i said the things in seperate threads are in infinite loop. Consequence: The service works perfectly fine but then the application stops. I have entered a code at the application stop event in Global.asax which i receive at any time. Sometimes the service runs through hours while at other times it stops at any time like 10 mins, 5 mins.... Problem: Now i am not able find any appropriate cause of the problem. Why the application is behaving this was why is it stoping when i want that to run for the lifetime? Any help ....!!!

    Do not forget to tune the Performance :-) Sudhir Yadav

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups