How can I debug long container deploy times?
kyldvs
PROOP

a year ago

Over the past few days our build times have gone from fast (~1-2 mins) to slow (~5-15+ mins). A lot of the time is spent in the "Deployment in progress: Creating containers..." step. From what I can tell, there's no logs available in either the build/deploy sections for this step so it's hard for me to get visibility in what has slowed it down so much.

It's entirely possible we introduced some large dependency and the issue is on our end, but I'm not sure how I can easily figure that out. (Also possible that we are getting throttled because we have a decent number of services deploying at the same exact time usually.)

Here's an example deploy with a very slow container step: https://railway.com/project/ec5ee1c6-7a30-4381-a029-34b7f5aa2790/service/cc4fe6e8-8a1e-4ef6-9056-916a957b9891?environmentId=a2f67e18-9220-49f4-aa7e-b4e5b8c317e6&id=b78b7234-4ceb-4046-8846-28240f73f0d5#deploy

Solved

4 Replies

kyldvs
PROOP

a year ago

I was able to find a big dependency that got added to our packages without realizing it (torch). Removing it brought our build times back down to normal.

It still would be nice to have an easier way to debug this part of the deploy when it gets really slow, but you can mark this issue as resolved!


unicodeveloper
PRO

a year ago

I am glad you solved this. Yeah I agree with you on having an easier way to know.


Status changed to Awaiting User Response Railway about 1 year ago


Status changed to Solved unicodeveloper about 1 year ago


Railway
BOT

a year ago

An internal ticket has been attached to this thread. Updates will be relayed in this thread, so keep an eye out!

Status changed to In Progress Railway about 1 year ago


Railway
BOT

a year ago

Update: An internal ticket linked to this thread has been changed to Todo.


Railway
BOT

a year ago

Update: An internal ticket linked to this thread has been changed to Completed.

Status changed to Awaiting Railway Response Railway about 1 year ago


a year ago

Hello,

We resolved an issue to this, your deploys should go out in a timely manner now.

Best,
Brody


Status changed to Awaiting User Response Railway about 1 year ago


Status changed to Solved brody about 1 year ago


Loading...