This is one of those "in between" kind of things between the cracks between Perl, IIS, CGI, Windows NT and possibly Apache, and I'm having a little trouble getting a grip on it.

I'm running Windows NT, M$ I.I.S. server, plugged in ActiveState Perl to do some CGI scripting (ported from Unix, do NOT ask why), everything seemed to be working fine but after a few weeks, suddenly the performance of the server was dead-slow. After looking at several things (including some nice people abusing our ftp site with cracked PS-2 games to the tune of 1.4GB, thank you, get a life please), we looked at the task manager -- 100% CPU utilization. Why? Seventeen Perl.exe processes partying hard. Couldn't kill them, but we could debug them, and kill them from the debugger. As soon as all 17 Perl.exe's were safely at breakpoints, the CPU load dropped precipitously.

Now, this system seems to have Oracle installed, and Oracle apparently decided to bring along Apache and Perl for the ride, 'cause we've got, like 1-1/2 Perls installed. Maybe that's relevant, maybe it's not. It sure looks like Oracle's 'bastardized' their Perl, there doesn't seem to be a full complement of modules out there, for instance.

Anyhow, I'm trolling for ideas. If I were on Unix, I could just "truss -f -p" on one of the perl binaries, but AFAIK there ain't no truss on NT, so I'm kind of lost.

Short of reinstalling a bunch of software (up to and including the O.S.), does anyone have any ideas for me to try?

Thank You O Great Masters.
- alden.


In reply to 17 Perl.exe processes by awilner

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.