2 Replies Latest reply: Feb 20, 2008 4:12 AM by 807581 RSS

    Memory & CPU Usages

      I'm a new user of SJSAS. Currently I�ve installed v9.1 on redhat. I would be helpful for if any body answers questions below-

      1. Is it possible to set different limit for memory & CPU usages for different applications, if yes then how ?

      2. How can I monitor memory & CPU usages by different application ?

        • 1. Re: Memory & CPU Usages
          By "application", I'm assuming you mean different web/ejb/enterprise applications within a single SJSAS instance. If that's true, then the answer to your question is no -- all applications share the resources of the appserver.

          On the other hand, if you need to, you can set up multiple instances of the appserver on the same machine, deploy one application to each instance, and control the resources that the appserver itself uses. How you limit the CPU use (and monitor) is then done at the OS level -- I don't know how it's done in Linux, actually. But in Solaris, you could use the Solaris Resource Monitor, or processor sets, or Zones/LDOMs, or any number of things to affect the resources available to the appserver; look for similar things in Linux.
          • 2. Re: Memory & CPU Usages
            Thanks a lot for your reply.
            Is there any application server that can do these ?