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

.NET (Core and Framework)

 
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 
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 
Leonardo Muzzi wrote:
around 30000 handles for the process


Thats too much. AFAIK, the handles count includes the file handles, threads, mutex, semaphore etc. Look at the application source and ensure the resources are properly released. No resource should live longer than expected. Get some memory profilers and analyze the object allocation and GC activities.

Other way is to log the application activities and analyze the log. This will help you to understand which area it is spending more time and what resources are not getting released properly.

Leonardo Muzzi wrote:
windows service app that relies on multiple threads functionality to process many socket requests at a time,


How are you doing this? Each thread per request? If yes, consider using asynchronous methods provided in the socket class. Asynchronous methods makes it possible to write highly thread efficient applications.

Here[^] is a decent MSDN article which takes the subject in detail.

Smile | :)


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 
AnswerRe: Maximum password age for local user Pin
Luc Pattyn10-Aug-09 2:58
sitebuilderLuc Pattyn10-Aug-09 2:58 
GeneralRe: Maximum password age for local user Pin
Stephen Grundy10-Aug-09 3:13
Stephen Grundy10-Aug-09 3:13 
Questiondatareader Pin
myinstincts10-Aug-09 0:43
myinstincts10-Aug-09 0:43 

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.