Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Catalyst App & IIS App Pool / perl.exe process

Status
Not open for further replies.

1DMF

Programmer
Jan 18, 2005
8,795
GB
Hi,

Can someone please help explain how the apppool and perl.exe processes work on IIS7 with a Catalyst MVC app

I have a Catalyst app that uses FASTCGI through an app pool to manage the application requests.

I have noticed that there were 20+ perl.exe *32 processes running each grabbing @ 50mb of RAM = 1GB+

My understanding was the Perl Catalyst app runs as a service and serves all requests.

So I would have thought only a single perl.exe process would be running for the application pool.

As I seem to have so many processes running, this can't be the case, so understanding how the app fires up these perl.exe processes and how I manage resources on IIS better is appreciated.

I have spoken in the IRC, and have been advised it's related to the way fork is used and windows not supporting it so it uses threading to fake it inefficiently.

Any input to help me wrap my head round all this and understand the mechanics better is appreciated.

Regards,
1DMF

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top