I have a powershell script that removes interfaces based off a CSV.
I'm having an issue where when running the script my max connection pool to the DB reaches its max limit of 1000 and then it crashes the Information Services. I've watched this while running the script and stop it right before it reaches 1000 and then restart the service and it clears all the open connections. In the log, the only indication that it has any issue is this
other than that the only error is when it finally reaches its max limit and crashes the service.
I have run a repair on the core services, completed a config wizard.
I have two questions.
1. Is this expected behavior? (I doubt it because I have used this exact script in 2018.4 on roughly 17000 interfaces with no issues of this kind)
2. Should/could I be add something after the remove statement that closes the connection?