SUMMARY: Stacksize Issues - Solaris 8

From: Dave Warchol (Warchol@harthosp.org)
Date: Tue Oct 21 2003 - 11:05:48 EDT


Got a couple of responses, Ray Browning had seen the problem with this
application
before and had fix:

"I had a similar problem. My workaround was to set a finite stacksize

- for me 8192 was sufficient. I think there is an overflow bug
somewhere (I remember seeing that something
thought that the stacksize was negative).

Thanks again,
Dave

================ Original Post ===============

Hello everyone:

Installed an appplication on Solaris 8 box (SunBlade 1000)
In testing, the application runs just fine as root.
When trying to run as any non-privileged user, I get the following
message:

"Stack size of 2097152 Kb exceeds current limit of 2097151 Kb.
(Stack sizes are rounded up to a multiple of the system page size.)
See limit (1) to increase the stack size limit."

Results of 'limit' and 'limit-h' for non-privileged users follows:

Sun Microsystems Inc. SunOS 5.8 Generic February 2000
[denali] kc :> limit
cputime unlimited
filesize unlimited
datasize unlimited
stacksize unlimited
coredumpsize unlimited
vmemoryuse unlimited
descriptors 1024

[denali] kc :> limit -h
cputime unlimited
filesize unlimited
datasize unlimited
stacksize unlimited
coredumpsize unlimited
vmemoryuse unlimited
descriptors 1024
[denali] kc :>

I experimented with different stacksize settings, mostly ended up
making the box non-responsive.
Any advice on how to fix or troubleshoot is most welcome. I will
summarize.

Thanks,
Dave
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:20 EDT