Cannot overwrite file /home/armando/.config/QtProject/qtcreator/devices.xml: Too many open files
I just install QT 5 on ubuntu 16.04. Everything was fine when i launched Qt after installation. But on closing QT and now every time I open or close QT I get this error for ever .XML file in the qtcreator directory. QT is the only application running,
so I don't understand the "too many open files error". Need Help!
Linux applies a limit on the number of files open for each user, so its possible (indeed, very likely) that you have files open from other processes using up most of your user limit - not necessarily Qt Creator.
Have a look at the output of:
ulimit -n- this shows you how many files your user is allowed to have open. Then try
lsofwhich will show you what files are currently open - look through that list, and see which application(s) is using up your limit.
You can try a command like:
lsof | cut -d' ' -f1 | sort | uniq -c | sort -n
to get a quick list of which processes have how many files open.