LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] anyone have any experience of java thread problems on linux ?

[ILUG] anyone have any experience of java thread problems on linux ?

Nick Murtagh murtaghn at tcd.ie
Wed May 8 12:25:05 IST 2002


On Wednesday 08 May 2002 12:08, Hunt, Bryan wrote:
> , each thread sleeps 60 seconds and then finishes. I cannot get past a
> thread count of
> 1024 . I will be needing a lot more threads than that for my application to
> work properly.

I'd be tempted to say that a program that needs that many threads is badly
designed, but I'm sure you've got a really good reason...

> I then tried out my thread testing program again.
> Same thing... it gets to 1018 threads and then produces an out of memory
> error.

Maybe it was out of memory?

> I can run 4 instances of it at the same time in four different consoles and
> I get
> console 1 664
> console 2 1018
> console 3 1017
> console 4 917
>
> This is wierd ... anyone got any ideas ?

Have you checked ulimit's process limit? On linux each thread results in a 
process...

Nick




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell