Mutex Wait when deploying to server as/400

gmorris

Member
When deploying package to server as/400 we receive mutex wait(MTXW) on batch jobs that were running as well as the jdenet_k jobs. When this occurs no one can log into the web client and system becomes very slow to the point services on the as/400 need to be stop and restarted. In order to do this we have to end all the MTXW jobs first. This is a intermittent problem.
Version is 8.9 tools release 8.95L1
AS/400 is the Enterprise server at V5r4 release
Web server and deployment servers are windows 2000/2003
 
When deploying packages you cannot have any batch jobs running because the deployment will change the spec files they are accessing. The deployment will not continue until the batch jobs are ended. The jdenet_k jobs will still go into MTXW because the SVRPGMs are getting swaped out with the new ones from the package. This is what it's designed to do. If you look at the SrvrBuild.log on the server you will even see messages saying that it is holding the Mutex and getting locks.

If you're deploying a full package you should have all the users get off the system since you'll need to restart services anyway. If it's a small update package you might be able to get away with having users on, but it will still lock the kernels for a short time and you still can't have any batch jobs running.
 
Yes, you should first verify, if there is no batch running on the server before deploying a package. Therefore you can hold your JDE jobqueues temporarly.
However, if you should deploy a package on the server, while a batch job is running, you have to do the following tasks, because the R9622 will hang and will block the other servers processes:

1. Terminate the R9622 job manually on the deployment server
2. Terminate the Package Build Kernel process on the AS400. This is the job which holds the rest of the JDE processes, so once you stopped it, the other jobs should return into the normal status.

João
 
A quick question to all if i am deploying a package of suppose PY pathcode , then do i need to Hold all the jobs that are running for DV pathcode on the same Batch server..
 
Back
Top