I am trying to run more than one masking job from two different projects via TDM portal however the second job does not start and seems to be waiting for the first to complete.
Kindly confirm if this is expected behavior or if this is an issue?
Please let me know if any more information required here.
Release : 4.10
Component : TDM Web Portal
Here the problem is that you are overloading Portal with FDM instances - by default Portal can handle only 4 local concurrent FDM instances while you are spawning 220 (219 in the first job + 1 in the second job) instances.
As you have already increased tdmweb.TDMMaskingService.pool.size property value in application.properties file to 10. Portal spawns FDM instance for each schema and each data source and the instances over the threshold are queued.
So you can either increase the threshold again (but we definitely don't recommend to use 50+ as it could cause instability of the machine), or you can use remote masking with enough masking pods, or you can run the second job earlier so it isn't queued.