Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • ...but are all those threads for the same process rather than separate processes? I have a Tomcat 4.x server running on a Linux 2.4.x kernel and see the same thing.

    You probably know this, but just in case: you can cap the memory a JVM uses with command-line arguments: -Xms=xxxM sets the initial heap size (in MB), -Xmx=xxxM sets the max. (More with 'java -X -?'.) With tomcat these are typically set in your bin/catalina.sh file using JAVA_OPTS from the environment.

  • As I wrote in my profile:

    My personal theory is that Java is a fraud perpetrated by Sun to stimulate hardware sales. "What? Too slow? Tends to eat up all of swap? You obviously need our new E20599000!"
  • Top is being stupid and showing all threads, press H and it shows you a better view of the world.... as I pointed out earlier today.

    The reason that machine is slow is because it starts swaping programs to it's local IDE disk to get more buffer space reading from a SAN that has 8GB of read cache, and the ide causes interrupt storms and the machines start crawling..

    Linux in it's infinitly stupid swap implementation.
    --
    sky