2 Replies Latest reply: Feb 19, 2008 10:12 PM by 807581 RSS

    Memory & CPU Usages

    807581
      Hi,
      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 ?

      Thanks
        • 1. Re: Memory & CPU Usages
          807581
          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
            807581
            Thanks a lot for your reply.
            Is there any application server that can do these ?