sonic-buildimage/dockers/docker-fpm-frr
Joe LeVeque dd9be59cd1
[202012][dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7203)
#### Why I did it

Backport of https://github.com/Azure/sonic-buildimage/pull/7083 to the 202012 branch.

To prevent error [messages](https://dev.azure.com/mssonic/build/_build/results?buildId=2254&view=logs&j=9a13fbcd-e92d-583c-2f89-d81f90cac1fd&t=739db6ba-1b35-5485-5697-de102068d650&l=802) like the following from being logged:

```
Mar 17 02:33:48.523153 vlab-01 INFO swss#supervisord 2021-03-17 02:33:48,518 ERRO pool supervisor-proc-exit-listener event buffer overflowed, discarding event 46
```

This is basically an addendum to https://github.com/Azure/sonic-buildimage/pull/5247, which increased the event buffer size for dependent-startup. While supervisor-proc-exit-listener doesn't subscribe to as many events as dependent-startup, there is still a chance some containers (like swss, as in the example above) have enough processes running to cause an overflow of the default buffer size of 10.

This is especially important for preventing erroneous log_analyzer failures in the sonic-mgmt repo regression tests, which have started occasionally causing PR check builds to fail. Example [here](https://dev.azure.com/mssonic/build/_build/results?buildId=2254&view=logs&j=9a13fbcd-e92d-583c-2f89-d81f90cac1fd&t=739db6ba-1b35-5485-5697-de102068d650&l=802).

I set all supervisor-proc-exit-listener event buffer sizes to 1024, and also updated all dependent-startup event buffer sizes to 1024, as well, to keep things simple, unified, and allow headroom so that we will not need to adjust these values frequently, if at all.
2021-04-01 12:52:19 -07:00
..
base_image_files [monit] Fix status error due to shebang change (#5865) 2020-11-09 01:52:22 -08:00
frr [202012][dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7203) 2021-04-01 12:52:19 -07:00
.dockerignore [docker-fpm-frr]:filter out the file of 'Dockerfile.j2' from the 'docker-fpm-frr' image. (#3507) 2019-09-27 12:43:44 -07:00
docker_init.sh [frrcfgd] introduce frrcfgd to manage frr config when frr_mgmt_framework_config is true (#5142) 2021-01-24 22:43:30 -08:00
Dockerfile.j2 [FRR] Create a separate script to wait zebra to be ready to receive connections (#6519) 2021-01-28 09:25:29 -08:00
snmp.conf [FRR] Enable SNMP support (#2981) 2019-06-19 01:24:42 -07:00
TSA [docker-frr]: Use egrep with regexp to match correct TSA rules (#6403) 2021-01-15 08:20:14 -08:00
TSB [docker-frr]: Use egrep with regexp to match correct TSA rules (#6403) 2021-01-15 08:20:14 -08:00
TSC [docker-frr]: Use egrep with regexp to match correct TSA rules (#6403) 2021-01-15 08:20:14 -08:00
vtysh.conf [sonic-frr]: FRR 4.0 integration with SONiC (#2099) 2018-10-02 10:24:59 -07:00
zsocket.sh [FRR] Create a separate script to wait zebra to be ready to receive connections (#6519) 2021-01-28 09:25:29 -08:00