Stack error still ...

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

Stack error still ...

Post by Thunderstone »




I really need some help on this, any ideas, suggestions would be great. I
have a IRIX 6.2 running netscape enterprize 2.0 and when I run the search
script it fails and the vortex log says :

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

I was later told on this list to:


Okay, the system kernal vars set the stack to 65MB, and when I login as a
regular user the ulimit reports 65MB. HOWEVER, my server is running as
nobody, which has no shell so I can't log in as him to see what his ulimit
is. SO i built a cgi script to report back the env ulimit and it say stack
1 MB, which we already knew because texas complained about that.

MY QUESTION is I can not figure out where to change the ulimit for a
cgi-script. I have search every man page/ manual I can find. They all point
to the system kernal vars, which are set to 65MB. So some where, some how
the stack limit only for nobody and cgi scripts is getting set to 1MB...

Does anybody know if this is like a netscape thing or OS. I am really baffled.

I am really stuck on this and of course life ending project hangs in
balance as always ....

Thanks,

Robert Stewart



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

Stack error still ...

Post by Thunderstone »




Default ulimits are generally the same across the board regardless of user.
An individual user may have their limits turned down during login, but
that wouldn't generally apply for daemon process.

It would either be the process that starts netscape or netscape itself
turning down the ulimit. Check how netscape is started. See if there's
any ulimit reductions before executing netscape. If not, check
netscape's configuration for limits.