How can I debug long container deploy times?
kyldvs
PROOP

2 years 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

2 years 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

2 years 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 • over 1 year ago


Status changed to Solved unicodeveloper • over 1 year ago


Railway
BOT

2 years 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 • over 1 year ago


Railway
BOT

2 years ago

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


Railway
BOT

2 years ago

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

Status changed to Awaiting Railway Response Railway • over 1 year ago


2 years 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 • over 1 year ago


Status changed to Solved brody • over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...