Sponsored Content
Operating Systems Solaris Limit: stacksize: Can't remove limit Post 302606835 by Diabolist9 on Tuesday 13th of March 2012 01:42:55 AM
Old 03-13-2012
Hammer & Screwdriver Limit: stacksize: Can't remove limit

Hi all, I'm using to Solaris machine. When I run a simple script this messenger come out:"limit: stacksize: Can't remove limit". Any one know the way to resolve this problem without reboot the machine?
Thanks in advance.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

group limit

hi, i have in my /etc/group an unix group full. i need to add new user in this group. users need to have the same gid and the same name... is it possible ? can i create a concatenation with an other group or something else ? thx (1 Reply)
Discussion started by: farzolito
1 Replies

2. Shell Programming and Scripting

is there anyscript to limit ip..

Hello All. is there anyscript or way to limit hosts/ips for users? freebsd4.4-stable thanks (11 Replies)
Discussion started by: star
11 Replies

3. UNIX for Dummies Questions & Answers

Limit command

I have installed vnc on my computer but do not want every one to be able to incite a vncserver how can I limit users of the vncserver command to only a specifc group? (1 Reply)
Discussion started by: macdonto
1 Replies

4. UNIX for Dummies Questions & Answers

Directory limit

I'm setting up a file server for users. Does anyone know how I can limit each users directory to 500MB? -------------- Runing Solaris 8 (3 Replies)
Discussion started by: merlin
3 Replies

5. SCO

limit telnet

Hello Every One. :D Can any 1 tell how to configure unix so that only specified IP's can connect to that machine using telnet. :rolleyes: I guess there is also sum stratgy to limit it by time. such as from 9 a.m to 5 p.m. :eek: This is imp 4 me. plz help Thanks Shaikh Naveed Islamabad.... (5 Replies)
Discussion started by: shaikh.naveed
5 Replies

6. AIX

Limit logins to 1

Trying to limit 1 login per account... Setup: We have 2 auth logins, one to the AIX (telnet)then into a distribution mgmt software, the users do not have a shell to log into on the AIX itself, so placing a script such as: active=`who | awk '{printf",%s,\n",$1}' | grep ,$LOGNAME, | wc -l` ... (0 Replies)
Discussion started by: pheusion
0 Replies

7. Shell Programming and Scripting

How to limit output

hello, i'm trying to figure out a way to limit the output from an SQL query that is counting the number of occurances of a value in a field and the problem is when i run this query against a huge file with many unique values the output is pretty huge. Is there a way i can specifically LIMIT the... (2 Replies)
Discussion started by: bobk544
2 Replies

8. Shell Programming and Scripting

How to remove a file in shell script if its size exceeds limit?

How can i remove a file using shell script when its size exceeds 10MB. Given that file is located in different location to the shell script where it is running? (4 Replies)
Discussion started by: vel4ever
4 Replies

9. Solaris

ARG_MAX Limit

Hi, I can able to view the limit of ARG_MAX ENV variable using the command: getconf ARG_MAX can we modify the value of ARG_MAX somewhere or is that common value depending upon the version of kernel ? (1 Reply)
Discussion started by: penqueen
1 Replies

10. UNIX for Dummies Questions & Answers

Maxuproc and limit

// AIX 6.1 & Power 7 server I have maxuproc set to 16384. lsattr -El sys0 -a maxuproc maxuproc 16384 Maximum number of PROCESSES allowed per user True What is the maximum number of maxuproc we can go for? If I increase maxuproc to the higher number, what would be ramifications? I... (1 Reply)
Discussion started by: Daniel Gate
1 Replies
pthread_attr_getstack(3C)												 pthread_attr_getstack(3C)

NAME
pthread_attr_getstack, pthread_attr_setstack - get or set stack attributes SYNOPSIS
cc -mt [ flag... ] file... -lpthread [ library... ] #include <pthread.h> int pthread_attr_getstack(const pthread_attr_t *restrict attr, void **restrict stackaddr, size_t *restrict stacksize); int pthread_attr_setstack(pthread_attr_t * attr, void *stackaddr, size_t stacksize); The pthread_attr_getstack() and pthread_attr_setstack() functions, respectively, get and set the thread creation stack attributes stackaddr and stacksize in the attr object. The stack attributes specify the area of storage to be used for the created thread's stack. The base (lowest addressable byte) of the stor- age is stackaddr, and the size of the storage is stacksize bytes. The stacksize argument must be at least {PTHREAD_STACK_MIN}. The stack- addr argument must be aligned appropriately to be used as a stack; for example, pthread_attr_setstack() might fail with EINVAL if (stack- addr & 0x7) is not 0. All pages within the stack described by stackaddr and stacksize are both readable and writable by the thread. Upon successful completion, these functions return a 0; otherwise, an error number is returned to indicate the error. The pthread_attr_getstack() function stores the stack attribute values in stackaddr and stacksize if successful. The pthread_attr_setstack() function will fail if: EINVAL The value of stacksize is less than {PTHREAD_STACK_MIN}. The pthread_attr_setstack() function may fail if: EACCES The stack page(s) described by stackaddr and stacksize are not both readable and writable by the thread. EINVAL The value of stackaddr does not have proper alignment to be used as a stack, or (stackaddr + stacksize) lacks proper align- ment. These functions are appropriate for use by applications in an environment where the stack for a thread must be placed in some particular region of memory. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |Async-Signal-Safe | +-----------------------------+-----------------------------+ pthread_attr_init(3C), pthread_attr_setdetachstate(3C), pthread_attr_setstacksize(3C), pthread_create(3C), attributes(5) 23 Mar 2005 pthread_attr_getstack(3C)
All times are GMT -4. The time now is 03:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy