Since we’ve update to v0.236.0 we often have issue with the n8n main instance (UI part) with 504 error. Not sure but it seems that the issues come from database we use PostgresSQL. I wanted to downgrade but there is incompatibility now with the database.
Do you have also issue, slow interface since you upgrade to 0.236.0 ? For information, we have plenty of excutions (500) in simultaneous but it was the same before the update and we didn’t notice issue before.
Hi @Kent1 , sorry to hear that you’re running into this!
Quick question for you - can you let me know your upgrade path to 0.236.0? Do you know what version you upgraded from? That might help us out in diagnosing this issue.
Thanks for sharing that screenshot, @Kent1 - do you have any other logs you might be able to share, or your debug log? With that information I can get the engineering team’s eyes on this for you.
Currently I don’t see other interesting information except that the CPU is very high (but I have to admin that before I don’t know if it was the same than now or not, I didn’t check before because I haven’t issue before) .
Thanks so much for that information! I’m going to flag this with our engineers in order to take a deeper look into this, and I’ll be back when I have any updates
Unfortunately, 0.234 is an irreversible migration - but maybe @krynble can help troubleshoot and bring some ideas to the table in the meantime, especially if this is related to queue mode?
One thing that might help @krynble would be to check the general Postgres status using SHOW max_connections; (showing how many connections are currently allowed) and SELECT * FROM pg_stat_activity; (showing which connections are currently in use), and posting them here. This should look something like this:
Once again thank you very much for your help. I increase this morning the number of max_connexion (set to 1000) and the shared_buffer too. I will let you know if it’s better or not.
Last question, I have this information sometimes, should I update something in n8n conf to avoid this ? :
Just to let you know that I increase the max connection in postgres and it’s a bit better. I still have some issues sometimes when there is a spike of execution but the issue doesn’t come from postgres anymore.
Good to know @Kent1 - I’ve let our engineering team know and they have these updates, and I’ll be back when I have updates from them Sorry for the trouble in the meantime!