Page MenuHomePhabricator

Aphlict server is still running even if it never starts
Closed, ResolvedPublic

Description

I noticed this whilst debugging D11351. Basically, I was trying to start the Aphlict server but the log file didn't exist. Something like this was happening:

> ./bin/aphlict start
> ./bin/aphlict status
Aphlict server is running.
> ps aux | grep aphlict
... php /usr/src/phabricator/bin/aphlict start
# No NodeJS process running

The NodeJS aphlict server died, but the PHP process was still alive.

Related Objects

Event Timeline

joshuaspence raised the priority of this task from to Needs Triage.
joshuaspence updated the task description. (Show Details)
joshuaspence added a project: Aphlict.
joshuaspence added a subscriber: joshuaspence.

Oh I see, we attempt to restart it if it dies.... I'm not quite sure whether this was happening (my guess is that it would've died immediately).

epriestley claimed this task.
epriestley added a subscriber: epriestley.

Yeah, this is by design, at least in theory. Reopen if you get more evidence that it's not working or whatever?

I guess the issue here though is that there's no way for me to tell what's going on (because the log file couldn't be created). D11351 solves this for me.