a year ago
Project ID: 66744e7e-7515-41c6-8b79-2490eef16323
Issue: Ghost service instance running but not visible in architect view
There's a ghost service instance (ID: c16d6171-d73b-4d6f-b8a5-b75102fa92cc) of our data sync tool that's still running and appears in the logs, but it's not visible in the architect view of the project. We've attempted to remove all deployments of this tool, but this instance persists. It's interfering with our current deployment by connecting to our database and causing conflicts.
The service is a Python application running from a Docker container. The relevant part of our Dockerfile is:
RUN python -m venv /opt/venv && \
. /opt/venv/bin/activate && \
pip install --upgrade pip && \
pip install -r requirements.txt
COPY . .
ENV VIRTUALENV=/opt/venv ENV PATH="$VIRTUALENV/bin:$PATH"
CMD ["python", "-m", "datasync"]
Please help us identify and terminate this ghost instance, ensuring it's completely removed from our project and no longer connecting to our database.
32 Replies
look like the instance is still running even i delete the whole project
Can anyone help me look into this isuse, this create a lot of trouble for me as i cannot run my new version of application.
a year ago
The current project is deleted, please provide some evidence that this is still running specifically on Railway
Hi Brody, before i remove the project, in the log view, there is 1 instance of data-sync alway running, and it's dont have any name, i forgot to take the screenshot of that
i thought if i delete the whole project, that service instance will got deleted as well
but when i activate the tool again inside database, it show there is still an instance running
is there anyway you can check in the background and see if there is any service runnnig
i believe the id of that service is c16d6171-d73b-4d6f-b8a5-b75102fa92cc
if i give you the screenshot of current active connection to my database, can you check it by the IP?
a year ago
I'm sorry to say but I would need some kind indication from you to clearly show that it's still running, please understand because for all I know you could be running it locally or on another cloud
then i will need to update all of my db path and variable to disconnect that instance from connect to my database
a year ago
unfortunately that would not allow me to justify searching for running instances
a year ago
i would recommend going through that method, deleting your service makes the search on my side 10x harder.
a year ago
is all you need to do is to disconnect the running service from the database?
idealy is stop the instane, if can't then i need to disconnect it from database
worst case i will need to clone the db and update the db link to other connect service
a year ago
just delete the TCP proxy, add it back, and then redeploy.
that will sever any connections and prevent further connections from wherever your app is running