Web Gateway shows high CPU use, traffic slowness, and the maximum connection limit reached
Technical Articles ID:
KB95284
Last Modified: 2022-03-22 18:17:47 Etc/GMT
Environment
Web Gateway 10.2.5 and earlier, 9.2.1 and earlier
Problem
Web Gateway shows one or more of the following issues:
- High CPU use and slowness of operation:
- Access to webpages is delayed.
- You see a sudden increase (sometimes within minutes) for CPU Utilization in the dashboard.
- The number of connections suddenly increases, up to the configured upper limit. This rise causes a delay for new client connections.
- The proxy no longer accepts new connections. Even with usual number of connections or fewer, no new client connections are accepted. Clients receive an error message that the proxy isn’t available.
Cause
Special HTTP2 connections lead to stuck threads in the mwg-core process.
Solution
This issue is fixed in Web Gateway 9.2.17 and 10.2.6, and is included in all subsequent releases.
Workaround
To avoid this issue, disable HTTPv2 traffic.
Create a rule at the top of your rule set with following settings:
- Criteria: always
- Action: continue
- Event: Proxy Control
You can also import the attached rule set Disable HTTP2.xml:
- Download the attached rule set file Disable HTTP2.xml.
- Select Policy, Rule Sets.
- Click Add, Top-Level Rule set, Import rule set from Rule Set Library.
- Click Import from file, Browse, choose the file Disable HTTP2.xml and Open.
- Click OK. The new rule set Disable HTTP2 is now added to the bottom of your rule sets.
- Move the new rule to the top of the rule set tree.
- Click Save Changes.
|