in reply to Re^3: How to determine what the memory-limits of a CGI app are?
in thread How to determine what the memory-limits of a CGI app are? [SOLVED]
Carefully repeating your process, and with the -Sv parameter of ulimit (I must have tried a different one...), I was able to produce a failure ... but in this situation the program “simply failed.” It did not produce the “error-page” output that the same program does in the CGI environment.
The command used is:
and, as I said, the program “simply ends” without producing any output. It does not produce the error-page or anything else. (So I really haven't cleanly reproduced the same failure scenario... yet.)ulimit -Sv 32767 strace -otrace_err ./spe-cgi.pl
Nevertheless, the trace output does produce four mmap() calls in a row that each throw ENOMEM.
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to determine what the memory-limits of a CGI app are?
by almut (Canon) on Mar 03, 2009 at 23:22 UTC | |
|
Re^5: How to determine what the memory-limits of a CGI app are?
by almut (Canon) on Mar 03, 2009 at 23:31 UTC | |
by locked_user sundialsvc4 (Abbot) on Mar 04, 2009 at 01:57 UTC |