Project

General

Profile

Actions

Bug #4425

closed

Rudder should not query all nodes when checking login

Added by Christophe Nowicki about 10 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
3
Category:
Web - Nodes & inventories
Target version:
-
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Hi,

I'am doing scalability testing of the rudder server, I've generated 4k
hosts with tsung ( http://tsung.erlang-projects.org/‎ ) and now
I can't login to my rudder-server ;-)

The login screen does timeout randomly.

Do you load all the pending hosts when the user log in ?

Thanks,


Files

rudder_scalalaaallaal.png (22.7 KB) rudder_scalalaaallaal.png Christophe Nowicki, 2014-01-31 10:55

Related issues 2 (0 open2 closed)

Related to Rudder - Bug #4497: Rudder web UI freezes when too many inventory are received at the same timeReleasedFrançois ARMAND2014-02-25Actions
Related to Rudder - Bug #4495: Optimization on LDAP requests (number of rules, ...) from home pageReleasedNicolas CHARLES2014-02-21Actions
Actions #1

Updated by Matthieu CERDA about 10 years ago

  • Category set to Web - Nodes & inventories
  • Status changed from New to Discussion
  • Assignee set to Matthieu CERDA
  • Priority changed from N/A to 1

Hi Christophe,

So you finally managed to get Tsung to cooperate :D

Well, to begin with, can you please take a look at the webapp's logs, and also try to boost the allocated RAM to Rudder in /etc/default/jetty ?

Thanks in advance.

Actions #2

Updated by Christophe Nowicki about 10 years ago

Matthieu CERDA wrote:

Hi Christophe,

Hi Matthieu,

So you finally managed to get Tsung to cooperate :D

Yep ;-) And now everything is much funnier ;-)

Well, to begin with, can you please take a look at the webapp's logs, and also try to boost the allocated RAM to Rudder in /etc/default/jetty ?

The Webapp's log is empty :-( Do you need DEBUG information ?

I can't / want add more memory ;-)

Thanks,

Actions #3

Updated by Christophe Nowicki about 10 years ago

Matthieu CERDA wrote:

Well, to begin with, can you please take a look at the webapp's logs, and also try to boost the allocated RAM to Rudder in /etc/default/jetty ?

Done, setup rudder 2.9.2 on my laptop with JAVA_XMX=2048 and JAVA_MAXPERMSIZE=512, I can log in with 2K hosts.

Actions #4

Updated by Nicolas CHARLES about 10 years ago

That's awesome \o/
Thank you for the feedback

Actions #5

Updated by Jonathan CLARKE about 10 years ago

  • Status changed from Discussion to Rejected

OK, so if I understand correctly, this works fine if there is enough RAM?

Then I'll close this ticket, and hope it is useful to anyone having this same problem. Documentation work is ongoing to clarify Rudder's requirements in terms of RAM for large installations.

Christophe if you disagree, just say so, and we can reopen this.

Actions #6

Updated by Christophe Nowicki about 10 years ago

  • Status changed from Rejected to Discussion

Jonathan CLARKE wrote:

OK, so if I understand correctly, this works fine if there is enough RAM?

Non, The issue is not about RAM requirements.
We all agreed that you need enough RAM for handling a lots of nodes.
But loading all nodes when the user is logging on, it's an issue.

Then I'll close this ticket, and hope it is useful to anyone having this same problem. Documentation work is ongoing to clarify Rudder's requirements in terms of RAM for large installations.

Christophe if you disagree, just say so, and we can reopen this.

I strongly disagree.

Actions #7

Updated by Jonathan CLARKE about 10 years ago

Christophe Nowicki wrote:

Jonathan CLARKE wrote:

OK, so if I understand correctly, this works fine if there is enough RAM?

Non, The issue is not about RAM requirements.
We all agreed that you need enough RAM for handling a lots of nodes.
But loading all nodes when the user is logging on, it's an issue.

Then I'll close this ticket, and hope it is useful to anyone having this same problem. Documentation work is ongoing to clarify Rudder's requirements in terms of RAM for large installations.

Christophe if you disagree, just say so, and we can reopen this.

I strongly disagree.

OK, sorry for the misunderstanding.

Can we please clarify what this ticket is about then? I read the title that say "can't login when the number of hosts is too large", then you said "I can log in with 2K hosts". So I consider that problem is fixed.

If you'd like to refocus the ticket on "Rudder should not query all nodes when checking login", that's fine by me, but can we agree to change the title to that?

Actions #8

Updated by Jonathan CLARKE about 10 years ago

  • Assignee changed from Matthieu CERDA to Christophe Nowicki
Actions #9

Updated by Christophe Nowicki about 10 years ago

Jonathan CLARKE wrote:

If you'd like to refocus the ticket on "Rudder should not query all nodes when checking login", that's fine by me, but can we agree to change the title to that?

I agree.

Actions #10

Updated by Jonathan CLARKE about 10 years ago

  • Subject changed from Can't login / proxy timeout when the number of hosts is too large to Rudder should not query all nodes when checking login
  • Status changed from Discussion to New
  • Assignee changed from Christophe Nowicki to François ARMAND
  • Priority changed from 1 to 3

Christophe Nowicki wrote:

Jonathan CLARKE wrote:

If you'd like to refocus the ticket on "Rudder should not query all nodes when checking login", that's fine by me, but can we agree to change the title to that?

I agree.

Perfect, thanks :)

Actions #11

Updated by François ARMAND about 10 years ago

In our tests, even will >2000 nodes, we weren't able to reproduce a case where the login was not possible, or even where LDAP requests took more than a few seconds to return WHEN (a big when) no inventories where received by the endpoint in parallele.

On the other hand, we exibited #4497, where a memory exhaustion was initiated by accumulating incoming inventories to proccess. That memory exhaustion lead to global stalling of both Rudder inventory endpoint and Rudder UI part, which look similar to what was described here.

Actions #12

Updated by François ARMAND over 7 years ago

  • Status changed from New to Rejected

I'm closing that ticket because Rudder is not querying pending nodes on login, and the problem was with #4497 + compliance culculus done on login.

Actions

Also available in: Atom PDF