After Junos software upgrade to 22.4R3-S2, web authentication feature started to have intermittent problems - the authentication page was not available from time to time and timeout error occurred in the web browser.
While the issue is present, httpd process consumes a lot of resources:
user@SRX> show system processes extensive | match httpd6272 nobody 123 0 23436K 10516K RUN 0 3:59 79.69% httpd6272 nobody 32 0 23436K 10516K ucond 0 3:59 0.00% httpd
Restarting web-management process helps to recover until the issue is seen again.
user@SRX> restart web-management
This behavior is caused by a software bug which is related to a known PR: https://prsearch.juniper.net/problemreport/PR1832731
It also contains the software releases which have a fix for this issue.