Click here to Skip to main content
15,892,575 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Synchronisation question Pin
Esmo200011-Aug-09 15:24
Esmo200011-Aug-09 15:24 
AnswerRe: Synchronisation question Pin
N a v a n e e t h11-Aug-09 15:29
N a v a n e e t h11-Aug-09 15:29 
AnswerRe: Synchronisation question Pin
harold aptroot11-Aug-09 15:32
harold aptroot11-Aug-09 15:32 
AnswerRe: Synchronisation question Pin
Luc Pattyn11-Aug-09 15:35
sitebuilderLuc Pattyn11-Aug-09 15:35 
GeneralRe: Synchronisation question Pin
harold aptroot11-Aug-09 16:00
harold aptroot11-Aug-09 16:00 
GeneralRe: Synchronisation question Pin
Luc Pattyn11-Aug-09 16:14
sitebuilderLuc Pattyn11-Aug-09 16:14 
GeneralRe: Synchronisation question Pin
supercat912-Aug-09 6:19
supercat912-Aug-09 6:19 
QuestionHigh number of Handles Pin
Leonardo Muzzi11-Aug-09 4:51
Leonardo Muzzi11-Aug-09 4:51 
Hi there. In my company, we have a windows service app that relies on multiple threads functionality to process many socket requests at a time, using the Socket events OnDataArrival to proccess the arriving data.

Although the system is working properly, the server administrator is complaining that the app process is using a very high number of handles. That is, when you open the Windows Task Manager and check for the Handles column, the number is around 30000 handles for the process. I've checked some sources and a reasonable number of Handles for a single process is around 3000, and a 8000 is already a very high number. I'm way too over this.

Do anyone has some good sources relating .net threads and events with the use of OS handles? I need some hints on how to low the number of hanldes for the process. I should probably re-do the app with good threading pratices (the implementation is very old), but I need a faster solution for the actual service.

Regards,

Leonardo Muzzi

AnswerRe: High number of Handles Pin
Dave Kreskowiak11-Aug-09 5:16
mveDave Kreskowiak11-Aug-09 5:16 
AnswerRe: High number of Handles Pin
Luc Pattyn11-Aug-09 5:16
sitebuilderLuc Pattyn11-Aug-09 5:16 
AnswerRe: High number of Handles Pin
N a v a n e e t h11-Aug-09 5:27
N a v a n e e t h11-Aug-09 5:27 
GeneralRe: High number of Handles Pin
Leonardo Muzzi11-Aug-09 7:09
Leonardo Muzzi11-Aug-09 7:09 
GeneralRe: High number of Handles Pin
N a v a n e e t h11-Aug-09 15:22
N a v a n e e t h11-Aug-09 15:22 
GeneralRe: High number of Handles Pin
Leonardo Muzzi12-Aug-09 8:02
Leonardo Muzzi12-Aug-09 8:02 
AnswerRe: High number of Handles Pin
Moreno Airoldi11-Aug-09 6:44
Moreno Airoldi11-Aug-09 6:44 
Questionvb.net-code error Pin
myinstincts10-Aug-09 22:28
myinstincts10-Aug-09 22:28 
AnswerRe: vb.net-code error Pin
Pete O'Hanlon10-Aug-09 23:21
mvePete O'Hanlon10-Aug-09 23:21 
Questionvb.net-code error again Pin
myinstincts10-Aug-09 22:15
myinstincts10-Aug-09 22:15 
AnswerRe: vb.net-code error again Pin
0x3c010-Aug-09 22:18
0x3c010-Aug-09 22:18 
AnswerRe: vb.net-code error again Pin
Hristo-Bojilov10-Aug-09 22:21
Hristo-Bojilov10-Aug-09 22:21 
Questionvb.net-code error Pin
myinstincts10-Aug-09 21:27
myinstincts10-Aug-09 21:27 
AnswerRe: vb.net-code error Pin
Hristo-Bojilov10-Aug-09 21:51
Hristo-Bojilov10-Aug-09 21:51 
AnswerRe: vb.net-code error Pin
0x3c010-Aug-09 21:52
0x3c010-Aug-09 21:52 
QuestionEntityFramework and "set transaction isolation level read uncommitted" Pin
MartyK200710-Aug-09 7:43
MartyK200710-Aug-09 7:43 
QuestionMaximum password age for local user Pin
Stephen Grundy10-Aug-09 2:18
Stephen Grundy10-Aug-09 2:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.