Bug 7411 - recursive self-loop: Too many open files
Summary: recursive self-loop: Too many open files
Status: CLOSED FIXED
Alias: None
Product: ccache
Classification: Unclassified
Component: ccache (show other bugs)
Version: 3.0pre0
Hardware: x64 Linux
: P3 normal
Target Milestone: 3.0
Assignee: Joel Rosdahl
QA Contact: Joel Rosdahl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-06 08:05 UTC by Wilson Snyder
Modified: 2010-07-09 04:19 UTC (History)
0 users

See Also:


Attachments

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.