I believe this is happening because I manually added an application to shuttle. I launched a docker container by hand (due to #272) and then PUT a config to shuttle to route to it (since I needed it on the same port as the rest of the system).
When I do this, my commander logs fill up with:
ERROR: Unable to load app %!s(<nil>): app <app-name> does not exist
When I execute commander app:create <app-name> the errors go away, of course. However this also deletes the proxy entry in shuttle.
I haven't confirmed that the high CPU usage is caused by this but it seems suspicious. When I look at top on the server, commander is always near the top of the list, using 50-75% cpu.
I believe this is happening because I manually added an application to shuttle. I launched a docker container by hand (due to #272) and then
PUT
a config to shuttle to route to it (since I needed it on the same port as the rest of the system).When I do this, my commander logs fill up with:
When I execute
commander app:create <app-name>
the errors go away, of course. However this also deletes the proxy entry in shuttle.I haven't confirmed that the high CPU usage is caused by this but it seems suspicious. When I look at
top
on the server,commander
is always near the top of the list, using 50-75% cpu.