Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Grouper peformance

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Grouper peformance

Chronological Thread 
  • From: Chris Hyzer <>
  • To: Okke Harsta <>
  • Cc: "" <>
  • Subject: [grouper-users] RE: Grouper peformance
  • Date: Mon, 16 May 2011 17:19:34 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US

We don't use StatelessSession, though I think if we redid our caching we
could look into it. Its weird, I just got this error this weekend in my
development environment. I restarted tomcat and it worked fine after that.
We haven't upgraded Hibernate in a long time, I wonder if it would help...
would you be able to do a load test in a new Grouper version to see if it is
fixed if we did that? I don't know whats involved, but it would probably not
be trivial... not sure if this would be for 2.0... :)


-----Original Message-----
From: Chris Hyzer
Sent: Thursday, May 12, 2011 9:18 AM
To: 'Okke Harsta'

Subject: RE: Grouper peformance

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?


-----Original Message-----
From: Okke Harsta

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


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:
> &apos;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 =
> &apos;T&apos;&apos;, cacheable: false, cacheRegion:
> edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MembershipDAO.FindAllByGroupOwnerAndMemberAndField,
> tx type: null, tx type: nullBind var[0]: &apos;Param (class
> java.lang.String):
> &apos;owner&apos;-&gt;&apos;0ddcb7a7b1db4591b569935b99a6ceed&apos;Bind
> var[1]: &apos;Param (class java.lang.String):
> It is only under very heavy load and the root cause appears to be:
> Did you or any of your colleagues ever encountered this?
> Thanks,
> Okke

Archive powered by MHonArc 2.6.16.

Top of Page