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

Task stuck at "Retrieving package list" #182

Closed
Cloud-Kid opened this issue Jul 15, 2024 · 2 comments
Closed

Task stuck at "Retrieving package list" #182

Cloud-Kid opened this issue Jul 15, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Cloud-Kid
Copy link

Hi again,

While trying to sync the RedHat appstream repo (Only this one) I have the following error :

image

Tested on multiple repomanager versions including the latest. I tried multiple times, waiting 4+ hours but I really think nothing is happening (Also minimal CPU usage is being used).

Let me know if you have any ideas.

Regards, Cloudkid

@lbr38
Copy link
Owner

lbr38 commented Jul 15, 2024

Same as #119 (see my latest message). You task has reached php memory limit and the script exited.

In most case it should have printed an error message in the app but there is a bug where sometimes php doesn't even have enough memory to print the error itself. I just patched this bug today but I need more tests to release a new version.

For now you can stop the task (stop button) if not already done and dedicate more RAM to your docker instance. In the linked issue we saw that about 4GB+ were required to parse the huge packages list of Oracle Baseos and Appstream repo, I think this might be quite the same for RHEL Appstream. I know this is a lot but I don't know why the xml lib is consuming so much RAM.

Thanks for reporting.

Note: I just opened a discord channel here https://discord.gg/ge4Tu3Wk if you need quick help or ask questions (french or english spoken). In some case I think it can be easier to chat for quick debugging.

@lbr38 lbr38 self-assigned this Jul 15, 2024
@lbr38 lbr38 added the bug Something isn't working label Jul 15, 2024
@Cloud-Kid
Copy link
Author

That's right indeed, I just increased the memory limit to 1024 and the task is running successfully. Thanks for the tip !

I'll check the discord soon !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants