• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Java threads Vs OS threads

Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My application environment is WebSphere 6.1 in AIX

I would like to know the correlation between threads running in WebSphere and OS threads.

Why I ask this question is because I am facing a queer problem of JVM crashing, and "java.lang.OutOfMemoryError: Failed to fork OS thread" in java core dump text file with high CPU usage while performing load test.

Also out of 300 threads that are reported in javacore, at least 55% are in blocked and only 30% in runnable.

My RAM is 16GB and swap space is 4GB and two Wesbphere node running with 2GB heap each. When testing with Websphere 6.1 the nodes are 6.1 nodes, and when testing with 5.1, the nodes are 5.1 nodes. The websphere 5.1 nodes run with ease, but Websphere 6.1 gives coredump. At the point of coredump the number of threads are 150 in each nodes.

My question is : ps -ef gives only the jvm processes, then what is the impact on OS, directly or directly if there are many threads within JVM.

Thanks and Regards
    Bookmark Topic Watch Topic
  • New Topic