From: Jessica Perry Hekman <jphekman@ar...> - 2001-08-10 12:30:32
I recently installed UML on my RedHat 7.1 box. I'm booting a RedHat6.2 fs
on the client system, and trying to upgrade its compiler to gcc3.0. When I
run "configure" for gcc on the client system, it runs fine for a while and
then eventually complains that it has too many open files.
Once we run out of file handles, I cannot re-run configure; I get the
error again immediately. A new shell has the same problem. Only a reboot
cleans up such that I can try again. (However, I have no trouble doing
things like "ls|more", which I'd expect to fail when we have no available
"ulimit -n" tells me I'm allowed to have 1024 files open.
/proc/sys/fs/file-max allows 8192 files (on both the client and the host).
I ran "ulimit -n 8192" on the host, then used that shell to boot the
client and ran "ulimit -n 8192" there. Things work!
However, I thought I'd report the earlier behavior, since it worries me a
little. Is it possible that UML is failing to release file handles? I've
configured gcc directly on the host machine without seeing this problem --
and I really would expect that once configuration had failed, some file
handles would become available again.
"Users complain that they receive too much spam, while spammers protest
messages are legal." -InfoWorld
"You do not have to do everything disagreeable that you have a right to
do." -Judith Martin (Miss Manners)
Get latest updates about Open Source Projects, Conferences and News.