-
Notifications
You must be signed in to change notification settings - Fork 124
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
Django Cursor not found on publish #3162
Comments
Can you elaborate? Is this a particular repo, a custom one, how large is it? |
hi, sorry, the repository got 10.000 packages and basically contains the alma8 baseos and alma8 appstream remote repositories which get synced regulary. Do you know how to fix the current condition I'm having? repair api didn't do anything unfortunately |
I tried restarting postgres, all my pulp3 services. but that didn't help. restarting my whole pulp server DID fix it for now. |
Are you using pgBouncer? |
No I’m not. I don’t have any modifications beyond the basic setup |
@ipanova I'm maybe 70% confident this is related to the issue you've just fixed. WDYT? |
My changes did not really touch that part, however what strikes me odd is that pulp services + postgres restart did not help until whole server needed to be rebooted. If the user did not experience this issue after server reboot maybe this weird behavior should be chalked up to some server malfunction state at the moment. |
Restarting postgres does seem to have solved the issue a while back. Have only experienced it once more where I could test that maybe I didn’t restart postgres properly the first time. It’s a weird issue |
How much memory does the system have? Maybe it's possible that the OOM killer came along and killed the posgresql process? |
8GB total. Currently 2.8GB free. Don’t know about then. It’s a VM with the sole purpose of running pulp so it isn’t used for something else at any point. Postgres version is 10.21-2 if that helps |
That's not much free memory, particularly if you want to run more than one task at a time. Maybe you can tweak the worker / webserver counts to free up a bit more space for tasks? |
I know we have issues on Postgresql version 10 that we have never seen on Postgresql version 12+, we recommend version 12+ in the docs I don't know if this has ever recurred, but I do recommend a newer Postgresql if possible. |
We're going to close this issue - esp since we have never seen it on postgres-12, which is the current min recommendation. If you hit a more-reliable reproducer, please do reopen! |
Version
Please provide the versions of the pulpcore and pulp_rpm packages in use, and how they are installed. If you are using Pulp via Katello, please provide the Katello version.
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Publish a very large repository with remote links
Expected behavior
A clear and concise description of what you expected to happen.
To publish without issue
Additional context
Add any other context about the problem here. Please provide links to any previous discussions via Discourse or Bugzilla.
Can someone tell me how I can fix this without recreating the repository?
The text was updated successfully, but these errors were encountered: