From: "Mikael Olenfalk" <mikael@netgineers.se>
To: <linux-kernel@vger.kernel.org>
Subject: 2.4.19-xfs eating filehandles when compiled with gcc 3.2
Date: Fri, 15 Nov 2002 11:17:18 +0100 [thread overview]
Message-ID: <000a01c28c90$2d3c6ff0$0501a8c0@devnet.vodha> (raw)
Hi,
I know you might be very busy with the 2.5 -> 2.6 transition, but this
is the only list I could imagine that has the answer to my problem.
I have a Gentoo Linux 1.4 RC1 system, that ships with a GCC 3.2 compiler
and 2.4.19 with the XFS patches (and IMON btw).
I have just bootstrapped my system and everything went fine until I
first started (tried to) Gnome. It just freezes for a while and after
that it breaks and jumps back to the console.
Nothing in syslog, nothing anywhere.
A little bit later (I think after a kernel recompile) I discovered a
message like "too many open files" and catted /proc/sys/fs/file-nr which
gives this output:
8196 8006 8196
I rebooted and started this script on VC/2:
# while true; do sleep 3; cat /proc/sys/fs/file-nr; done
I then did some testing on the other console, just ran some commands
while watching the output of my script :)
First I ran a find / -name \*, which brought the second file-nr value to
6. There was some jumping between 4-6 for a while but it kept at six
after that.
Then I did recompile the kernel, the value went to 175. Then I
recompiled glibc which made it jump to 400 something. Funnily enough a
find / -name \* lowered the value by certain amount again. (But it kept
increasing after a while).
I have bootstrapped my whole system once with CFLAGS="-march=athlon-xp
-O3 -mpipe" and CXXFLAGS=$CFLAGS.
And once with "-march=athlon-xp -mcpu=athlon-xp ..." don't ask me why, I
don't know so much about these two flags, the seconds approach did at
least remove some warnings.
My first thought was that gcc 3.2 has some compatibility issues with the
kernel and glibc. Of course it could be gnome, too.
Perhaps anybody knows of any issues with gcc 3.2??
Regards,
mikael
next reply other threads:[~2002-11-15 9:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-15 10:17 Mikael Olenfalk [this message]
2002-11-15 11:35 ` Chris Wedgwood
2002-11-15 12:22 ` Mikael Olenfalk
2002-11-16 21:13 ` Chris Wedgwood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000a01c28c90$2d3c6ff0$0501a8c0@devnet.vodha' \
--to=mikael@netgineers.se \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome