Skip to content
This repository was archived by the owner on Jan 24, 2021. It is now read-only.
This repository was archived by the owner on Jan 24, 2021. It is now read-only.

RequestStream cause a deadlock #2781

@delarocka

Description

@delarocka

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of Nancy
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

Description

I got an application running on OWIN self hosting. During load testing application suffers a deadlock (most threads are in waiting state), causing by RequestStream's MoveToWritableStream method.

Steps to Reproduce

NancySelfHost.zip contains simplified project and JMeter test (SummonDeadlock.jmx) that i use for load test. Just build and run project and run JMeter test.

System Configuration

  • Nancy version: 1.4.4
  • Nancy host
    • ASP.NET
    • OWIN
    • Self-Hosted
    • Other:
  • Other Nancy packages and versions: Nancy.Owin 1.4.1
  • Environment (Operating system, version and so on): Windows 10 10.0.15063
  • .NET Framework version: 4.5.2
  • Additional information: JMeter version 3.2, i used a separate machine to run JMeter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions