in reply to Webhosts: What are reasonable resource limits for Perl?

Restrictions on shared accounts on pair.com:
    *  Size of Core Files - 0 MB
    * CPU Time Used - 30 seconds
    * Data Size - 3 MB
    * File Size Created - 1 MB
    * Memory Locked - 1 MB
    * Number of Open Files - 32
    * Number of Simultaneous Processes - 8
"System resource limits are intended to prevent runaway CGI scripts. Also, processes with large memory footprints or hungry CPU requirements will incur swapping and other system slowdowns that reduce server performance."

Sounds reasonable to me :)

Tiago
  • Comment on Re: Webhosts: What are reasonable resource limits for Perl?

Replies are listed 'Best First'.
Re: Re: Webhosts: What are reasonable resource limits for Perl?
by talexb (Chancellor) on Jan 21, 2002 at 19:51 UTC
    To follow up on that, the reply from pair Networks support told me to look at this page for resource limits. The memory limit there is 8M, and that's what I was quoting.

    It just plain confuses me that I can compile Perl in its entirety (just did it this morning -- only the install failed, because I can't write to /usr/local/bin) .. yet I cannot install a Perl module. It seems odd that a building a module takes more resources than Perl itself.

    I guess I still have a whack of learning to do. :)

    --t. alex

    "Of course, you realize that this means war." -- Bugs Bunny.

      First of all I hope you know that you can reinstall Perl quite easily with the customized version written to your own home directory.

      Secondly at a guess your problem on install was using the CPAN module. While nice, it unfortunately routinely uses at least 16 MB on my machine. However downloading and installing modules manually should work just fine. And if all else fails, you can install them elsewhere then just copy them over. (Works for pure Perl modules quite well. Compiled ones, not always so.)

Re: Re: Webhosts: What are reasonable resource limits for Perl?
by mattriff (Chaplain) on Jan 21, 2002 at 22:40 UTC
    We're actually working on revising our process controls, which might include raising some of these limits (they certainly will never be lowered).

    More importantly, we'll be working on a system that will allow users to "except" specific processes where necessary. Using CPAN.pm to install modules is probably a perfect example of what that feature will be for.

    -Matt

      We're actually working on revising our process controls, which might include raising some of these limits (they certainly will never be lowered).

      Who is we? Matt, do you work at pair Networks?

      --t. alex

      "Of course, you realize that this means war." -- Bugs Bunny.

        Could be Matt Riffle from pair support. I wonder who else is here... It would be cool to have a perlmonks meeting sometime.

        Tiago