http - Nancy server on Mono on Ubuntu stalls, many TIME_WAIT sockets -


one of our production stacks using nancyfx (self-hosted) on mono 4.2.3 on ubuntu 14.04 (on aws ec2 behind elb) serves restful http calls external clients. processing of requests, in many occasions, includes making http calls other services, database lookups , such.

with amount of incoming requests on each machine (that seems server should able handle gracefully), servers start stall, new incoming connections run timeouts, etc.

using netstat, saw there thousands of sockets in time_wait state. presume either cause or @ least symptom of problems we're having.

does similar setup have idea how identify , fix root cause of problems?

we've experimented varying methods of making http requests in c#, mono startup parameters (--server , setting number of threads per cpu sensible amounts) not stop servers stalling , degrading catastrophically.

thanks input!


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -