I have a web api method that takes few hours to run. Basicly it
finds a specific (IContent)node and stores it in a variable.
reads some properties from that node.
calls some other process that can take 2 to 24 hours to run
gets data that came back from that process and updates properties on that same (IContent)node variable
Step 3 is heavy on memory and cpu usage, So i can tell when its at step 3 based on cpu and memory usage but then cpu and memory usage goes back to normal but that node never gets updated
2014-01-31 14:44:45,271 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.IApplicationStartupHandler
2014-01-31 14:44:45,412 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 21 (took 142ms)
2014-01-31 14:44:45,412 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter
2014-01-31 14:44:45,412 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter, found 0 (took 4ms)
2014-01-31 14:44:45,412 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Web.Mvc.SurfaceController
2014-01-31 14:44:45,427 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Web.Mvc.SurfaceController, found 1 (took 7ms)
2014-01-31 14:44:45,427 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Web.WebApi.UmbracoApiController
2014-01-31 14:44:45,427 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Web.WebApi.UmbracoApiController, found 4 (took 8ms)
2014-01-31 14:44:45,443 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Core.Media.IThumbnailProvider
2014-01-31 14:44:45,443 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Core.Media.IThumbnailProvider, found 3 (took 5ms)
2014-01-31 14:44:45,443 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Core.Media.IImageUrlProvider
2014-01-31 14:44:45,443 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Core.Media.IImageUrlProvider, found 1 (took 5ms)
2014-01-31 14:44:45,505 [7] INFO Umbraco.Web.Search.ExamineEvents - [Thread 1] Initializing Examine and binding to business logic events
2014-01-31 14:44:45,739 [7] INFO Umbraco.Web.Search.ExamineEvents - [Thread 1] Adding examine event handlers for index providers: 3
2014-01-31 14:44:45,739 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.IApplication
2014-01-31 14:44:45,739 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IApplication, found 7 (took 10ms)
2014-01-31 14:44:45,817 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.ITree
2014-01-31 14:44:45,864 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.ITree, found 27 (took 38ms)
2014-01-31 14:44:46,426 [7] INFO NHibernate.Cfg.Environment - NHibernate 3.1.0.4000 (3.1.0.4000)
2014-01-31 14:44:46,441 [7] INFO NHibernate.Cfg.Environment - hibernate-configuration section not found in application configuration file
2014-01-31 14:44:46,441 [7] INFO NHibernate.Cfg.Environment - Bytecode provider name : lcg
2014-01-31 14:44:46,441 [7] INFO NHibernate.Cfg.Environment - Using reflection optimizer
2014-01-31 14:44:46,660 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
you didn't answer my question, so it's difficult to understand what's happening. Basically a web server isn't supposed to run long operations and the request context will die after a few minutes of waiting.
You probably need to change the way your application works, e.g. you can call a service which will process the file and save the results somewhere, then check if it's done and read the results.
Yea I agree, i would expect that you call some sort of service to start an operation somewhere and then you either save the results that you pick up or you keep trying every hour or so to see if the operation has finished. If you get a good responce then do your other stuff? Charlie :)
webapi call that takes a long time gets lost
Hello,
I have a web api method that takes few hours to run. Basicly it
How do you call that long process and get the data back?
Zakhar.
esentially i just have a function that processes a huge flat file
this is the last thing in the log file before it dies
2014-01-31 14:44:45,256 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Determining hash of code files on disk
2014-01-31 14:44:45,271 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Hash determined (took 5ms)
2014-01-31 14:44:45,271 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.IApplicationStartupHandler
2014-01-31 14:44:45,412 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 21 (took 142ms)
2014-01-31 14:44:45,412 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter
2014-01-31 14:44:45,412 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter, found 0 (took 4ms)
2014-01-31 14:44:45,412 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Web.Mvc.SurfaceController
2014-01-31 14:44:45,427 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Web.Mvc.SurfaceController, found 1 (took 7ms)
2014-01-31 14:44:45,427 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Web.WebApi.UmbracoApiController
2014-01-31 14:44:45,427 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Web.WebApi.UmbracoApiController, found 4 (took 8ms)
2014-01-31 14:44:45,443 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Core.Media.IThumbnailProvider
2014-01-31 14:44:45,443 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Core.Media.IThumbnailProvider, found 3 (took 5ms)
2014-01-31 14:44:45,443 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Core.Media.IImageUrlProvider
2014-01-31 14:44:45,443 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Core.Media.IImageUrlProvider, found 1 (took 5ms)
2014-01-31 14:44:45,505 [7] INFO Umbraco.Web.Search.ExamineEvents - [Thread 1] Initializing Examine and binding to business logic events
2014-01-31 14:44:45,739 [7] INFO Umbraco.Web.Search.ExamineEvents - [Thread 1] Adding examine event handlers for index providers: 3
2014-01-31 14:44:45,739 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.IApplication
2014-01-31 14:44:45,739 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IApplication, found 7 (took 10ms)
2014-01-31 14:44:45,817 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.ITree
2014-01-31 14:44:45,864 [7] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.ITree, found 27 (took 38ms)
2014-01-31 14:44:46,426 [7] INFO NHibernate.Cfg.Environment - NHibernate 3.1.0.4000 (3.1.0.4000)
2014-01-31 14:44:46,441 [7] INFO NHibernate.Cfg.Environment - hibernate-configuration section not found in application configuration file
2014-01-31 14:44:46,441 [7] INFO NHibernate.Cfg.Environment - Bytecode provider name : lcg
2014-01-31 14:44:46,441 [7] INFO NHibernate.Cfg.Environment - Using reflection optimizer
2014-01-31 14:44:46,660 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,675 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsContentType2ContentType -> cmsContentType2ContentType
2014-01-31 14:44:46,707 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,707 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsPropertyTypeGroup -> cmsPropertyTypeGroup
2014-01-31 14:44:46,722 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,722 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoLog -> umbracolog
2014-01-31 14:44:46,722 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,722 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.Hacks.CmsTagRelationshipHack -> cmsTagRelationship
2014-01-31 14:44:46,722 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,722 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsContent -> cmsContent
2014-01-31 14:44:46,722 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,722 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsContentTypeAllowedContentType -> cmsContentTypeAllowedContentType
2014-01-31 14:44:46,722 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,722 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsContentType -> cmsContentType
2014-01-31 14:44:46,722 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,738 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsContentVersion -> cmsContentVersion
2014-01-31 14:44:46,738 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,738 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsContentXml -> cmsContentXml
2014-01-31 14:44:46,738 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,738 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsDataType -> cmsDataType
2014-01-31 14:44:46,738 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,738 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsDataTypePreValue -> cmsDataTypePreValues
2014-01-31 14:44:46,738 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,738 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsDictionary -> cmsDictionary
2014-01-31 14:44:46,738 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,738 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsDocument -> cmsDocument
2014-01-31 14:44:46,753 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,753 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsDocumentType -> cmsDocumentType
2014-01-31 14:44:46,753 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,753 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsLanguageText -> cmsLanguageText
2014-01-31 14:44:46,753 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,753 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsMacro -> cmsMacro
2014-01-31 14:44:46,753 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,753 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsMacroProperty -> cmsMacroProperty
2014-01-31 14:44:46,753 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,753 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsMacroPropertyType -> cmsMacroPropertyType
2014-01-31 14:44:46,753 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,753 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsMember2MemberGroup -> cmsMember2MemberGroup
2014-01-31 14:44:46,753 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,753 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsMember -> cmsMember
2014-01-31 14:44:46,753 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,753 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsMemberType -> cmsMemberType
2014-01-31 14:44:46,753 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,753 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsPreviewXml -> cmsPreviewXml
2014-01-31 14:44:46,769 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,769 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsPropertyData -> cmsPropertyData
2014-01-31 14:44:46,769 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,769 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsPropertyType -> cmsPropertyType
2014-01-31 14:44:46,769 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,769 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsStylesheet -> cmsStylesheet
2014-01-31 14:44:46,769 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,769 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsStylesheetProperty -> cmsStylesheetProperty
2014-01-31 14:44:46,769 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,769 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsTag -> cmsTags
2014-01-31 14:44:46,769 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,769 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsTagRelationship -> cmsTagRelationship
2014-01-31 14:44:46,769 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,769 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsTask -> cmsTask
2014-01-31 14:44:46,769 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,769 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsTaskType -> cmsTaskType
2014-01-31 14:44:46,769 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,769 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsTemplate -> cmsTemplate
2014-01-31 14:44:46,785 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,785 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoApp -> umbracoApp
2014-01-31 14:44:46,785 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,785 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoAppTree -> umbracoAppTree
2014-01-31 14:44:46,785 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,785 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoDomain -> umbracoDomains
2014-01-31 14:44:46,785 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,785 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoLanguage -> umbracoLanguage
2014-01-31 14:44:46,785 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,785 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoNode -> umbracoNode
2014-01-31 14:44:46,785 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,785 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoRelation -> umbracoRelation
2014-01-31 14:44:46,785 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,785 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoRelationType -> umbracoRelationType
2014-01-31 14:44:46,785 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoUser2app -> umbracoUser2app
2014-01-31 14:44:46,800 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoUser2NodeNotify -> umbracoUser2NodeNotify
2014-01-31 14:44:46,800 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoUser2NodePermission -> umbracoUser2NodePermission
2014-01-31 14:44:46,800 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoUser -> umbracoUser
2014-01-31 14:44:46,800 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - Mapping class: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoUserType -> umbracoUserType
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.Configuration - checking mappings queue
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - mapping collection: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsPropertyTypeGroup.CmsPropertyTypes -> cmsPropertyType
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - mapping collection: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsMacro.CmsMacroProperties -> cmsMacroProperty
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - mapping collection: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsMacroPropertyType.CmsMacroProperties -> cmsMacroProperty
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - mapping collection: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsMember.CmsMember2MemberGroups -> cmsMember2MemberGroup
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - mapping collection: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsTag.CmsTagRelationships -> cmsTagRelationship
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - mapping collection: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsTaskType.CmsTasks -> cmsTask
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - mapping collection: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoApp.UmbracoAppTrees -> umbracoAppTree
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - mapping collection: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoApp.UmbracoUser2apps -> umbracoUser2app
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - mapping collection: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoNode.ChildUmbracoNodes -> umbracoNode
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - mapping collection: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoNode.CmsDataTypes -> cmsDataType
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - mapping collection: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoNode.CmsDocumentTypes -> cmsDocumentType
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - mapping collection: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoNode.CmsStylesheetPropertys -> cmsStylesheetProperty
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - mapping collection: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoNode.CmsStylesheets -> cmsStylesheet
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - mapping collection: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoNode.CmsTemplates -> cmsTemplate
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - mapping collection: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoRelationType.UmbracoRelations -> umbracoRelation
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.XmlHbmBinding.Binder - mapping collection: Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoUserType.UmbracoUsers -> umbracoUser
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.Configuration - processing foreign key constraints
2014-01-31 14:44:46,800 [7] INFO NHibernate.Cfg.Configuration - processing filters (second pass)
2014-01-31 14:44:46,831 [7] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.MsSql2005Dialect
2014-01-31 14:44:46,831 [7] INFO NHibernate.Exceptions.SQLExceptionConverterFactory - Using dialect defined converter
2014-01-31 14:44:46,831 [7] INFO NHibernate.Cfg.SettingsFactory - Generate SQL with comments: disabled
2014-01-31 14:44:46,831 [7] INFO NHibernate.Connection.ConnectionProviderFactory - Initializing connection provider: NHibernate.Connection.DriverConnectionProvider
2014-01-31 14:44:46,831 [7] INFO NHibernate.Connection.ConnectionProvider - Configuring ConnectionProvider
2014-01-31 14:44:46,831 [7] INFO NHibernate.Cfg.SettingsFactory - Transaction factory: NHibernate.Transaction.AdoNetWithDistributedTransactionFactory
2014-01-31 14:44:46,831 [7] INFO NHibernate.Cfg.SettingsFactory - Optimize cache for minimal puts: False
2014-01-31 14:44:46,831 [7] INFO NHibernate.Cfg.SettingsFactory - Connection release mode: auto
2014-01-31 14:44:46,831 [7] INFO NHibernate.Cfg.SettingsFactory - Default batch fetch size: 1
2014-01-31 14:44:46,831 [7] INFO NHibernate.Cfg.SettingsFactory - Statistics: disabled
2014-01-31 14:44:46,831 [7] INFO NHibernate.Cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
2014-01-31 14:44:46,831 [7] INFO NHibernate.Cfg.SettingsFactory - Query translator: NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory
2014-01-31 14:44:46,847 [7] INFO NHibernate.Cfg.SettingsFactory - Query language substitutions: {}
2014-01-31 14:44:46,847 [7] INFO NHibernate.Cfg.SettingsFactory - cache provider: NHibernate.Cache.NoCacheProvider, NHibernate, Version=3.1.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4
2014-01-31 14:44:46,847 [7] INFO NHibernate.Cfg.SettingsFactory - Batcher factory: NHibernate.AdoNet.NonBatchingBatcherFactory, NHibernate, Version=3.1.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4
2014-01-31 14:44:46,847 [7] INFO NHibernate.Cfg.SettingsFactory - Using Isolation Level: ReadCommitted
2014-01-31 14:44:46,847 [7] INFO NHibernate.Cfg.SettingsFactory - Default entity-mode: Poco
2014-01-31 14:44:46,847 [7] INFO NHibernate.Cfg.SettingsFactory - Named query checking : enabled
2014-01-31 14:44:46,847 [7] INFO NHibernate.Impl.SessionFactoryImpl - building session factory
2014-01-31 14:44:46,972 [7] INFO NHibernate.Impl.SessionFactoryObjectFactory - no name configured
Hey Vadim,
you didn't answer my question, so it's difficult to understand what's happening. Basically a web server isn't supposed to run long operations and the request context will die after a few minutes of waiting.
You probably need to change the way your application works, e.g. you can call a service which will process the file and save the results somewhere, then check if it's done and read the results.
Zakhar.
Yea I agree, i would expect that you call some sort of service to start an operation somewhere and then you either save the results that you pick up or you keep trying every hour or so to see if the operation has finished. If you get a good responce then do your other stuff? Charlie :)
is working on a reply...