b70c6f72b2
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 |
||
---|---|---|
.. | ||
bfn-modules | ||
docker-saiserver-bfn | ||
docker-syncd-bfn | ||
docker-syncd-bfn-rpc | ||
sonic-platform-modules-arista@2ed7b77095 | ||
sonic-platform-modules-bfn | ||
sonic-platform-modules-bfn-montara | ||
sonic-platform-modules-bfn-newport | ||
sonic-platform-modules-ingrasys | ||
sonic-platform-modules-wnc-osw1800 | ||
bfn-modules.mk | ||
bfn-platform-ingrasys.mk | ||
bfn-platform-wnc.mk | ||
bfn-platform.mk | ||
bfn-sai.mk | ||
docker-ptf-bfn.mk | ||
docker-syncd-bfn-rpc.mk | ||
docker-syncd-bfn.mk | ||
libsaithrift-dev.mk | ||
one-aboot.mk | ||
one-image.mk | ||
platform-modules-arista.mk | ||
platform-modules-bfn-montara.mk | ||
platform-modules-bfn-newport.mk | ||
platform-modules-bfn.mk | ||
platform-modules-ingrasys.mk | ||
platform-modules-wnc-osw1800.mk | ||
platform.conf | ||
rules.mk |