Hm,
Correction, this should already be fixed.
What build of NH Prof are you using?

On Thu, Oct 22, 2009 at 2:42 PM, Ayende Rahien <[email protected]> wrote:

> Jan,
> I looked at your file.
> This is a real cross thread usage, the likely reason is that your http
> request is jumping threads.
> This is expected, actually. I'll fix NH Prof so it will properly detect
> this scenario.
>
>
> On Tue, Oct 20, 2009 at 7:59 PM, Jan Limpens <[email protected]>wrote:
>
>>
>> artur,
>>
>> seems we are alone in this...
>> how does your setup look like?
>>
>> --jan
>>
>> 2009/10/19 Artur Dorochowicz <[email protected]>:
>> >
>> > Hi,
>> >
>> > I would be the 'other users experiencing the same'.
>> > If I can be of any help in investigating this, please, just let know.
>> >
>> > Artur
>> >
>> >
>> > On 19 Paź, 19:06, Ayende Rahien <[email protected]> wrote:
>> >> Yes, haven't had the chance to look at it yet, though
>> >>
>> >> On Mon, Oct 19, 2009 at 7:03 PM, Jan Limpens <[email protected]>
>> wrote:
>> >>
>> >> > got the file?
>> >> > I sent it to [email protected]
>> >>
>> >> > 2009/10/19 Ayende Rahien <[email protected]>:
>> >> > > Yes.
>> >>
>> >> > > On Mon, Oct 19, 2009 at 4:44 PM, Jan Limpens <
>> [email protected]>
>> >> > wrote:
>> >>
>> >> > >> that would be file/save to file?
>> >>
>> >> > >> 2009/10/19 Ayende Rahien <[email protected]>:
>> >> > >> > Please send me the offline snapshop from NH Prof, I'll be able
>> to tell
>> >> > >> > more
>> >> > >> > from it than just what is shown in the UI in NH Prof.
>> >>
>> >> > >> > On Mon, Oct 19, 2009 at 3:46 PM, Jan Limpens <
>> [email protected]>
>> >> > >> > wrote:
>> >>
>> >> > >> >> Hi,
>> >>
>> >> > >> >> NhProf keeps telling me that on _some_ requests of my web app
>> my
>> >> > >> >> session/transactions seem to use multiple threads, which is not
>> an
>> >> > >> >> overly good thing.
>> >> > >> >> And my production sql server (2005) sometimes enters into a
>> race
>> >> > >> >> condition, where too many
>> >> > >> >> requests kill it (problems with closing transactions that are
>> >> > >> >> already disposed of, sounding just like what you would expect
>> from
>> >> > >> >> a threading issue with ISession).
>> >>
>> >> > >> >> Now, nowhere in my code I am even coming close to managing my
>> >> > threads.
>> >> > >> >> From my point of view 1 thread should be all I need. I am using
>> >> > >> >> Monorails with castle windsor integration. My daos are created
>> per
>> >> > web
>> >> > >> >> request, sessions come from castle's
>> NHibernateIntegrationFacility
>> >> > and
>> >> > >> >> use Automatic Transaction Facility, so these might need my love
>> in
>> >> > some
>> >> > >> >> way, but I cannot tell from the outside.
>> >>
>> >> > >> >> Are there some good debug paths to find out what is wrong
>> before I
>> >> > get
>> >> > >> >> the next server crash?
>> >>
>> >> > >> >> I already posted this at nhusers, but did not get any real
>> answers
>> >> > >> >> there, just messages from other users experiencing the same. So
>> I try
>> >> > >> >> it here :). There is also the possibility of a false positive
>> in
>> >> > >> >> NHProf, but I hope not so - I'd love to be able to actually see
>> my
>> >> > sql
>> >> > >> >> server transactions bug :)
>> >>
>> >> > >> >> Thanks,
>> >> > >> >> --
>> >> > >> >> Jan
>> >>
>> >> > >> --
>> >> > >> Jan
>> >>
>> >> > --
>> >> > Jan
>> >>
>> >>
>> >
>> > >
>> >
>>
>>
>>
>> --
>> Jan
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to