Skip to content

Commit

Permalink
Fix reboot issue, monit_gnmi is wrong. (sonic-net#125)
Browse files Browse the repository at this point in the history
Why I did it
Fix reboot issue, monit_gnmi is wrong.

How I did it
Update monit_gnmi.

How to verify it
Use new image to run "config reload"
  • Loading branch information
ganglyu committed Oct 29, 2022
1 parent d059ef9 commit e1f68e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockers/docker-sonic-gnmi/base_image_files/monit_gnmi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###############################################################################
## Monit configuration for gnmi container
###############################################################################
check program container_memory_telemetry with path "/usr/bin/memory_checker gnmi 419430400"
check program container_memory_gnmi with path "/usr/bin/memory_checker gnmi 419430400"
if status == 3 for 10 times within 20 cycles then exec "/usr/bin/restart_service gnmi" repeat every 2 cycles

0 comments on commit e1f68e7

Please sign in to comment.