![]() Alternatively, if the system has got a VFS ( virtual fiile system ), check for a directory in the name of process id in /proc/. if the alert is appearing alongside an upstart not up alert. If ps -ef grep processname is not displaying anything, there is no such process currently running or the expected process has finished running by the time, ps did a scan in the process table. This means the app is not accepting requests for the healthcheck endpoint, and is probably down e.g. This endpoint is meant to be a lightweight check for use with certain types of infrastructure, such as AWS Elastic Load Balancers (ELBs). ![]() Note: most apps also have a separate /healthcheck/live endpoint, which often just returns “200 OK” ( example). ps -A OR ps -e List Processes in Standard Format 3. It has almost no knowledge of what it's writing to (certainly it doesn't know the file's name (s)). It's a bit like this: ( exec >my1.fifo exec cat ) & As you can see, cat is run with no command-line arguments, but with its standard out connected to the open file. Display every active process on a Linux system in generic (Unix/Linux) format. 2 Answers Sorted by: 1 The redirection is done by the shell before executing cat. ps List Current Running Processes Print All Processes in Different Formats 2. datagovuk_publish app healthcheck not ok If you run the ps command without any arguments, it displays processes for the current shell.content-data-api app healthcheck not ok.Some apps also implement custom checks and the alert links to custom documentation to explain them: Most healthcheck endpoints use checks from govuk_app_config see below for guidance on these. For most apps the endpoint is /healthcheck/ready for legacy apps it’s just a random page ( example). This alert works by making a request to the app’s healthcheck endpoint on a machine where the app runs. Most apps on GOV.UK have a /healthcheck/ready endpoint that checks if the app is “ready” to respond to requests, including things like connecting to a database ( example). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |