Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while calling public.powa_wait_sampling_src: canceling statement due to lock timeout #142

Closed
banlex73 opened this issue Oct 15, 2020 · 4 comments
Assignees

Comments

@banlex73
Copy link

Getting Error while calling public.powa_wait_sampling_src: canceling statement due to lock timeout CONTEXT: PL/pgSQL function powa_wait_sampling_src(integer) line 4 at RETURN QUERYon.
Root cause: powa_wait_sampling extension on server blocks SELECT <>, * FROM public.powa_wait_sampling_src(0)
Cluster restart helps.

@rjuju rjuju self-assigned this Oct 16, 2020
@rjuju
Copy link
Member

rjuju commented Oct 16, 2020

Hello,

powa_wait_sampling extension on server blocks SELECT <>, * FROM public.powa_wait_sampling_src(0)

Do you mean pg_wait_sampling extension or something specific to powa_wait_sampling table?

This is likely a problem with pg_wait_sampling extension. I think I already saw a similar problem using older versions of pg_wait_sampling extension. Which version are you using?

If the problems reappears, could you show the full content of pg_stat_activity and pg_locks on the underlying remote server?

@banlex73
Copy link
Author

banlex73 commented Oct 16, 2020 via email

@rjuju
Copy link
Member

rjuju commented Jan 7, 2021

Hello @banlex73. For the record the problem is likely due to postgrespro/pg_wait_sampling#29 (and postgrespro/pg_wait_sampling#18 There's a PR to fix that at postgrespro/pg_wait_sampling#31, so at we just have to wait to it to be merged and released.

@rjuju
Copy link
Member

rjuju commented Mar 8, 2021

As far as I can see this has been merged and released, so I'm closing this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants