Jump to content

Avorion crashes with too many open files in dev mode


nand

Recommended Posts

In dev mode, reliably, after going to main menu and loading back into a sector while developing a mod, after doing this many times, Avorion will log something like

Quote

 

cannot open "/path/to/foo.lua: Too many open files

cannot open "/path/to/bar.lua: Too many open files

cannot open "/path/to/foo.lua: Too many open files

cannot open "/path/to/bar.lua: Too many open files

cannot open "/path/to/foo.lua: Too many open files

cannot open "/path/to/bar.lua: Too many open files

failed to load texture from file "data/textures/icons/something.png"

failed to load texture from file "data/textures/icons/somethingelse.png"

failed to load texture from file "data/textures/icons/something.png"

failed to load texture from file "data/textures/icons/somethingelse.png"

failed to load texture from file "data/textures/icons/something.png"

failed to load texture from file "data/textures/icons/somethingelse.png"

 

If you try to go back to main menu, Avorion client will then crash (the server usually keeps running for a bit)

Think Avorion isn't closing the files properly when exiting to main menu and because in dev mode it isn't caching them then it runs out of file handles and crashes.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...