If you are running 6.1, ask TS for fix TNS_6-1_Fix6. This fix adds attributes that make the archive service more efficient. The following text was taken from the readme.
HTH,
Michelle
The wm.tn.archive:archive service performs the entire archive or
delete operation as one database transaction, which does not
efficiently use database resources, such as, transaction
rollback, locks, etc. Additionally, when using a SQLServer
database, a long running archive operation can cause deadlock
when the archive/delete operation is running at the same time
Trading Networks is attempting to save an incoming document
to the database.
To improve the archive and delete operations, this fix introduces
two new system properties to allow Trading Networks to perform
the archive/delete operations in multiple smaller database
transactions rather than in one large database transaction. The
two new system properties are tn.archive.batchSize and
tn.archive.batchBackoffTime.
Trading Networks uses the tn.archive.batchSize property to
determine the number of documents to archive/delete in a single
smaller database transaction. After archiving/deleting the number
of documents specified by the tn.archive.batchSize property, the
archive/delete thread sleeps for the number of seconds specified
by the tn.archive.batchBackoffTime property. When the number of
specified seconds elapses, the archive/delete thread continues
operating on the next batch of documents. Trading Networks
continues the archive/delete operation in this manner until
it processes all documents to be archived/deleted.
Performing the archive/delete operation in multiple smaller
batches of documents uses the database resources more
efficiently. The backoff time between batches allows other
database operations to be performed (e.g., saving document
content to the database).
#webMethods-BPMS#BPM#webMethods