|
| My fellow programmers,
I have a problem and hope one of you can help me with it. I have
installed Apache 2.0.49 on my machine (Win 2000 Pro). After
successfully configuring the server, I was able to successfully
compile and run several PERL and c++ server scripts (stored in the
cgi-bin) folder. However, the problem arises in one of my C++ programs
the uses a big stack array. I'm able to run this very program from the
win command line, but when I try to run it from the cgi-bin, the
program ends "prematurely". I tried to decrease the size of the array,
in which case the program runs ok from the cgi-bin. I think that there
must be an Apache memory limit that prevents the program for running.
I read the Apache documentation and tried to change directives like:
RLimitMEM
RLimitNPROC
RLimitCPU
RLimitMEM
MaxMemFree
MCacheSize
in the httpd file, but I'm getting errors like:
"The Apache service named reported the following error: RLimitMEM not
supported on this platform." ... etc.
Does any one know how to change Apache(Win) settings so that I can run
this script?
Much Obliged
Will
|
|