Kristian Rink wrote:
>
> Folks,
>
> after switching our production environment to tomcat 6.0.13, most of
> the things work fine again by now. One thing, however, is still giving
> me headaches: By now, I used to have something like
>
> export CATALINA_OPTS="-server -Xmx512m ... "
>
> in CATALIN
Is it OK to use a semaphore in a servlet? Are there any special problems
that arise?
My problem is that I have an image processing servlet that uses a lot of
CPU depending on certain circumstances. Therefore I want to limit the
number of concurrently running servlets running heavy operations while