janus-ssp / janus

Fully featured metadata registration administration module built on top of simpleSAMLphp.
Other
13 stars 8 forks source link

IdP with many revisions / SP connections disappears from EB #588

Closed thijskh closed 8 years ago

thijskh commented 8 years ago

We have seen the issue that after an EB cache flush, a single IdP is suddenly unknown to EB. All other IdP's continue to work fine.

The problem went away after disconnecting a number of SP's. When reconnecting several of those, the problem reappeared and disappeared again after again reducing the number of connected IdP's. What sets this IdP apart in our configuration is that it has by far the most revisions (>260 at time of writing) and also many SP's connected (around 100). However, there are IdP's with more SP's connected.

A working theory is that the number of revisions and/or sp's aggravates Janus' performance issues to a level where some kind of timeout or memory limit is reached. No relevant logging information has been found to confirm this, as yet.

Janus version 1.20.5, Engineblock version 4.3.8.

relaxnow commented 8 years ago

A working theory is that the number of revisions and/or sp's aggravates Janus' performance issues to a level where some kind of timeout or memory limit is reached. No relevant logging information has been found to confirm this, as yet.

This seems unlikely to me, a timeout or memory issue in PHP would kill the process and would not send any data at all. Though I must admit to have no better theory at the moment :smile:

relaxnow commented 8 years ago

I looked into this bug but cannot find any way to reproduce this or what exactly triggered the disappearance. In light of major changes in metadata handling I would suggest closing this for now until maybe it rears it's ugly head again.