We are getting pollactivity/workflowtaskqueue RPS error in Frontend service, while we have set Frontend rps as 12000 in dynamic config, while we are getting this error at 6000 frontend request levels.
Also the error(resourse_exhausted - rps limit) is only on pollactivitytaskqueue / pollworkflowtaskqueue operations in frontend service.
Dynamic config:
how many frontend pods? do you have a load-balancer infront of them, if so can you check if its evenly distributing load across all frontends?
frontend.namespaceRps is per-frontend config
you could use frontend.globalNamespaceRPS which would be evenly distribute across your frontends
why its happening?
Rps has limit and burst. you might wanna try try increase frontend.namespaceBurstRatio from default 2 to larger value if your nave pretty bursty use case and see if that helps too