You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by rb...@covalent.net on 2000/06/02 01:23:36 UTC

limit code in 2.0.

I have been working today to put the limit code back into Apache
2.0.  Basically in 1.3 we use setrlimit on the machines that have it, and
ignore this issue on those machines that don't have it.  

I started to implement an APR type for rlimit, but this was really useless
because it maps directly to (get/set)rlimt/getrusage.  I looked at Windows
and BeOS, neither of these platforms supports setting system resource
limits, that I could find.  Granted, I didn't search very hard on either.

My current thoughts are to put the code back in exactly where it was
ripped out, and use the exact same #ifdefs to determine if it gets
compiled or not.  If anybody has a problem with this, please let me know.

Ryan


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Re: limit code in 2.0.

Posted by Greg Stein <gs...@lyra.org>.
On Thu, 1 Jun 2000 rbb@covalent.net wrote:
>...
> My current thoughts are to put the code back in exactly where it was
> ripped out, and use the exact same #ifdefs to determine if it gets
> compiled or not.  If anybody has a problem with this, please let me know.

+1

When the other platforms come up with their platform-specific mechanism,
then we can synthesize a common abstraction. Until then, punt the worry.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/