[Mono-devel-list] C# Threading : libgcc_s.so.1 mustbeinstalledfor pthread_cancel to work

Rafael Mizrahi rafim at mainsoft.com
Sun Aug 7 08:57:41 EDT 2005


Thanks brion,
Using ulimit -n 8192, I worked around my problem, too.

In fact, my program was "looking for problems", 
I ran a program that loads thousands of jar files into an AppDomain, and
the IBM JVM, probably, does not release them fast enough. 
Once again, I did not have this problem using Sun JVM.

rafi

-----Original Message-----
From: Brion Vibber [mailto:brion at pobox.com] 
Sent: Sunday, August 07, 2005 12:15 PM
To: Rafael Mizrahi
Cc: Ben Maurer; mono-devel-list at lists.ximian.com
Subject: Re: [Mono-devel-list] C# Threading : libgcc_s.so.1
mustbeinstalledfor pthread_cancel to work

Rafael Mizrahi wrote:
> Thanks for the info, Ben,
> Indeed, my problem was not solved by adding
> export LD_ASSUME_KERNEL=2.4.19

In poking at this some more, I have tried the LD_ASSUME_KERNEL but it
doesn't seem to make a particular difference that I can tell.

What does seem to have helped is raising the open files limit with
ulimit; I've got a few hundred index files, and the daemons were
sometimes getting clogged also with TCP sockets stuck in CLOSE_WAIT
state.

After raising the open file limit from 1024 to 8192 things seem more
reliable; perhaps it was trying to load the library at runtime and
failing? Or perhaps it's completely unrelated...

-- brion vibber (brion @ pobox.com)



More information about the Mono-devel-list mailing list