kamon-io / docker-grafana-graphite

Docker image with StatsD, Graphite, Grafana 2 and a Kamon Dashboard
Apache License 2.0
1.14k stars 495 forks source link

Carbon cache failed and couldn't start due to PID file #96

Closed tomekit closed 2 years ago

tomekit commented 7 years ago

I've had dedicated server failure. carbon-cache died. When server restarted supervisord couldn't start carbon-cache.

carbon-cache logs, server died after 08:28:45:

05/01/2017 08:27:55 :: [console] Sorted 75 cache queues in 0.000293 seconds 05/01/2017 08:28:05 :: [console] Sorted 75 cache queues in 0.000312 seconds 05/01/2017 08:28:15 :: [console] Sorted 75 cache queues in 0.000305 seconds 05/01/2017 08:28:25 :: [console] Sorted 75 cache queues in 0.000222 seconds 05/01/2017 08:28:31 :: [console] Sorted 16 cache queues in 0.000116 seconds 05/01/2017 08:28:35 :: [console] Sorted 75 cache queues in 0.000220 seconds 05/01/2017 08:28:45 :: [console] Sorted 75 cache queues in 0.000220 seconds carbon-cache (instance a) is already running with pid 15 carbon-cache (instance a) is already running with pid 15 carbon-cache (instance a) is already running with pid 15 carbon-cache (instance a) is already running with pid 15 carbon-cache (instance a) is already running with pid 15 carbon-cache (instance a) is already running with pid 15 carbon-cache (instance a) is already running with pid 15 carbon-cache (instance a) is already running with pid 15 carbon-cache (instance a) is already running with pid 15 carbon-cache (instance a) is already running with pid 15

I had to remove PID: sudo rm -R /var/run/carbon-cache-a.pid and restart the carbon-cache using supervisor