[Mono-aspnet-list] issues with intermittent apache hangups

Dan parnham at gmail.com
Fri Mar 25 10:52:01 EDT 2011


We're seeing this too, very intermittent and with no obvious source of the
problem but with the exact same stack trace reported here. This is a major
issue because we can't push our new system into production with this
occurring.

It has occurred with both mono/mod_mono 2.8.1 and 2.10.1 running with
apache2 on an ubuntu system. I'm not sure if it is relevant to this problem,
but we are also using fluent nHibernate in our web application.

Regards,
Dan



Sergey Lobko-Lobanovsky wrote:
> 
> 
> I have an application in production that uses apache2 + mod_mono + nginx
> setup. Approx. once per day apache hangs up and starts responding with the
> 500 response to all requests. I don't have the stack trace but it has to
> do
> with caching session data.
> 
> Restarting apache solves the problem. Did anyone experience anything like
> this?
> 
> And here's the stack trace:
> 
> System.IndexOutOfRangeException: Array index is out of range.
>   at (wrapper stelemref) object:stelemref (object,intptr,object)
>   at System.Web.Caching.CacheItemPriorityQueue.Enqueue
> (System.Web.Caching.CacheItem item) [0x00000] in <filename
> unknown>:0
>   at System.Web.Caching.Cache.EnqueueTimedItem
> (System.Web.Caching.CacheItem item) [0x00000] in <filename
> unknown>:0
>   at System.Web.Caching.Cache.SetItemTimeout
> (System.Web.Caching.CacheItem ci, DateTime absoluteExpiration,
> TimeSpan slidingExpiration,
> System.Web.Caching.CacheItemRemovedCallback onRemoveCallback,
> System.Web.Caching.CacheItemUpdateCallback onUpdateCallback,
> System.String key, Boolean doLock) [0x00000] in <filename unknown>:0
>   at System.Web.Caching.Cache.Insert (System.String key, System.Object
> value, System.Web.Caching.CacheDependency dependencies, DateTime
> absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority
> priority, System.Web.Caching.CacheItemRemovedCallback
> onRemoveCallback, System.Web.Caching.CacheItemUpdateCallback
> onUpdateCallback, Boolean doLock) [0x00000] in <filename unknown>:0
>   at System.Web.Caching.Cache.Insert (System.String key, System.Object
> value, System.Web.Caching.CacheDependency dependencies, DateTime
> absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority
> priority, System.Web.Caching.CacheItemRemovedCallback
> onRemoveCallback) [0x00000] in <filename unknown>:0
>   at System.Web.SessionState.SessionInProcHandler.InsertSessionItem
> (System.Web.SessionState.InProcSessionItem item, Int32 timeout,
> System.String id) [0x00000] in <filename unknown>:0
>   at
> System.Web.SessionState.SessionInProcHandler.SetAndReleaseItemExclusive
> (System.Web.HttpContext context, System.String id,
> System.Web.SessionState.SessionStateStoreData item, System.Object
> lockId, Boolean newItem) [0x00000] in <filename unknown>:0
> 

--
View this message in context: http://mono.1490590.n4.nabble.com/issues-with-intermittent-apache-hangups-tp3264509p3405577.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list