-
Notifications
You must be signed in to change notification settings - Fork 20
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: invalid memory alloc request size 1173399096 #74
Comments
Looks like this query wants to retrieve 1GB of data. Did you set pg_wait_sampling.profile_pid to off? If not the produced view can be quite huge (and return data we don't care about in powa) |
Okay, did it; should I cleanup something to get rid of the error? |
I suppose calling pg_wait_sampling_reset_profile() should be enough |
Yes, it works! |
No error, no data. Should something be restarted/reconfigured? |
It shouldn't be needed. Do you see any row in the |
and still nothing in web interface |
Looking at the code I don't see any reason why it wouldn't be displayed. Is it the same on all pages (per instance, per database, per query)? Are you using the remote mode or local mode? If remote, how many remote servers do you have? Is the configuration page shows that pg_wait sampling is sampled and find the correct version? (assuming the UI is available on 127.0.0.1:8888 and the server has the id 42, url http://127.0.0.1:8888/config/42) |
Right after your comment, everything reappeared. (actually, I went from the Home button and now it works) |
Ah, good news. Maybe it's due to a somewhat large snapshot interval. In general data only appear after 3 snapshots, since we compute diff between snapshot (so 2 values to get a single counter), and then needs a 3rd snapshot to start drawing lines. |
No idea on the reason.
The text was updated successfully, but these errors were encountered: