Error Message

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Error Message

Post by Thunderstone »



When I run the webinator cgi script I get the following error message.

Resource limit too low: "STACK" = 1048576, want 2048000

Our STACK is actually = to 65 megs
What can we do to solve the problem? Nothing in the tech support archive
have shedded any light on how we may fix this problem.

---
Mitchell J. Mellin
Associate Webmaster
Monmouth University
(732)571-3552
webmaster@monmouth.edu



User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Error Message

Post by Thunderstone »




Your webserver, or the process that starts it, is reducing the ulimit.
You need to change the startup process or web server config to allow
a higher limit.

The following script, when installed as a cgi program, will tell you what
the ulimits are set to for cgi programs:
#!/bin/sh
echo "Content-type: text/plain"
echo ""
ulimit -a


User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Error Message

Post by Thunderstone »




Just wondering .. are you running a Netscape server ?
Also what operating system are you using and what httpd server version ?


I had an IRIX 6.2 running Netscape enterprise 2.01 and could never get it
to work. I was getting the same error. I tried all the ulimit stuff,
changed os kernal settings, the only thing I could figure was somehow
Netscape sets the ulimit before starting the cgi.

The only way to make it work for me was to switch to Apache on the very
same box and it all worked fine. Which actually runs just as well and uses
less memory.

Good Luck :)

-rob out

At 04:33 PM 2/5/98 -0500, you wrote:


Post Reply