Hi Mladen,

On 9/24/06, Mladen Adamovic <[EMAIL PROTECTED]> wrote:
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.

No, but maybe you are using it the wrong way?



>
> 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.


Still, decreasing threads isn't a solution :-) It may work for some
months, but in long term you should try to find out who's eating away
your file descriptors, or change the hoster.

Btw, I like your site, especially the SEO tools :-)
Leon

---------------------------------------------------------------------
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