CoreWCF / CoreWCF/CoreWCF

CoreWCF server no longer responds to new requests

Open
#738 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.8k
Forks
320
PR merge metrics
No merged PRs in 30d

Description

Hi,

we use
- CoreWCF 1.1.0
- .net 4.71
with an interface similar to
` [OperationContract]
[FaultContract(typeof(FaultDetail))]
Stream QueryDataStreamed(string sqlCommand);
`
The server writes to the stream while the client reads from it.

After some time (hours) the server no longer responds to new requests and has a lot of open threads (> 500).

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the streamed QueryDataStreamed operation with CoreWCF 1.1.0 on .NET 4.71, then monitor request handling and open-thread counts over several hours. Done means the cause of the server becoming unresponsive is identified and a verified change prevents new requests from hanging or thread counts from growing without bound.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend-api-design
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.