grouper-users - [grouper-users] RE: Grouper peformance
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: Okke Harsta <>
- Cc: "" <>
- Subject: [grouper-users] RE: Grouper peformance
- Date: Thu, 12 May 2011 09:17:52 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
Just wanted to forward this one to the list, there was an
org.hibernate.AssertionFailure: possible non-threadsafe access to the session
in WS (though I don't know why it wouldn't happen anywhere in the API) while
under load. Anyone else encounter such a problem?
Thanks,
Chris
-----Original Message-----
From: Okke Harsta
[mailto:]
Sent: Thursday, May 12, 2011 2:24 AM
To: Chris Hyzer
Cc: Tom Zeller
Subject: Re: Grouper peformance
Unfortunately not, I have checked all the grouper* logiles, but it does not
get logged. But the stacktrace in the mail below is the answer from WS. We
have ran the tests again with the following property value upped:
hibernate.max_fetch_depth = 2
and the error percentage went down (but under heavy load did not disappear
entirely). Do you use a stateless session in the
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MembershipDAO.FindAllByGroupOwnerAndMemberAndField?
Okke
On May 11, 2011, at 7:02 PM, Chris Hyzer wrote:
> Hey, do you have the WS logs for this too that include the stack?
>
> Thanks,
> Chris
>
> -----Original Message-----
> From:
>
>
> [mailto:]
> On Behalf Of Tom Zeller
> Sent: Wednesday, May 11, 2011 12:48 PM
> To: Chris Hyzer
> Cc: Okke Harsta
> Subject: Fwd: Grouper peformance
>
> Haven't seen this, forwarding over to Chris.
>
> ---------- Forwarded message ----------
> From: Okke Harsta
> <>
> Date: Wed, May 11, 2011 at 1:46 AM
> Subject: Grouper peformance
> To:
>
>
>
> Hi Tom,
> Just a quick question. We are doing load tests on our infrastructure
> and we encounter (0.01 % of the time) an error in Grouper:
> Could not execute grouper webservice request: [url:
> https://engine:/grouper-ws/servicesRest/v1_6_000/groups]
> [error: ] [http code: 500] [response:
> <WsGetMembersResults><resultMetadata><resultCode>PROBLEM_GETTING_MEMBERS</resultCode><resultMessage>There
> were 0 successes and 1 failures of getting members for groups.
> </resultMessage><success>F</success></resultMetadata><responseMetadata><resultWarnings></resultWarnings><millis>110</millis><serverVersion>1.6.3</serverVersion></responseMetadata><results><WsGetMembersResult><resultMetadata><resultCode>EXCEPTION</resultCode><resultMessage>,
> group:
> WsGroupLookup[groupName=nl:surfnet:diensten:performance_test_team_493_445,
> groupFindResult=SUCCESS], org.hibernate.AssertionFailure: possible
> non-threadsafe access to the session,
> Problem in HibernateSession: HibernateSession: isNew: true, isReadonly:
> true, grouperTransactionType: READONLY_NEW,
> Exception in list: (class [Ljava.lang.Object;), ByHqlStatic, query:
> 'select ms, m from MembershipEntry as ms, Member as m where
> ms.ownerGroupId = :owner and ms.memberUuid =
> :member and ms.memberUuid = m.uuid and ms.enabledDb =
> 'T'', cacheable: false, cacheRegion:
> edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MembershipDAO.FindAllByGroupOwnerAndMemberAndField,
> tx type: null, tx type: nullBind var[0]: 'Param (class
> java.lang.String):
> 'owner'->'0ddcb7a7b1db4591b569935b99a6ceed'Bind
> var[1]: 'Param (class java.lang.String):
> It is only under very heavy load and the root cause appears to be:
> http://forum.springsource.org/archive/index.php/t-43437.html
> Did you or any of your colleagues ever encountered this?
> Thanks,
> Okke
- [grouper-users] RE: Grouper peformance, Chris Hyzer, 05/12/2011
- <Possible follow-up(s)>
- [grouper-users] RE: Grouper peformance, Chris Hyzer, 05/16/2011
- [grouper-users] Re: Grouper peformance, Okke Harsta, 05/17/2011
Archive powered by MHonArc 2.6.16.