Re: Limiting resources used by scripts on web server
- From: "graeme.pietersz@xxxxxxxxx" <graeme.pietersz@xxxxxxxxx>
- Date: Sun, 29 Jun 2008 23:59:11 -0700 (PDT)
On Jun 29, 8:45 pm, "Gerald W. Lester" <Gerald.Les...@xxxxxxx> wrote:
graeme.piete...@xxxxxxxxx wrote:
What are my options for a webserver that will support TCL and allow me
to limit resources (especially memory) used by a script?
So far I have:
1) FastCGI and use a process supervisor and/or OS limits
2) Apache pre-fork with websh (or Rivet or mod_tcl?) and a similar
approach
As far as I can see there is no way of doing this with Aolserver,
TClHttpd or Wub. I have used TCLHttpd once before and liked it a lot,
Wub and AOlserver look good too (although Wub seems to lack
documentation). Is there a way I could use any of these?
TclHttpd supports cgi as well as threads, thus you could use the same
limiting approach as #1.
I had forgotten that TCLHttpd supports CGI, but it does rather negate
the advantages of using a server with TCL support.
Also, if you use TclHTtpd with Tcl 8.5, 8.5 give you several ways to control
execution resource usage in a slave interp.
If I understand the documentation, there are limits on time but on
memory. If I am wrong about it would solve the problem very nicely.
.
- Follow-Ups:
- Re: Limiting resources used by scripts on web server
- From: Alexandre Ferrieux
- Re: Limiting resources used by scripts on web server
- References:
- Limiting resources used by scripts on web server
- From: graeme.pietersz@xxxxxxxxx
- Re: Limiting resources used by scripts on web server
- From: Gerald W. Lester
- Limiting resources used by scripts on web server
- Prev by Date: Re: problem with special characters in file command?
- Next by Date: Re: Limiting resources used by scripts on web server
- Previous by thread: Re: Limiting resources used by scripts on web server
- Next by thread: Re: Limiting resources used by scripts on web server
- Index(es):
Relevant Pages
|