how do i increase user stacksize?
Greetings,
When i type: limit at the command line of a RH 9.0 box i get the following: cputime unlimited filesize unlimited datasize unlimited stacksize 8192 kbytes coredumpsize unlimited memoryuse unlimited vmemoryuse unlimited descriptors 1024 memorylocked unlimited maxproc 7168 Assuming I can go root, how do i change the stacksize to a larger number??? thanks... zepp |
ulimit -s <new stack size> works for me as a non-root user in RH9 (I don't think any of the default ulimits are configured as hard limits). Just out of curiousity, why do you want to do this?
|
thanks for the help with this...
oh, and the reason why? well, i'm compiling a pgm that has very large sized arrays and i'm getting segmentation faults (i have 1GB of RAM inthe system) and i was thinking that if the stack was made "unlimited" then these seg-faults would cease...sadly they didn't...looks like i need to continue optimizing the code! :) |
All times are GMT -5. The time now is 01:43 AM. |