Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance Degradation observed while using non-admin accounts on ENMS 4.0.0 #354

Open
jsmith7735 opened this issue Aug 11, 2021 · 0 comments

Comments

@jsmith7735
Copy link

I created several "Network Admin" users within ENMS. Some users are local accounts and others are TACACS users. When these users log in most features and functionality work as expected. However, there is a noticeable performance degradation and sometimes system instability when using the Workflow Builder.

To reproduce the issue:

  1. Create a user pool called "Network Admin" where the user group field is set to "Network Admin"
  2. Create an Access that references "Network Admin" as the user pool. The "All Objects" pool should also be referenced under Model Pools. Select all options under Access Type, User Interface, and End Point Access.
  3. Create users with the user group set to "Network Admin"
  4. Login with the newly created user account and try to access the Workflow builder. The system will respond slowly and may crash with 504 server errors.
  5. As a workaround, check the admin box under the user profile. Re-login and test again. The system will become more responsive.

The systemctl output does not really indicate any issues. I see multiple entries for '/get_service_state/76/latest' which is to be expected. I do notice several logs related to ignoring EPIPE which appears to be a flask error. Are there any additional logs that may help me isolate the issue?

I have done a fresh install of 4.0.0 in AWS and tested this using SQLite and MySQL to eliminate this being a DB issue. I cannot replicate the issue on the fresh install. Thanks for any help that you can provide.

Aug 11 09:44:06 cersrenms01 gunicorn[41219]: [2021-08-11 09:44:06 -0500] [41219] [DEBUG] POST /get_service_state/32/latest
Aug 11 09:44:06 cersrenms01 gunicorn[41219]: [2021-08-11 09:44:06 -0500] [41219] [DEBUG] Ignoring EPIPE
Aug 11 09:44:05 cersrenms01 gunicorn[41219]: [2021-08-11 09:44:05 -0500] [41219] [DEBUG] POST /get_service_state/71/latest
Aug 11 09:44:05 cersrenms01 gunicorn[41219]: [2021-08-11 09:44:05 -0500] [41219] [DEBUG] Ignoring EPIPE
Aug 11 09:43:57 cersrenms01 gunicorn[41221]: [2021-08-11 09:43:57 -0500] [41221] [DEBUG] POST /get_service_state/71/latest
Aug 11 09:43:57 cersrenms01 gunicorn[41221]: [2021-08-11 09:43:57 -0500] [41221] [DEBUG] Ignoring EPIPE
Aug 11 09:43:13 cersrenms01 gunicorn[41220]: [2021-08-11 09:43:13 -0500] [41220] [DEBUG] POST /get_service_state/71/latest
Aug 11 09:43:13 cersrenms01 gunicorn[41220]: [2021-08-11 09:43:13 -0500] [41220] [DEBUG] Ignoring EPIPE
Aug 11 09:42:52 cersrenms01 gunicorn[41219]: [2021-08-11 09:42:52 -0500] [41219] [DEBUG] POST /get_service_state/71/latest 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant