You are not logged in.
Hi,
after a recent update I keep getting this error whenever I try to use QtCreator :
QProcessPrivate::createPipe: Cannot create pipe 0xe2808a0: Too many open files
which is highly frustrating as I don't understand what could possibly have caused this.
anyways, I looked around and found that the most asked question was the output of .`lsof |awk '{print $1}' | uniq -c | sort -n | tail` which is here:
2058 akonadi_i
2304 kded5
2541 mysqld
2692 chrome
3626 akonadi_m
4887 akonadise
7176 plasmashe
8442 qtcreator
10008 krunner
21382 chrome
Since chrome is using way more file handles I do not understand why QtCreator would have an issue, except if KDE is eating all those up ?
Please help
Offline
This has nothing to do with lsof.
Try "ulimit -n" (should be 1024), try "ulimit -n 2048". Then start qtcreator from the shell where you issued ulimit.
This suggest a bug where something either forgets to close file handles or a rogue loop/recursion - any non-regular plugin or so would be suspicious AND: you can oc. never outlimit an infinite loop/recursion!
Offline
Thanks a lot, this worked around the issue !
The strange thing is this happens from a cold boot into KDE plasma, and does not seem to affect any other aplication than QtCreator.
Still, many thanks !
Offline
It's a per-process thing (so the cold boot doesn't matter)
If you
a) have a 1024 default limit and
b) cannot blame a plugin (or your project)
you should file a bug against QtCreator - > 1024 open file handles doesn't sound like a sane condition.
Offline