You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by bu...@apache.org on 2004/03/20 15:11:26 UTC

DO NOT REPLY [Bug 23571] - Thread count increases by 1 each time webapplication is restarted or reloaded.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=23571>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=23571

Thread count increases by 1 each time webapplication is restarted or reloaded.





------- Additional Comments From vgritsenko@apache.org  2004-03-20 14:11 -------
Suggested hack will cause indexing problem after just one collection is removed:
Timer is static, and each collection has IndexManager. Once collection is
removed, its IndexManager should get garbage collected (and finalized), and
cancelling the timer will break indexing in all other collections.

Proper solution should be to implement scheduling (cron) service; see also FIXME
note in IndexManager.