Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use std::string instead of un-free()d strdup | Tor Brede Vekterli | 2020-04-07 | 1 | -4/+6 |
| | |||||
* | Add/corect copyright headers | Jon Bratseth | 2020-01-03 | 1 | -0/+1 |
| | |||||
* | Drop timestamp.h | Henning Baldersheim | 2019-12-16 | 5 | -74/+38 |
| | |||||
* | FastOS_Time -> std::chrono. | Henning Baldersheim | 2019-11-20 | 3 | -8/+6 |
| | |||||
* | use chrono instead of fastos time | Håvard Pettersen | 2019-11-19 | 1 | -0/+1 |
| | |||||
* | Throw, catch and exit on bad port value, rather than straight exit | Jon Marius Venstad | 2019-11-15 | 2 | -3/+7 |
| | |||||
* | Catch PortListenException in config-sentinel main loop, and exit | Jon Marius Venstad | 2019-11-15 | 1 | -2/+6 |
| | |||||
* | catch exceptions in network setup | Arne Juul | 2019-09-24 | 1 | -2/+8 |
| | |||||
* | Avoid the last usages of time(0/NULL/nullptr) in the codebase. | Henning Baldersheim | 2019-08-26 | 3 | -6/+8 |
| | |||||
* | Simplify by not caching a member | Henning Baldersheim | 2019-05-10 | 1 | -10/+5 |
| | |||||
* | Simplify the supervisor responsibility | Henning Baldersheim | 2019-05-10 | 3 | -15/+12 |
| | |||||
* | re-implement delayed restart | Arne Juul | 2019-05-07 | 4 | -34/+97 |
| | | | | | | | | | | | * instead of sleeping in the forked process, make "restarting" a new service state and check if the restart penalty has been applied periodically * reset restart penalty on config generation changes, meaning application deployment triggers immediate startup of delayed services * also, keep removed services after re-configuration in a separate "orphans" list, to get better tracking of their final shutdown | ||||
* | stop modeling autostart / autorestart | Arne Juul | 2019-03-14 | 1 | -17/+4 |
| | | | | * these flags are always true, so no need to configure them | ||||
* | remove old code | Arne Juul | 2019-03-13 | 4 | -91/+0 |
| | |||||
* | remove telnet API, use state server | Arne Juul | 2019-03-13 | 4 | -381/+14 |
| | |||||
* | Merge pull request #8736 from vespa-engine/arnej/add-restart-service | Henning Baldersheim | 2019-03-12 | 5 | -2/+37 |
|\ | | | | | add "restart" hooks | ||||
| * | add "restart" hooks | Arne Juul | 2019-03-11 | 5 | -2/+37 |
| | | |||||
* | | initialize and zero terminate temp buffer | Arne Juul | 2019-03-12 | 1 | -0/+2 |
|/ | |||||
* | add skeleton for sentinel-cmd | Arne Juul | 2019-03-05 | 4 | -0/+152 |
| | |||||
* | Remove files used by old unit test runner. | Tor Egge | 2019-02-19 | 4 | -4/+0 |
| | |||||
* | Remove test lists files used by old unit test framework. | Tor Egge | 2019-02-15 | 1 | -2/+0 |
| | |||||
* | add RPC server for start/stop of services | Arne Juul | 2019-02-05 | 10 | -15/+331 |
| | |||||
* | Some return values are ignored in configd. | Tor Egge | 2019-01-28 | 1 | -2/+2 |
| | |||||
* | - NULL -> nullptr | Henning Baldersheim | 2018-09-27 | 1 | -1/+0 |
| | | | | | | - forward declaration. - Move from header to implementation. - use std::unordered_set | ||||
* | Merge pull request #6639 from vespa-engine/arnej/delay-crash-loops-more | Arne H Juul | 2018-08-21 | 2 | -7/+10 |
|\ | | | | | more restart penalty | ||||
| * | more restart penalty | Arne Juul | 2018-08-21 | 2 | -7/+10 |
| | | | | | | | | | | | | | | | | * set max restart penalty to 30 minutes * scale much faster (exponentially) to max restart penalty * increment restart penalty when a service needs restarting before 30 minutes have passed * reset restart penalty when a service was OK for 5 hours | ||||
* | | Remove logging no longer needed as we have metrics. | Henning Baldersheim | 2018-08-20 | 3 | -33/+4 |
|/ | |||||
* | reorder to increase chances of information in stack dump | Arne Juul | 2018-07-24 | 1 | -10/+19 |
| | |||||
* | busy looping is bad | Arne Juul | 2018-07-24 | 1 | -0/+3 |
| | |||||
* | clean up remnants of .mak files | Arne Juul | 2018-06-11 | 1 | -1/+0 |
| | |||||
* | Changes to allow unprivileged vespa. | Tor Egge | 2018-03-12 | 1 | -3/+6 |
| | |||||
* | use "vespa" as fallback for VESPA_USER | Arne Juul | 2018-01-16 | 1 | -1/+1 |
| | |||||
* | Revert "Arnej/fix cmdline tools" | Harald Musum | 2018-01-14 | 1 | -1/+1 |
| | |||||
* | use generic use "vespa" | Arne Juul | 2018-01-11 | 1 | -1/+1 |
| | |||||
* | only run pstack once | Arne Juul | 2017-12-15 | 1 | -2/+2 |
| | | | | | * otherwise, any useful information is likely to be overwritten when very large processes take some time to exit | ||||
* | use metrics::Producer instead of SimpleMetricsProducer | Arne Juul | 2017-12-07 | 2 | -6/+6 |
| | |||||
* | add compulsory description for metrics | Arne Juul | 2017-12-07 | 1 | -4/+9 |
| | |||||
* | use vespalib metrics library | Arne Juul | 2017-12-07 | 4 | -67/+39 |
| | |||||
* | Add total number of service restarts snapshot metric | Håkon Hallingstad | 2017-10-23 | 1 | -0/+11 |
| | |||||
* | add "uptime" metric | Arne Juul | 2017-10-16 | 1 | -9/+36 |
| | |||||
* | count restart of sentinel itself | Arne Juul | 2017-10-16 | 1 | -1/+1 |
| | |||||
* | use vespalib::SignalHandler | Arne Juul | 2017-10-09 | 2 | -44/+23 |
| | |||||
* | Remove more clutter in fastos/types.h | Henning Baldersheim | 2017-08-18 | 2 | -2/+2 |
| | |||||
* | Include only what you need. | Henning Baldersheim | 2017-08-18 | 1 | -0/+2 |
| | |||||
* | - make the construction of the pstack command string safe. | Henning Baldersheim | 2017-08-11 | 8 | -88/+55 |
| | | | | - Allow for immediate KILL without requesting stack dump. | ||||
* | ensure we have enough slashes | Henning Baldersheim | 2017-08-11 | 1 | -1/+1 |
| | |||||
* | Write to a directory only writable by vespa user. | Henning Baldersheim | 2017-08-11 | 1 | -11/+5 |
| | |||||
* | TMP -> TMPDIR | Henning Baldersheim | 2017-08-11 | 1 | -1/+1 |
| | |||||
* | Dump the stack if some processes will not shut down. | Henning Baldersheim | 2017-08-11 | 1 | -0/+20 |
| | |||||
* | Update copyright headers | Jon Bratseth | 2017-06-14 | 24 | -24/+24 |
| |