powershell - Start-Process Not Enough Quota -
powershell - Start-Process Not Enough Quota -
i trying performance testing, launching azure-vms, downloading lots of versions of our software onto them , pointing @ our server. have problem when trying start software, error consistently when seek , start 16th instance of our software (very lightweight, not great deal of memory footprint).
this command cannot run due error: not plenty quota available process command. + categoryinfo : invalidoperation: (:) [start-process], invalidoperationexception + fullyqualifiederrorid : invalidoperationexception,microsoft.powershell.commands.startprocesscommand i remote powershelling in invoke-command , attempting start processes start-process. (where $session has been setup beforehand)
invoke-command -session $session -scriptblock { $currentno = 0 1..20 | foreach-object{ start-process -filepath "c:\client\$currentno\client.exe" $currentno = $currentno + 1 } } this not memory or disk space have tried on 8 core machine 16 gb worth of memory. works if remote desktop in , run exact same script through remote desktop window.
you're hitting default process limit powershell remote sessions. see article: configuring wsman limits
perhaps this:
maxprocessespershell 15
powershell azure
Comments
Post a Comment