We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a230b25 commit ebd96e0Copy full SHA for ebd96e0
o2-aliecs-shmcleaner
@@ -94,7 +94,15 @@ done
94
rm -f /dev/shm/*fmq*
95
96
# Cleanup any ROC-allocated memory
97
-yes | roc-cleanup --light > /dev/null 3>&1
+if false; then
98
+ # This is the standard cleanup procedure
99
+ yes | roc-cleanup --light > /dev/null 3>&1
100
+else
101
+ # This is the deep cleanup procedure, it can break ALF/FRED and should not be used unless really necessary
102
+ systemctl stop o2-alf
103
+ yes | roc-cleanup > /dev/null 3>&1
104
+ systemctl start o2-alf
105
+fi
106
107
memEnd="`grep MemAvailable /proc/meminfo | sed 's/.*: *//'`"
108
memDelta=$(( `echo ${memEnd} | awk '{print $1;}'`- `echo ${memStart} | awk '{print $1;}'` ))
0 commit comments