-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
[Bug] CKAN crash on arch linux when updating (even with ulimit changed) #3359
Comments
Did you start CKAN from terminal in the same shell session after setting the ulimit values?
|
yes |
Unfortunately we can't really help you there. This seems to be an OS (or maybe Mono) bug, not a CKAN bug. Maybe @BlazingPL has some more ideas on how to fight this. |
I think this is most likely a mono bug, or i would even say a app level bug, since this is the first time i had to modify my ulimit settings, this is most likely a CKAN bug where it opens lot of file descriptors for some reason... |
If you look at the stack trace, this is happening far into the Mono code, way outside of CKAN's control: If CKAN would open an unreasonable amount of files, we should see a similar exception on other OSes as well. But so far, this has only ever happened to Arch users. You could try opening a issue in the Mono repository, they know the innerworkings better than us: https://github.com/mono/mono/issues |
To be honest I've given up on playing modded ksp on Linux, as with modlist of ~100 mods there were enormous memory leaks, and some mods complained about things, whereas there was no problem on windows. |
I'm closing this now since I really can't see how this could be caused or solved from our side. |
This is an upstream bug presents in mono version 6.12.0.86 and upward. It's neither CKAN's nor Arch Linux' fault. I made a pull request to mono that fix this bug but it's taking time to be reviewed. Setting ulimit to weird values is unfortunately useless, it's not going to fix the bug in any way. One needs to use an older mono version or patch the current version with the pull request's patch. See my comment here and the mono's pull request for more details. I'll probably make a pull request to the wiki to explain everything and what to do in the mean time. |
It works with the consoleui flag though. mabye it has something to do with the graphics api? |
Indeed, @RonAndDumbleTheCats, I think at some point we said that it might be due to having too many graphical updates happening at once while downloading. We made some changes to reduce that recently in #3659, so you can try the latest dev build to see if it helps you: |
Background
Have you made any manual changes to your GameData folder (i.e., not via CKAN)? No
Problem
CKAN crashes while updating mods, even after setting the recommended ulimit values from the wiki.
Note: I tried updating mods with ckan console ui and it worked.
The text was updated successfully, but these errors were encountered: