This week's book giveaway is in the Design and Architecture forum.
We're giving away four copies of Communication Patterns: A Guide for Developers and Architects and have Jacqui Read on-line!
See this thread for details.
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

JForum application not responds after few days

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I run jforum as a separate web application on my site and, after few days the forum application stops responding. I see no errors in Tomcat logs, only these lines in catalina.out

9:05:55,657 INFO [QueuedExecutor ] Setting queue...
19:05:55,794 INFO [QueuedExecutor ] Creating a new thread...
19:08:04,093 INFO [PooledConnection ] Real closing connection...
19:08:04,093 INFO [PooledConnection ] Real closing connection...
19:08:04,094 INFO [PooledConnection ] Real closing connection...
etc..

Is it a defect in jforum, may be relative to missing database connectivity?
I have no such problems with other applications.
Evgeny
[originally posted on jforum.net by Evgeny]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From time to time ( 1 hour in the default configuration ), jforum restarts the connection pool. These "Real closing connection" are the logs from this action.

Maybe there is a bug, maybe not.. It runs fine for several days and the just stops? and, after the restart, if works for more several days until it stops again? or is more random?

Which database version are you using? There are how much hits in the forum per day?

When it stop again, try giving some reloads ( 10, 20 ) and see if it starts working again.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:
Maybe there is a bug, maybe not.. It runs fine for several days and the just stops? and, after the restart, if works for more several days until it stops again?


Yes, after a few days it stoped, I restarted and it works, but I expect it to stop soon again... :roll:

Rafael Steil wrote:
Which database version are you using? There are how much hits in the forum per day?



MySQL 3.23.58. Traffic is very low, I laucnhed jforum a few days ago.

Evgeny
[originally posted on jforum.net by Evgeny]
 
Whose rules are you playing by? This tiny ad doesn't respect those rules:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic