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
Tamer Ahmed
fd3e0b4c58
[frr] Reduce Calls to SONiC Cfggen ( #5176 )
...
Calls to sonic-cfggen is CPU expensive. This PR reduces calls to
sonic-cfggen to two calls during startup when starting frr service.
singed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
2020-12-22 09:51:54 -08:00
yozhao101
c2364cf03e
[201911][dockers] Update critical_processes file syntax ( #4854 )
...
Backport of https://github.com/Azure/sonic-buildimage/pull/4831 to the 201911 branch
2020-06-26 11:37:05 -07:00
yozhao101
5c8c4b2a50
[Services] Restart BGP service upon unexpected critical process exit. ( #4207 )
2020-03-03 19:19:44 -08:00
Prince Sunny
231d309b69
Generate interface table to have an entry designated to default VRF. ( #2848 )
...
* Generate default VRF table for router interfaces
* Updated jinja2 template to have prefix filter
2019-06-10 14:02:55 -07:00
Taoyu Li
2e3975d6ed
[config] Fix an issue that bgp asn data type is not consistent ( #953 )
...
* Fix an issue that bgp asn data type is not consistent from minigraph parser and DB
* Fix test typo
2017-09-13 21:23:06 -07:00
Taoyu Li
c9cc7aea41
[configdb] Migrate minigraph configurations to DB ( #942 )
...
Modify minigraph parser output format so it fit DB schema
Modify configuration templates to fit new schema
Systemd services dependencies are modified so database starts before any configuration consumer
2017-09-12 14:13:27 -07:00
Taoyu Li
e4502527d0
Revert "Migrate DEVICE_METADATA to db ( #919 )" ( #928 )
...
This reverts commit 44502b217b
.
2017-08-29 17:03:31 -07:00
Taoyu Li
44502b217b
Migrate DEVICE_METADATA to db ( #919 )
2017-08-29 10:47:25 -07:00
Taoyu Li
a2fe0212be
[ConfigDB] Move all BGP configuration into DB ( #861 )
...
- BGP data read from minigraph.py now match DB schema
- BGP templates are updated
- bgpcfgd can now deal with runtime neighbor create/delete
2017-08-08 16:23:58 -07:00
Joe LeVeque
f49cac086f
Remove extra trailing newlines at EOF ( #804 )
...
Files now end with a single newline
2017-07-12 20:54:37 -07:00
Joe LeVeque
d5c13c0a83
[dockers]: Disable autorestart on all supervisor processes inside containers ( #580 )
2017-05-09 17:37:08 -07:00
Joe LeVeque
8f348399f5
[Dockers]: Manage all Docker containers with Supervisord ( #573 )
...
- Consolidate config.sh and start.sh scripts into one script (start.sh)
- Solve issue #435 - All dockers now run supervisord as their ENTRYPOINT
- All stdout/stderr output from processes managed by supervisord is now sent to syslog instead of their own files
- Supervisord log messages are now also sent to syslog
- Removed unused smartmontools package from docker-platform-monitor
2017-05-08 15:43:31 -07:00
Rodny Molina
d30fbf1d72
[build]: Adding support for Free-Range-Routing stack. ( #510 )
...
- Extending SONiC building infrastructure to provide users
with greater flexibility, by allowing them to elect a
routing-stack different than the default one (quagga). The desired
routing-stack will be defined in rules/config file.
- As part of these changes I'm adding support for
Free-Range-Routing (FRR) stack. Quagga will continue to be
the default routing-stack.
Signed-off-by: Rodny Molina <rodny@linkedin.com>
2017-04-20 09:12:27 -07:00
Taoyu Li
fed908fc6b
[config-engine] minigraph.py refactoring ( #448 )
...
* Refactor minigraph.py
See description in https://github.com/Azure/sonic-buildimage/pull/448 for detail
2017-03-30 15:25:31 -07:00
pavel-shirshov
814fd87e63
Remove /var/run/rsyslogd.pid bofore starting rsyslog ( #453 )
2017-03-29 18:07:25 -07:00
pavel-shirshov
bac738f91f
Add bgp container with gobgp ( #358 )
...
* Add go-1.7 into docker-slave
* Create container docker-fpm-gobgp with gobgpd inside
2017-03-02 11:33:46 -08:00