Notes error: Operation cannot be performed at the current time - database compaction in progress

Hi All,

Once in a while during the scheduled agents runs it is comming up with the error “Notes error: Operation cannot be performed at the current time - database compaction in progress.”

By the error message I came to know that database compaction progress is going on the database. But , What I want to do is , How do I check programatically whether the database compaction process is running or not ? on a particular database or in the Current database where the agent is running.

Any suggestions on this ?

Many thanks in advance.

Narasimha Reddy, Lomadi

Subject: Notes error: Operation cannot be performed at the current time - database compaction in progress.

You can’t – at least not from inside the agent. The agent doesn’t run itself – the schedule you set is given to the Agent Manager (amgr), and the Agent Manager runs the agent at the appropriate time. All the Agent Manager knows is the name of the agent, the database it lives in, and the time it is supposed to run, and if the database is being compacted when amgr tries to run the agent, it will error out with the message you have given.