Note that there are some explanatory texts on larger screens.

plurals
  1. POJava web application really slow
    primarykey
    data
    text
    <p>I am using Rackspace as a hosting provider, using their Cloud server hosting, with 256mb plan.</p> <p>I am using Geronimo 2.2 to run my java application.</p> <p>The server starts up no problem, loads Geronimo quite fast, however, when I started to deploy my web application, it is taking forever, and once it is deployed, it takes forever to navigate through pages.</p> <p>I've been monitoring the server activity, the CPU is not so busy, however, 60% of the memory is being used up. Could this be the problem?</p> <p>If so, what are my options? Should I consider upgrading this cloud server to something with more RAM, or changing a host provider to better suit my needs?</p> <p><hr></p> <p>Edit: I should note that, even if I don't deploy my application, just having Geronimo loaded, sometimes I would get a connection time when I try to shut down Geronimo.</p> <p>Also the database is on the same server as the application. (however I wouldn't say its query intensive)</p> <p><hr></p> <p><strong>Update</strong>:<br/> After what @matiu suggested, I tried running free -m, and this is the output that I get:</p> <pre><code> total used free shared buffers cached Mem: 239 232 6 0 0 2 -/+ buffers/cache: 229 9 Swap: 509 403 106 </code></pre> <p>This was totally different result than running <em>ps ux</em>, which is how I got my previous 60%.</p> <p>And I did an iostat check, and about 25% iowait time, and device is constantly writing and reading.</p> <p><hr> <strong>update:</strong> <br>Upgraded my hosting to 512MB, now it is up to speed! Something I should note is, I forgot about the Java's Permanent Generation memory, which is also used by Geronimo. So it turns out, I do need more RAM, and more RAM did solve my problem. (As expected) yay.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload