Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions spire/templates/apps/dovetail-spots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,12 @@ Resources:
- Name: SPOTS_HOST
Value: !Ref SpotsHostname
Essential: true
HealthCheck:
Command: ["CMD-SHELL", "pgrep puma"]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All processes in the web:

PID   USER     TIME  COMMAND
    1 root      0:38 /sbin/docker-init -- ./bin/application web
    7 root      0:00 {application} /bin/sh ./bin/application web
    9 root      0:46 /ecs-execute-command-32f48d3a-a71e-4672-896d-6815a521f648/amazon-ssm-agent
   25 root      1:11 /ecs-execute-command-32f48d3a-a71e-4672-896d-6815a521f648/ssm-agent-worker
   45 root     25:23 {ruby} puma 6.6.0 (tcp://0.0.0.0:3000) [app]

Interval: 30
Retries: 3
StartPeriod: 15
Timeout: 5
Image: !Sub ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/${EcrImageTag}
LinuxParameters:
InitProcessEnabled: true
Expand Down Expand Up @@ -440,6 +446,12 @@ Resources:
- Name: SPOTS_HOST
Value: !Ref SpotsHostname
Essential: true
HealthCheck:
Command: ["CMD-SHELL", "pgrep solid-queue"]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the processes in the worker:

PID   USER     TIME  COMMAND
    1 root      0:13 /sbin/docker-init -- ./bin/application worker
    7 root      0:00 {application} /bin/sh ./bin/application worker
   10 root      0:17 /ecs-execute-command-1e561886-600d-4c5d-867a-2a60931bfeab/amazon-ssm-agent
   25 root      0:25 /ecs-execute-command-1e561886-600d-4c5d-867a-2a60931bfeab/ssm-agent-worker
   42 root      4:16 {ruby} solid-queue-supervisor(1.1.3): supervising 69, 77, 12986
   69 root     13:02 {ruby} solid-queue-dispatcher(1.1.3): dispatching every 1 seconds
   77 root      1:59 {ruby} solid-queue-scheduler(1.1.3): scheduling complete_spots,rollup_actuals,sync_augury,sync_feeder
12986 root      2h43 {ruby} solid-queue-worker(1.1.3): waiting for jobs in *

Interval: 30
Retries: 3
StartPeriod: 15
Timeout: 5
Image: !Sub ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/${EcrImageTag}
LinuxParameters:
InitProcessEnabled: true
Expand Down