sonic-buildimage/platform/cavium
Joe LeVeque 72b32a96fc
[201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106)
Backport of https://github.com/Azure/sonic-buildimage/pull/7083 to the 201911 branch.

#### Why I did it

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-03-29 10:07:43 -07:00
..
cavm_platform_modules Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00
cavm_sdk Added rules to build syncd and orchagent containers for Cavium target (#152) 2016-12-23 15:26:51 -08:00
docker-saiserver-cavm [docker-saiserver]: build docker-saiserver (#2244) 2018-11-14 01:15:31 -08:00
docker-syncd-cavm [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-syncd-cavm-rpc [buildsystem] Install debug packages in syncd when INSTALL_DEBUG_TOOLS=y (#2702) 2019-04-18 02:25:51 -07:00
cavm-platform-modules.mk [build]: put stretch debian packages under target/debs/stretch/ (#2519) 2019-02-04 22:06:37 -08:00
cavm-sai.mk [cavm]Update sai revision and packet driver (#914) 2017-08-24 23:46:14 -07:00
cavm-xpnet.mk [build]: put stretch debian packages under target/debs/stretch/ (#2519) 2019-02-04 22:06:37 -08:00
docker-ptf-cavm.mk [docker-ptf-*]: Use buildimage infrastructure to build docker-ptf-* (#638) 2017-05-26 17:18:11 -07:00
docker-syncd-cavm-rpc.mk [syncd-rpc.mk] install ptf dependancy (#4279) 2020-03-19 22:18:49 -07:00
docker-syncd-cavm.mk [Services] Allow monit system tool to monitor the critical processes status running in various SONiC containers. (#3940) 2020-01-21 10:42:47 -08:00
libsaithrift-dev.mk [saithrift]: remove dependency on python-saithrift (#2584) 2019-02-18 02:50:37 -08:00
one-image.mk [build]: Move Systemd service start to systemd generator (#3172) 2019-07-29 15:52:15 -07:00
platform.conf one image implementation (#215) 2017-01-29 11:33:33 -08:00
rules.mk [build]: wait for conflicts package to be uninstalled (#5039) 2021-01-27 14:07:30 -08:00