I received a call from a customer this morning saying noone could access their mail files. The really strange thing about the situation was that the log.nsf, names.nsf, ... could be opened. It was just a problem with the mail files. When users tried to open their mail files, they received the following error message.
"Server Error: Device is Busy/In Use"
The console showed messages like this for mail files the router was trying to deliver mail to:
"Error delivering to servername/domain mail/xxxxxxxxxxxx.nsf; Device is Busy/In Use"
I dumped the server call stacks for all Domino jobs on that server and the job call stacks for any jobs I thought could be suspect. I looked through the output and didn't find anything suspicious. Next I invoked the QP0FPTOS api to identify if there were any IFS locks on the objects. The output showed there indeed were IFS locks on the files. I issued the RLSIFSLCK command against a few mail files. This did no good, the objects remained locked. The only time the RLSIFSLCK command cannot release a lock is if it is a directory lock or if there is a save lock.
This tipped me off to look at the job log for the save job. This customer takes their Domino servers down every evening, saves the data directories, and then starts the servers after the save is complete. The save output showed that the first Domino server had been saved fine, however the save job for the second server, the server we were having this issue with, was still active.
Once the save job was ended, the problem went away, no server restart was required. The mail files are able to be accessed again and the customer is very happy.
Now it's time to get outside and enjoy this beautiful weather since it's the weekend!