Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Cannot overwrite file /home/armando/.config/QtProject/qtcreator/devices.xml: Too many open files
QtWS25 Last Chance

Cannot overwrite file /home/armando/.config/QtProject/qtcreator/devices.xml: Too many open files

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 2.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    QtNewComer
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    • Paul ColbyP Offline
      Paul ColbyP Offline
      Paul Colby
      wrote on last edited by Paul Colby
      #2

      Hi @QtNewComer,

      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 lsof which 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.

      Cheers.

      1 Reply Last reply
      4

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved