incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Willeke <...@willeke.com>
Subject Re: DEBUG com.ecyrd.jspwiki.util.WatchDog - dumping stacktrace for too long running thread : Thread[http-80-4,5,main]
Date Fri, 27 Jan 2012 19:16:22 GMT
Thanks you for your response.

How could I determine the page?

The error repeats over and over (50K time a day) with the only reference I
can determine is like
Thread[http-80-48,5,main]
Thread[http-80-16,5,main]
where the
Thread[http-80-##,5,main] changes

I also see:
2012-01-27 13:20:37,886 [WatchDog for 'Wikiwilleke'] DEBUG
com.ecyrd.jspwiki.util.WatchDog  - dumping stacktrace for too long running
thread : Thread[JSPWiki RSS Generator,5,main] java.lang.Thread.sleep(Native
Method)
com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:144)dumping
stacktrace for too long running thread : Thread[JSPWiki RSS
Generator,5,main] java.lang.Thread.sleep(Native Method)
com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:149)dumping
stacktrace for too long running thread : Thread[JSPWiki RSS
Generator,5,main]
com.ecyrd.jspwiki.rss.RSSThread.backgroundTask(RSSThread.java:109)
com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:140)dumping
stacktrace for too long running thread : Thread[JSPWiki RSS
Generator,5,main] java.lang.Thread.sleep(Native Method)
com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:144)


Based on the references to the "JSPWiki RSS Generator", I shut off the RSS
generation and things seem to be better, but shortly saw the errors again.

Searched for one of the pages, by the reference
dump Thread[http-80-30], show right after startup.
Found that earlier in the trace the same reference showed as:
2012-01-27 09:46:55,005 [http-80-30] DEBUG
com.ecyrd.jspwiki.auth.acl.DefaultAclManager Wikiwilleke:/Diff.jsp
Wikiwilleke:http://wiki.willeke.com/Diff.jsp - page=Francis-Hwinfo

Turns out "Francis-Hwinfo" was a 13k line file of txt dump from a Linux
server and all held in {{{ 13,000+ lines of txt }}}

Shut wiki down and found the Francis-Hwinfo.txt file and reduces the text
to a few lines.
All looks well again.

Thanks again for your help.

--
-jim
Jim Willeke


On Fri, Jan 27, 2012 at 1:13 PM, Harry Metske <harry.metske@gmail.com>wrote:

> Jim,
>
> the hanging request must be somewhere in Diff.jsp or PageInfo.jsp.
> The stacktrace below however looks incomplete.
> Can you find out the page, and how many versions it has ?
> Could it be RCS issues, since the stacktrace indicates that you are using
> the rcs provider?
>
> regards,
> Harry
>
>
> 2012/1/27 Jim Willeke <jim@willeke.com>
>
> > We have 4-5 JSPWikis running on virtual hosts under tomcat.
> > ONE of these virtual host continues to have issues.
> >
> > We recently updated to JSPWiki v2.8.4 form 2.6.? and we still struggle
> with
> > this one site.
> >
> > With debug logging enabled, we see this repeat over and over again:
> > 2012-01-26 19:00:08,876 [WatchDog for 'Wikiwilleke'] DEBUG
> > com.ecyrd.jspwiki.util.WatchDog  - Checking watchdog 'http-80-4'
> > 2012-01-26 19:00:08,876 [WatchDog for 'Wikiwilleke'] INFO
> > com.ecyrd.jspwiki.util.WatchDog  - Watchable 'http-80-4' exceeded timeout
> > in state 'Generating INFO response' by 606 seconds
> > 2012-01-26 19:00:08,880 [WatchDog for 'Wikiwilleke'] DEBUG
> > com.ecyrd.jspwiki.util.WatchDog  - dumping stacktrace for too long
> running
> > thread : Thread[http-80-4,5,main]
> > org.apache.commons.jrcs.diff.myers.MyersDiff.buildPath(MyersDiff.java:88)
> > org.apache.commons.jrcs.diff.myers.MyersDiff.diff(MyersDiff.java:52)
> > org.apache.commons.jrcs.diff.Diff.diff(Diff.java:159)
> > org.apache.commons.jrcs.diff.Diff.diff(Diff.java:144)
> >
> >
> > When we edit a page and save the page, the page will hang with all button
> > disabled.
> >
> > 2012-01-26 19:10:31,861 [http-80-6] DEBUG
> com.ecyrd.jspwiki.util.WatchDog
> > Wikiwilleke:/Edit.jsp - http-80-6: Entering state Filtering for URL
> > /Edit.jsp, expected completion in 90 s
> > 2012-01-26 19:10:31,861 [http-80-6] DEBUG
> > com.ecyrd.jspwiki.ui.WikiServletFilter Wikiwilleke:/Edit.jsp - Using
> > MyServletResponseWrapper
> > 2012-01-26 19:10:31,861 [http-80-6] DEBUG
> > com.ecyrd.jspwiki.auth.SessionMonitor Wikiwilleke:/Edit.jsp - Looking up
> > WikiSession for session ID=81F69D4D65C7E5FE0364FAFE4531189A... found it
> > 2012-01-26 19:10:31,861 [http-80-6] DEBUG
> > com.ecyrd.jspwiki.auth.SessionMonitor Wikiwilleke:/Edit.jsp - Looking up
> > WikiSession for session ID=81F69D4D65C7E5FE0364FAFE4531189A... found it
> > 2012-01-26 19:10:31,861 [http-80-6] DEBUG
> > com.ecyrd.jspwiki.auth.SessionMonitor Wikiwilleke:/Edit.jsp - Looking up
> > WikiSession for session ID=81F69D4D65C7E5FE0364FAFE4531189A... found it
> > 2012-01-26 19:10:31,861 [http-80-6] DEBUG
> > com.ecyrd.jspwiki.ui.WikiServletFilter Wikiwilleke:/Edit.jsp - Executed
> > security filters for user=jim, path=/Edit.jsp
> > 2012-01-26 19:10:31,862 [http-80-6] DEBUG
> > com.ecyrd.jspwiki.auth.SessionMonitor Wikiwilleke:/Edit.jsp Wikiwilleke:
> > http://wiki.willeke.com/Edit.jsp - Looking up WikiSession for session
> > ID=81F69D4D65C7E5FE0364FAFE4531189A... found it
> > 2012-01-26 19:10:31,862 [http-80-6] DEBUG com.ecyrd.jspwiki.WikiContext
> > Wikiwilleke:/Edit.jsp Wikiwilleke:http://wiki.willeke.com/Edit.jsp -
> > Creating WikiContext for session ID=81F69D4D65C7E5FE0364FAFE4531189A;
> > target=LFM-20
> > 2012-01-26 19:10:31,863 [http-80-6] DEBUG JSPWiki Wikiwilleke:/Edit.jsp
> > Wikiwilleke:http://wiki.willeke.com/Edit.jsp - preview=null, ok=Save
> > 2012-01-26 19:10:31,863 [http-80-6] INFO JSPWiki Wikiwilleke:/Edit.jsp
> > Wikiwilleke:http://wiki.willeke.com/Edit.jsp - Saving page LFM-20.
> > User=jim, host=192.168.1.57
> > 2012-01-26 19:10:31,864 [http-80-6] DEBUG com.ecyrd.jspwiki.PageManager
> > Wikiwilleke:/Edit.jsp Wikiwilleke:http://wiki.willeke.com/Edit.jsp -
> > Unlocked page LFM-20
> >
> > We are using container authentication but have almost no issues with any
> of
> > the other sites.
> >
> > Any ideas?
> >
> > Thanks
> >
> > --
> > -jim
> > Jim Willeke
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message