On Mon, Jan 25, 2010 at 11:29 PM, aw <[email protected]> wrote: > > Can you define "freeze"? Is that the Java process stops for a short > period > > of time (~1 second)? A long period of time (many minutes)? Until you > > restart the Java process? What does the CPU utilization look like? Is > the > > freezing for a single client/browser or all of them? > > Freeze in terms of minutes. But sorry, I haven't timed it yet. > > I just posted a symptom here: > http://groups.google.com/group/liftweb/browse_thread/thread/1d91ce365ed22216# > > I decided to drill into my issue in more detail to try and find an > error message, stack trace, memory issue, CPU consumption -- anything > that might give me a hint. Alas, the closest thing I have is the > FIXME comet timeout message. > > I'd like to add that the code works some of the time (so I know that I > don't have a syntax error). When it doesn't work, it is seemingly > random. Not necessarily failing due to high load. And actually, I am > the only one hitting the server (with perhaps two browser windows at > the most) right now. So, it isn't like I have hundreds of users... > > > Is anybody actually using Tomcat and Comet together with Lift? Or is > this oil and water? >
http://much4.us is Tomcat and Lift and has been running flawlessly for nearly 2 years. Based on the other thread, you have a logic error in your Comet render method. The application server is not freezing, the page is taking a long time to render and it's taking a long time to render because it's waiting for the comet component to render itself. If the behavior differs between Jetty and Tomcat, it's likely that you have some sort of deadlock in your code that's triggered based on the timing that you get out of Tomcat. It's not a Lift thing. > > Note that I am not using APR. I don't think I am using NIO. And I do > have compression turned on. But that shouldn't matter, right? > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<liftweb%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Surf the harmonics -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
