Leon Rosenberg wrote:
I use WordNetProcessor in many JSP files and it seems if I use it in
static way using
<%! static WordNetProcessor wordNetProcessor=new WordNetProcessor(); %>
it won't lock many files.

then your WordNetProcessor class is probably buggy. Maybe you should
show us your code to detect where the problem is.

That class uses other library (JWNL) which opens some files and I cannot modify that other library and I think it is not practical at this moment to search for bugs in that library.



you can lower the thread count, but I think it won't help you much. Do
you know how many concurrent users your site actually have?

Currently, it don't have many concurrent users (~400 uniques a day) but my traffic goes up, since website is just 6 months old. Also, some users tends to send many requests a day. Some even 500 requests a day (seems to be manual, from log files). At this moment 5 threads would be probably enough, but in the future I might need significantly more in case of i.e. slashdot effect or DoS attacks.

regards
Leon

Thanks for your answer.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to