RDKB-63307: Spike in ATOM memory due to dual onewifi process. #897
+274
−129
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Impacted Platforms: All RDKB platforms.
Reason for change:
When the dmesg hangs, added a scheduler which calls the handler
function after the timeout of 2 seconds to close the v_secure_popen
which was left opened to execute the shell commands in the forked process.
Test Procedure:
1.Take TCXB7 device and load 8.4p1s1
2.Connect around 20 devices across 2g ,5g bands
3.Enable HCM
4.Please set the whix interval value atleast 5mins using the below,
dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_WIFI_TELEMETRY.
LogInterval int 300
dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_WIFI_TELEMETRY.
ChUtilityLogInterval int 300
dmcli eRT setv Device.WiFi.WHIX_LogInterval int 300
dmcli eRT setv Device.WiFi.WHIX_ChUtility_LogInterval int 300
5. Perform some wifi traffic on the clients.
6. Check for the mem_onewifi process whether it doubles.
Risks: High
Priority: P0
Signed-off-by: sanjayvenkatesan1902@gmail.com.