Bug 7411 - recursive self-loop: Too many open files
recursive self-loop: Too many open files
Product: ccache
Classification: Unclassified
Component: ccache
x64 Linux
: P3 normal
: 3.0
Assigned To: Joel Rosdahl
Joel Rosdahl
Depends on:
  Show dependency treegraph
Reported: 2010-05-06 08:05 UTC by Wilson Snyder
Modified: 2010-07-09 04:19 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Wilson Snyder 2010-05-06 08:05:21 UTC
First, thanks *so much* for bringing ccache back to active development!  I had looked at gocache, but it didn't suite what I was looking for, so like others have minor hacks on top of 2.4 I'm trying to get rid of.

So, I'm experimenting on the git trunk.

Not thinking about how ccache works when renamed, I did effectively this:

cp -p ccache ccache-devel
./ccache-devel --version

and surprise!

ccache-prerel: Too many open files

I'm not sure what the right behavior should be, but I doubt this is it. :)   I'd suggest setting an env var, and if that env var is set earlier when you're called, it's a recursive loop, so print an error message.
Comment 1 Joel Rosdahl 2010-05-09 14:18:17 UTC
Fixed in 24e6033.