shibd Memory Usage

David Mansfield shibboleth at dm.cobite.com
Fri Sep 26 11:32:43 EDT 2014



On 09/26/2014 11:20 AM, Andy Bennett wrote:
> Hi,
>
> We're running Shibboleth SP 2.4.3 on Debian.
>
> We tend to find that it likes to use a lot of RAM. I always assumed it
> was just a function of the number of transactions. However, I've just
> looked on one of our machines that doesn't actually do any Shibboleth
> stuff but has the same configuration installed as our other machines.
> It's been sitting there for 600 days or so and the logs show that all
> it's been doing is downloading the metadata feed: it hasn't processed
> any transactions. That shib was using some 700MiB of RAM.
>
> Is that the amount that would be expected (given the size of the
> ukfederation metadata of a few thousand entries) or is something amiss?
> Is there any patches in newer versions that will reduce the memory
> consumption?
>
> We tend to find it takes at least 25% or 30% of the memory available on
> a machine.
>
>

Mine handles plenty of transactions for 4 separate applications but not 
a lot of metadata (used with only one idp) and has been running 6 months 
and is at ~55MiB RAM. OTOH the Virtual Size is over 2.4GiB (which is 
curious), but the RSS (including swapped out) is only ~55MiB.

System is CentOS 6 (x86_64) - also running version 2.4.3.

-- 
Thanks,
David Mansfield
Cobite, INC.


More information about the users mailing list