• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

session database locks

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are currently having an issue with too many locks being held on the session database.The result is the appserver crashes and gets restarted.
We are using sun solaris 2.8, WAS 3.5.5 .
Does anyone has similar issues??
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One possible problem is that you are not closing your connections when you are finished with them (make sure you put con.close() in the finally of the try/catch/finally block).
Another possible problem is that your server does not have enough connections available for the number of users hitting the system (check the default settings for the server... it's probably 10 connections) so the pool is not big enough to handle it. I would look at the first one though. It happens a lot.
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by david dhavan:
We are currently having an issue with too many locks being held on the session database.The result is the appserver crashes and gets restarted.
We are using sun solaris 2.8, WAS 3.5.5 .
Does anyone has similar issues??


I'm nearly certain we fixed that in a later fixpack. In fact, we stopped locking the Session database altogether in a later version.
Kyle
 
david dhavan
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kyle,
Would you be able to tell which version/fixpack the database locking was stopped??
Also we have absolutely no control over session database in terms of opening and releasing connections..WAS handles it by default.
Ron,
The pool size is 15 per appserver and we are running 2 JVM's per box (2 boxes) so total we have 60 connections which should be enough to handle our medium volume website.
David
[ April 10, 2003: Message edited by: david dhavan ]
[ April 10, 2003: Message edited by: david dhavan ]
 
Ever since I found this suit I've felt strange new needs. And a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic