tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Padiyath Sreekumaran <Kumar.Padiyath@psi.ch>
Subject: Stack overflow -  help needed
Date: Fri, 22 Apr 2005 09:58:50 +0200	[thread overview]
Message-ID: <ABC4EFAF3217D311A39200508B08F7FC04A95255@psi17.psi.ch> (raw)


   Hello,
    OS = Tru64 V5.1A
    One of the user got an error message during the execution of a program:

    stack  overflow
     .
     .
    Core dumped.

   The present configuration:
   sysconfig -q proc  output

   $sysconfig -q proc 
proc:
max_proc_per_user = 256
max_threads_per_user = 1024  
per_proc_stack_size = 4194304   <-------------------
max_per_proc_stack_size = 48000000  <---------------------
per_proc_data_size = 2147483648
max_per_proc_data_size = 2147483648
max_per_proc_address_space = 2147483648
per_proc_address_space = 2147483648
executable_stack = 0
autonice = 0
autonice_time = 600
autonice_penalty = 4
open_max_soft = 4096
open_max_hard = 4096
ncallout_alloc_size = 8192
round_robin_switch_rate = 0
sched_min_idle = 0
give_boost = 1
maxusers = 2048
num_wait_queues = 2048
num_timeout_hash_queues = 2048
enhanced_core_name = 0
enhanced_core_max_versions = 16
exec_disable_arg_limit = 0
dump_cores = 1
dump_setugid_cores = 0

   limit output:
   =============

  $limit
cputime         unlimited
filesize        unlimited
datasize        2097152 kbytes
stacksize       46875 kbytes
coredumpsize    unlimited
memoryuse       3068192 kbytes
vmemoryuse      2097152 kbytes
descriptors     4096 

   Can I just increase the process stack values(proc stack and max stack)
   without increasing the other values? What is the maximum size I can
define
   for stack in a 3G memory machine?

    Thanks in advance,
      Kumar
   


  
------------------------------------------------------------------
Padiyath Sreekumar       |   Tel: +41.56.310.3643
Paul Scherrer Institut   |   email: kumar.padiyath@psi.ch
AIT                      |   Office: WHGA/U132 
WHGA/U132                |   Fax: +41.56.310.3649
CH-5232 Villigen PSI     | 
Switzerland              |
-----------------------------------------------------------------


                 reply	other threads:[~2005-04-22  7:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox