June 4, 2009 at 11:51 pm
Hi There,
i have an SQL_CLR Stroed Proc , which has partof my business logic , registers to a socket server .
for some reason this is called to triggered to many times .
when i see "netstat -b" , i could see many socket connections all by SQLserver.exe process .
is there any trigger point inside sqlserver which will responsible for this . i think this is defintly not by my code.
any suggestions/comments ?
Thanks
Deepak
June 5, 2009 at 8:17 am
A stored procedure only executes when called by your code. What do you mean by registers a socket server and why are you doing this from a SQLCLR stored procedure? This isn't a supported operation, and the socket server is going to be created for each invocation of the stored procedure, so it isn't surprising that you would be leaking sockets as shown by netstat.
Jonathan Kehayias | Principal Consultant | MCM: SQL Server 2008
My Blog | Twitter | MVP Profile
Training | Consulting | Become a SQLskills Insider
Troubleshooting SQL Server: A Guide for Accidental DBAs[/url]
June 9, 2009 at 8:07 am
hi Jonathan ,
Thanks for the reply, the bug was acutally on the application , sorry for wasting your time.
Regards
Deepak
June 9, 2009 at 8:09 am
No problem.
Jonathan Kehayias | Principal Consultant | MCM: SQL Server 2008
My Blog | Twitter | MVP Profile
Training | Consulting | Become a SQLskills Insider
Troubleshooting SQL Server: A Guide for Accidental DBAs[/url]
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply