One of our applications got timeout error a couple of times already, it was back to normal 5 mins later. I could not find any error in sql log file, Windows event view and cluster logs. We guessed maybe there were too many user connections and caused timeout error. Our SQL was setup 32767 as max connection. I just want to know if we can setup a job to monitor the users connection number, if it reaches a certain number, such as 500, we will get an email alert? I know we can use windows performance monitor, add"user connection" counter in SQL general statistics option. but it can't email us. so I just wonder if we can setup a SQL job to monitor it? The second question is: can we track the user connection number for the past time, such as 1 hour ago?
Thanks
David