File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,9 +4,17 @@ All notable changes to this project will be documented in this file. Dates are d
44
55Generated by [ ` auto-changelog ` ] ( https://github.com/CookPete/auto-changelog ) .
66
7- #### [ 2.0.0] ( https://github.com/rdkcentral/advanced-security/compare/1.1.2...2.0.0 )
7+ #### [ 2.1.0] ( https://github.com/rdkcentral/advanced-security/compare/2.0.0...2.1.0 )
8+
9+ - RDKB-61891 : advsec agent multiple processes recovery [ ` #43 ` ] ( https://github.com/rdkcentral/advanced-security/pull/43 )
10+ - Merge tag '2.0.0' into develop [ ` 1351468 ` ] ( https://github.com/rdkcentral/advanced-security/commit/1351468d12180cd0a3f201e64178865d05359eeb )
11+
12+ ### [ 2.0.0] ( https://github.com/rdkcentral/advanced-security/compare/1.1.2...2.0.0 )
13+
14+ > 21 January 2026
815
916- RDKB-62350 : Implement SentryAtTheEdge and TCPTrackerFilterDevices RFC DML parameters [ ` #37 ` ] ( https://github.com/rdkcentral/advanced-security/pull/37 )
17+ - Add changelog for release 2.0.0 [ ` 02d1402 ` ] ( https://github.com/rdkcentral/advanced-security/commit/02d14027a02a8b2fa79a2444f3a5202e976ea2bb )
1018- Merge tag '1.1.2' into develop [ ` dea9c93 ` ] ( https://github.com/rdkcentral/advanced-security/commit/dea9c933218a151eac7ca339753550bc7eb06924 )
1119
1220#### [ 1.1.2] ( https://github.com/rdkcentral/advanced-security/compare/1.1.1...1.1.2 )
Original file line number Diff line number Diff line change 2929KB=1024
3030SAMPLING_TIME=10
3131MAX_CPU_THRESHOLD=45
32+ AGENT_PS_COUNT_THRESHOLD=3
3233
3334# soft and hard limits are in MB
3435MAX_MEM_FIRST_SOFT_LIMIT=40
@@ -109,6 +110,16 @@ log_agent_cpu_statistics()
109110 echo " ##############################" >> $ADVSEC_AGENT_LOG_PATH
110111}
111112
113+ advsec_agent_multiple_processes_recovery ()
114+ {
115+ AGENT_PS_COUNT=$( echo " $PID_LIST " | wc -w)
116+ if [ " $AGENT_PS_COUNT " -gt " $AGENT_PS_COUNT_THRESHOLD " ]; then
117+ echo_t " Advsec Agent multiple processes detected, count=$AGENT_PS_COUNT " >> $ADVSEC_AGENT_LOG_PATH
118+ advsec_restart_agent " MultipleProcesses"
119+ exit
120+ fi
121+ }
122+
112123log_agent_mem_statistics ()
113124{
114125 echo " ####Advsec Agent RSS MEM stats####" >> $ADVSEC_AGENT_LOG_PATH
194205 fi
195206fi
196207
208+ advsec_agent_multiple_processes_recovery
209+
197210log_agent_mem_statistics
198211
199212total_cpu_time_before=$( get_agent_cpu_time_spent )
You can’t perform that action at this time.
0 commit comments