WebQuerySave LS Agent slow to fire

I have two Domino servers, one production and one test server. They are supposed to be identical. However, on my test server, LS Agents called by the WebQuerySave take about 25 seconds to fire.

I can reproduce the problem with a blank database with only 1 form and 1 agent. When I replicate the database onto the production server, it works fine.

This is unlikely due to “Use” libraries as I have none in the test database.

I have rebooted the test server, rebuilt the views in NAB and compared notes.ini files. Now running out of ideas…

Any suggestions?

Subject: WebQuerySave LS Agent slow to fire - Oops…

Ok figured it out. Next thing I checked was server documents and found the problem on the test server, under Server Tasks → Remote Debug Manager tabs. “Allow Server Debugging on this server” was Enabled with “Agent Wait at StartTime” set to 20 seconds.