IDPV2 / IDPV3 Memory suggestions?

Jim Fox fox at washington.edu
Mon Jul 25 19:09:15 EDT 2016


FWIW.  I was investigating heap usage in idpv3 and, with this configuration:

64-bit machine,
2 processors,
G1 garbage collector,
-Xms1G -Xmx1G,

I could maintain a load of about 4-5 logins/sec and still process reloads of InCommon metadata.


Memory is easy enough to come by, so in production I'll probably run with -Xms3g -Xmx3g,
but I like the G1 collector.  It is a lot more flexible with eden and old spaces.

Jim



On Thu, 21 Jul 2016, Eric Wedaa wrote:

> Date: Thu, 21 Jul 2016 11:50:56
> From: Eric Wedaa <Eric.Wedaa at marist.edu>
> To: Shib Users <users at shibboleth.net>
> Reply-To: Shib Users <users at shibboleth.net>
> Subject: Re: IDPV2 / IDPV3 Memory suggestions?
> 
> OK, I was looking for Shibboleth IDP memory requirements which explains why I didn't find those two pages.  So if I set it to 3 Gigs, how much RAM
> should I allocate so I don't keep getting these silly alerts?  (I'm still learning how to tweak tomcat so forgive the silly question.)
> 
> >>Ericw
> 
> -----"users" <users-bounces at shibboleth.net> wrote: -----To: Shib Users <users at shibboleth.net>
> From: "Domingues, Michael D"
> Sent by: "users"
> Date: 07/21/2016 02:44PM
> Subject: Re: IDPV2 / IDPV3 Memory suggestions?
> 
> From the Wiki, for IdPv2: https://wiki.shibboleth.net/confluence/display/SHIB2/IdPApacheTomcatPrepare
> 
> From the Wiki, for IdPv3: https://wiki.shibboleth.net/confluence/display/IDP30/ApacheTomcat8
> 
> 
> Current recommendation seems to be at least 1.5 GB. I'm running with 2GB in production (ingesting the InCommon Metadata Aggregate) and this has
> been fine so far. That being said, as long as metadata bundles continue to increase in size, more is better. I think I recall Scott saying most
> people (if they are able) should just fling 3 GB at it and call it a day.
> 
> 
> Michael
> 
> __________________________________________________________________________________________________________________________________________________
> From: users <users-bounces at shibboleth.net> on behalf of Eric Wedaa <Eric.Wedaa at marist.edu>
> Sent: Thursday, July 21, 2016 1:38:52 PM
> To: Shib Users
> Subject: IDPV2 / IDPV3 Memory suggestions?  
> All;
> 
>    I'm unable to find any "real" memory recommendations for running IDPV2.  I'm running Tomcat and have setenv.sh set like this:
>    export JAVA_OPTS="-Xmx2048m -XX:MaxPermSize=128m"
> and 2 gigs of ram.  (I had to bump it up from 1024m because Tomcat kept barfing on the InCommon metadata I recently added).
> 
> Obviously I'm running out of space (Xymon keeps alerting me, if you're curious).
> 
> Does anybody have any idea what I should be using in terms of tomcat settings and real memory allocated to the VM?  I'll take suggestions for
> IDPV3 as we are migrating there soon.  In the meantime I need to do something with my IDPV2 install.
> 
> Thanks!
> 
> >>>>>Ericw
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
> 
>


More information about the users mailing list