Subject: RE: Java Agents
Hey Michael -Is this poor performane something that has only recently become a problem? Has something changed?
In any case, I believe the “max concurrent agents” setting only applies to those agents that are run by the agent manager task. Since your agents are called from the web, they run via the http task.
I’ve done a fair amount of Notes stuff with Java, but the topic of web agents is admittedly not my forte.
A couple of ideas . . . if I’m way off the mark, I’ll trust that Mika or someone else will (gently) correct me. 
Watch the server tasks when the response time is slow to identify which task(s) are taking the most CPU (I know there are Windoze admin tools to use to do this type of thing, but I’m not that familiar with them). Depending on your findings, you may try tweaking your server settings a bit. Specifically, the two that come to mind are:
Internet Protocols → HTTP → “Number active threads”
Internet Protocols → Domino Web Engine → “Run web agents concurrently?”
Bumping up the active threads allowed may or may not help, but I suspect enabling concurrent agents will probably speed things up a bit if it’s not already enabled. Note that it may impact other agents as well (the topic of multithreading LotusScript agents is covered extensively in Designer help). There’s also more information under the topic Improving Web server performance in the Admin help.
Beyond that, you might consider:
temporarily enabling the “JavaVerbose” setting (i.e., change it to 1) in the server’s notes.ini. This obviously won’t fix anything. In fact, enabling it will slow things down because of the sheer volume of information it logs, but it may give you some indication of underlying problems if they exist. Just don’t leave it enabled for long.
hardware upgrades (i.e., more/faster processors, memory, etc) although I don’t really think that’s the problem.
if possible, replacing some of the agents in question with an equivalent servlet to avoid the overhead of invoking an agent (may or may not be a realistic option for you).
hth,
dgg