Thanks Georg,

As I said, I can't force the error - I have increased logging and will just see if I can catch it happening in the wild to determine what might be causing the problem.  Nothing else is running on this dev machine except tomcat and a MySQL instance.

If I can track it down, I will come back to the list with the info. I was just wondering if anyone else has noticed it yet.

I can try setting up additional VMs with Tomcat 7 and 8.0.x, then let it run for a few days and see if it happens there or not. Unfortunately, Ubuntu doesn't push tomcat releases as often as I would like, so I could try to manually setup the latest 8.5 series and see if they corrected it.... looks like more testing in my future!

--
Jeff


On 03/27/2018 11:49 AM, Georg Kallidis wrote:
Using Tomcat 7.x and Java 7/8 no problems are encountered here. You have
probably already checked pool size, memory and non-closed database
connections (anything remarkable in the database connections/log and
reviewed the top cmd?

Tomcat 8.5 has removed log4 1.x anymore, though.. as a last resort, if you
want to change logging you can exclude log4j (and even commons-logging)
and use e.g. log4j-over-slf4j (and jcl-over-slf4j) and another binding
(e.g. logback). You may then have to map log4j.properties to logback.xml
and provide logbackConfigLocation in web.xml. Switch back to Tomcat 8.0.x?

https://tomcat.apache.org/tomcat-8.5-doc/changelog.html

-Georg



Von:    Jeffery Painter <[email protected]>
An:     Turbine Developers List <[email protected]>
Datum:  27.03.2018 15:49
Betreff:        Turbine 4.0.1 seems to "stall" after long period



Hello,

As you know I have been busily building some new apps with Turbine 4.0.1

I am using Ubuntu 17.10 with the default Tomcat install: tomcat8
8.5.21-1ubuntu1 and Java 1.8.0_162

After some period (>24 hours), when I go to login to the Turbine app, it
just sits there and hangs. I am going to increase the log levels to
debug, but I don't see any immediate errors popping up. It just hangs on
trying to process the user login action.  If I go into the Tomcat admin
manager and stop/start the app, it works again and will process user
logins.  I think this is a pretty critical issue.

Not sure if anyone else is seeing this.  It has happened to me a few
times.  At first, I thought there might be some issues with having old
Turbine 2.3.x apps running in the same container (I was getting some odd
behavior with mixed versions and logging - it was throwing all the logs
from the new apps into the 2.3.x log folder).

I made a point to rename all my app log files with
[appname]-turbine.log, [appname]-velocity.log etc, and at least then
they were not colliding.

I have since gotten rid of all my Turbine 2.3.x based apps, and the
logging issue has gone away (all apps log to their own log directories
properly now).  But the stall out on user logins has reared its ugly
head again.

I haven't put anything into real production yet, so I will give it a few
days and see if the behavior is repeatable.

Anyone else seeing this?

Thanks



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to