Re: mono process - high number of threads
Andres <[email protected]> Thu, 24 Nov 2016 01:08:24 +0800
| Newsgroups | gmane.comp.gnome.mono.general |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday, November 23, 2016 11:04 PM, Rubén de Alba wrote: > I'm testing a server process running with mono under heavy load. > > The server app handles the max number of threads that are available to > handle client requests (32) and I can assure you that no new threads are > created from our C# code. > > However, I see that the number of threads used by the mono process > doesn't stop growing (from 15 to 241 after 2 hours of execution time) > > I use 'ps -o nlwp <pid>' to monitor the process threads. > > Could you explain me why this is happening? > > Is there any way to see if mono is launching new threads itself and why? > > Rubén. There are many methods in .NET BCL which spawn ThreadPool threads, maybe you're using some of them. _______________________________________________ Mono-list maillist - [email protected] http://lists.dot.net/mailman/listinfo/mono-list