You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Tony Sanders <sa...@bsdi.com> on 1995/10/11 06:34:03 UTC
Re: Hints on running a high-performance web server (fwd)
Brian Behlendorf writes:
> I added his comments to docs/perf.html and docs/virtual-host.html - what
> do you think about his patch to add setrlimit() calls? I think it
An alternative is to create a shell script (e.g., /usr/local/bin/relimit):
#!/bin/sh
limit maxproc 512
limit openfiles 512
limit datasize 32m
exec "$@"
And start the server using that script:
relimit apache -myflags ...