mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4.19-xfs eating filehandles when compiled with gcc 3.2
@ 2002-11-15 10:17 Mikael Olenfalk
  2002-11-15 11:35 ` Chris Wedgwood
  0 siblings, 1 reply; 4+ messages in thread
From: Mikael Olenfalk @ 2002-11-15 10:17 UTC (permalink / raw)
  To: linux-kernel



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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-11-16 21:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-15 10:17 2.4.19-xfs eating filehandles when compiled with gcc 3.2 Mikael Olenfalk
2002-11-15 11:35 ` Chris Wedgwood
2002-11-15 12:22   ` Mikael Olenfalk
2002-11-16 21:13     ` Chris Wedgwood

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