sonic-buildimage/dockers/docker-orchagent
Joe LeVeque 5b3b4804ad
[dockers][supervisor] Increase event buffer size for dependent-startup (#5247)
When stopping the swss, pmon or bgp containers, log messages like the following can be seen:

```
Aug 23 22:50:43.789760 sonic-dut INFO swss#supervisord 2020-08-23 22:50:10,061 ERRO pool dependent-startup event buffer overflowed, discarding event 34
Aug 23 22:50:43.789760 sonic-dut INFO swss#supervisord 2020-08-23 22:50:10,063 ERRO pool dependent-startup event buffer overflowed, discarding event 35
Aug 23 22:50:43.789760 sonic-dut INFO swss#supervisord 2020-08-23 22:50:10,064 ERRO pool dependent-startup event buffer overflowed, discarding event 36
Aug 23 22:50:43.789760 sonic-dut INFO swss#supervisord 2020-08-23 22:50:10,066 ERRO pool dependent-startup event buffer overflowed, discarding event 37
```

This is due to the number of programs in the container managed by supervisor, all generating events at the same time. The default event queue buffer size in supervisor is 10. This patch increases that value in all containers in order to eliminate these errors. As more programs are added to the containers, we may need to further adjust these values. I increased all buffer sizes to 25 except for containers with more programs or templated supervisor.conf files which allow for a variable number of programs. In these cases I increased the buffer size to 50. One final exception is the swss container, where the buffer fills up to ~50, so I increased this buffer to 100.

Resolves https://github.com/Azure/sonic-buildimage/issues/5241
2020-09-08 23:36:38 -07:00
..
base_image_files [Services] Allow monit system tool to monitor the critical processes status running in various SONiC containers. (#3940) 2020-01-10 16:21:02 -08:00
arp_update.conf [docker-orchagent]: use service dependency in supervisord to start services 2020-05-22 11:01:28 -07:00
copp.json.j2 Changes to add template support for copp.json. (#5053) 2020-07-31 14:14:21 -07:00
critical_processes [dockers] Update critical_processes file syntax (#4831) 2020-06-25 21:18:21 -07:00
docker-init.sh [swss] Reduce Calls to SONiC Cfggen (#5177) 2020-08-17 15:47:52 -07:00
Dockerfile.j2 [docker-orchagent]: upgrade docker-orchagent to buster (#4889) 2020-07-12 18:08:51 +00:00
enable_counters.py [enable counters] Enable port buffer drops by default and update MLNX SAI submodule (#5059) 2020-08-25 08:48:56 -07:00
ipinip.json.j2 [Multi-ASIC]:Update the template to add ipinip entry for Loopback4096 (#5235) 2020-08-31 17:35:48 -07:00
orchagent.sh Add switch for synchronous mode (#5237) 2020-08-24 14:04:10 -07:00
ports.json.j2 Buffers configuration update on port speed change (#1345) 2018-01-29 08:11:05 -08:00
supervisord.conf [dockers][supervisor] Increase event buffer size for dependent-startup (#5247) 2020-09-08 23:36:38 -07:00
switch.json.j2 [swss]: Add hash seed 15 for SpineRouter type (#3390) 2019-08-28 15:46:48 -07:00
swss_vars.j2 Add switch for synchronous mode (#5237) 2020-08-24 14:04:10 -07:00
swssconfig.sh Fix the issue as reported in (#5315) 2020-09-04 09:34:26 -07:00
vlan_vars.j2 [swss] Reduce Calls to SONiC Cfggen (#5177) 2020-08-17 15:47:52 -07:00