Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Runs really slowly on free dyno #5

Open
darbio opened this issue Dec 23, 2015 · 4 comments
Open

Runs really slowly on free dyno #5

darbio opened this issue Dec 23, 2015 · 4 comments

Comments

@darbio
Copy link

darbio commented Dec 23, 2015

Hi guys,

This might just be due to me using a free dyno to test, but the MVC music store example runs really slowly. The page is quick to load, and the response is received but it appears that the response is left open for anywhere up to 60 seconds.

You can reproduce this by clicking around the example site:
https://sheltered-temple-5471.herokuapp.com

The pages load, but the response stream stays open.

It runs fine on OSX using dnx.

Has anyone run this pack with non-free? What is the response like?

Thanks,

darbio

@jincod
Copy link

jincod commented Dec 23, 2015

Hi!

This is known issue with mono dotnet/aspnetcore#1093

@darbio
Copy link
Author

darbio commented Dec 23, 2015

Thanks - I'll have a look.

@TristanRhodes
Copy link

I ran into a similar issue. It timed out after 55 seconds on the dyno with Idle Connection error and then returned succesfully to the client.

I tracked it down to a missing Content-Length header which looks like a bug in Mono (Thanks to Heroku support). This apparently means the router keeps the connection open until the idle limit is hit.

Build pack: https://github.com/jincod/dotnet-buildpack
Mono builder: https://github.com/friism/mono-builder/releases/download/v4.0.1.44/mono-4.0.1.44.tar.gz (There's a more recent version now: https://github.com/friism/mono-builder/releases/download/v4.2.0.207/mono-4.2.0.207.tar.gz)
Build package: dnx-mono.1.0.0-rc1-update1

On a side note - It looks like they are trying to remove mono and use .Net Core, but from the comments it doesn't look good :)

@nickserv
Copy link

nickserv commented May 5, 2016

It seems like 4.0.5.1 is one of the only Mono versions that doesn't have this issue (according to dotnet/aspnetcore#1093). What is the easiest way to use this buildpack with that specific version of mono? friism/mono-builder does not have this version of Mono tagged, so it isn't as simple as setting the MONO_VERSION variable (this will 404 on downloading the binary).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants