Hello,

we notice slow loads in the gui when you open the popup of a stage.  The 
loading animation in the popup takes 5-6 seconds on every stage, and we try 
to narrow down why.

What we know so far is if we disable *and* delete all agents in the gui the 
loading is instant. With the agents registered (imported db table 
"agents"), the load time is back to several seconds. 

Gocd does the following sql statment in the database. 'update agents set 
deleted=true where uuid in("alot uuids")'

If I execute the statement directly in the database, it does not increase 
the performance. You have to delete the agents via gui. 

The database backend is a postgres 14.
We have several other gocd setups on the same databaseserver without this 
problem. 

The setup consists of 19 agent-servers with 5 agents each, overall 95 agents. 

Every agent did process ~ 15000 stages so far. 

I haven+t figured out at the moment what exactly gocd does during the 
creation of the popup. But it must have something to do with the agents 
and/or the agent runtime history. 

Maybe someone can point me in the right direct where the bottleneck could 
be. 

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/502ce13f-1696-490c-aa91-6ca542f7e78cn%40googlegroups.com.

Reply via email to