Questions tagged [worker-processes]

8 questions
8
votes
4 answers

Enumerating File Handles in C#

I would like to know whether it is possible to enumerate file handles in c#, maybe using Win32API? This is easily done for window and process handles, but it seems that it is not possible for file handles. While some functionality is offered by…
steffar
  • 379
  • 5
  • 9
4
votes
3 answers

Monitoring CPU usage of IIS7 worker processes

What is the best way to monitor IIS7 worker processes and store informations about websites which are using CPU/memory too much? Thanks
GrZeCh
  • 2,332
  • 8
  • 29
  • 38
2
votes
1 answer

nginx worker process always run only 1

I have following configuration with worker_process 4; But I noticed that it always hits only 1 worker. I am testing on a local Centos VM. I am doing curl http call on specific port and added a file with 1000 curl requests and ran them from multiple…
javadev
  • 41
  • 2
1
vote
1 answer

nginx: [emerg] "worker_processes" directive is not allowed here in /opt/tools/nginx/conf/nginx.conf:1

i cant figure out why I am getting this error. after looking at forums and many nginx examples my configs look good to me. I should mention I have a custom nginx install. I have check all the nginx log files but surprisingly they are empty. I get…
New2Python
  • 325
  • 1
  • 4
  • 17
0
votes
2 answers

Monitoring a sub-process / can I get TotalProcessorTime for a Process group?

Is there a way to get the Process.TotalProcessorTime that reflects a process PLUS any processes that it has spawned? Alternatively, how can I verify that the process (or it's descendants) are still "actively" running? My app is spawning an external…
NVRAM
  • 6,947
  • 10
  • 41
  • 44
0
votes
1 answer

IIS worker process overlapping

I have an application hosted in IIS 8 and it's application pool is set to auto recycle after 10000 requests. But at times when an application pool is recycled. The new app pool keeps on overlapping.. and the old one doesn't get abandoned. Expected…
Nishit
  • 1
0
votes
1 answer

Is there a limit on the number of processes, which can be started in an ASP.NET application?

I have a signalr server which is hosted in IIS. There is a function in the hub which starts 600 processes in windows and then kills them. //start 600 processes for (int i = 0; i < 600; i++) { try { …
F.Gu
  • 3
  • 1
0
votes
3 answers

nginx - more cores or better cpu?

I currently have two systems with nginx in the following CPUS/RAM.. 1x Intel® C2750 (Avoton), 8 cores 8 threads, @2.4 GHz, 8Gb RAM, 1 TB SATA3 1x Intel® Xeon® E3 1220, 4 cores 4 threads @3.1 GHz, 16Gb RAM, 420 GB 10K RAID 1 Basically I need it to…
PJunior
  • 2,649
  • 1
  • 33
  • 29