Railay
Railay
RRailway
Created by Railay on 11/4/2023 in #✋|help
Deployment crashed, but no logs to help troubleshoot
I'm trying to troubleshoot a live issue, this is pretty challenging
14 replies
RRailway
Created by Railay on 11/4/2023 in #✋|help
Deployment crashed, but no logs to help troubleshoot
@Brody Logs are really spotty. I just deployed new code 15 minutes ago (12:27PM). No logs in Railway UI until 12:34pm, and thats when the log timestamps started, I couldn't view any records prior to 12:34pm. 5 minutes later, I could see log data back to 12:31pm. But new log data isn't showing up... it's 12:42 and the last log record I can see is from 12:36
14 replies
RRailway
Created by Railay on 11/4/2023 in #✋|help
Deployment crashed, but no logs to help troubleshoot
Can close this. It took 10 minutes for the log data to show up 😭
14 replies
RRailway
Created by Railay on 11/4/2023 in #✋|help
Deployment crashed, but no logs to help troubleshoot
I redeployed an old container, in the meantime, but I don't know how to fix the issue without some good ol'fashioned log data
14 replies
RRailway
Created by Railay on 11/4/2023 in #✋|help
Deployment crashed, but no logs to help troubleshoot
34108dc5-7795-469f-b853-2863bbedfa6f
14 replies
RRailway
Created by Railay on 6/28/2023 in #✋|help
Searching Logs returns no results and resets the results after a few seconds
Is there a way I can download my logs? I need to troubleshoot an issue. And last I knew, the railway CLI didn’t work for log access in the current container
8 replies
RRailway
Created by Railay on 6/28/2023 in #✋|help
Searching Logs returns no results and resets the results after a few seconds
34108dc5-7795-469f-b853-2863bbedfa6f
8 replies
RRailway
Created by Railay on 6/12/2023 in #✋|help
Memory Leak with Python Web App
Anyway, thanks again for all the good ideas, truly appreciate the time you spent
45 replies
RRailway
Created by Railay on 6/12/2023 in #✋|help
Memory Leak with Python Web App
Hahaha, I'm just glad to have a solution
45 replies
RRailway
Created by Railay on 6/12/2023 in #✋|help
Memory Leak with Python Web App
@Brody turns out it was Picologging, a logging package from Microsoft. A friend helped troubleshoot this and figured it out. I switched back to the logging module in the python standard lib and it's all good now
45 replies
RRailway
Created by Railay on 6/12/2023 in #✋|help
Memory Leak with Python Web App
Yeah, at least its part of a huge project in the JS world. I'll check it out and see if it's viable. The other ORM I know about has a plugin with my ASGI framework, so I'll see what's easy to try and see if it makes a difference
45 replies
RRailway
Created by Railay on 6/12/2023 in #✋|help
Memory Leak with Python Web App
I'll try to plugin Prisma for python and see if it helps
45 replies
RRailway
Created by Railay on 6/12/2023 in #✋|help
Memory Leak with Python Web App
Hahaha fair. Thanks for chatting with me about this, it really is helpful
45 replies
RRailway
Created by Railay on 6/12/2023 in #✋|help
Memory Leak with Python Web App
There is another ORM i could try using. It's much less popular... SQLAlchemy in Python is like Prisma in JS... it's huge. But you're right, it's worth checking off the list
45 replies
RRailway
Created by Railay on 6/12/2023 in #✋|help
Memory Leak with Python Web App
So if I comment out the function to save the data to SQL, theres no memory leak
45 replies
RRailway
Created by Railay on 6/12/2023 in #✋|help
Memory Leak with Python Web App
Yeah, I'll look at the dependancies, but as far as storing the data, it should primarily be SQLAlchemy and the DB driver, Psycopg or Asyncpg
45 replies
RRailway
Created by Railay on 6/12/2023 in #✋|help
Memory Leak with Python Web App
I haven't tried other versions of Python, but that's a good idea, easy to try
45 replies
RRailway
Created by Railay on 6/12/2023 in #✋|help
Memory Leak with Python Web App
Yeah, I did try a couple versions of SQLAlchemy... 1.4.x which has been out for years, and the new 2.0 version which came out earlier this year.
45 replies
RRailway
Created by Railay on 6/12/2023 in #✋|help
Memory Leak with Python Web App
That's why I commented on the Node JS ticket... I'm desperate 😂
45 replies
RRailway
Created by Railay on 6/12/2023 in #✋|help
Memory Leak with Python Web App
Nope, nothing from the last year and I looked at a bunch of old SO threads to see if there were any ideas I could pull from other peoples issues.
45 replies