title: Glassfish running sometimes slow?
body: <p>I know this sounds like a generic question, but I need some guidance.</p>
  
  <p>We have a distributed system with <code>Java</code> swing client, <code>Glassfish 3.0.1</code> as application server and <code>PostgreSQL</code> as database. We are using <code>hessian</code> protocol for communication with the <code>Glassfish 3.0.1</code> server. </p>
  
  <p>There are around <code>5</code> users using the client simultaneously. Everything is running fine, until all users say that their client stops responding for <code>10</code> seconds and then it continues to run fine for <code>15</code> minutes for example. And then the same thing happens. When I restart the server they say it is fine, but after half a day, again the same thing happens. I looked at the database logs, and I don't see queries above <code>1</code> second. I think the problem is connected with the communication to the <code>Glassfish</code> server(all clients cannot communicate to the server at the same time). </p>
  
  <p>How could I approach the problem?</p>
  
  <p>P.S When <code>glassfish</code> stops responding, I can't even open the <code>index.html</code> page properly.</p>
  
  <p>Greetings,
  Petar</p>