01-28-2002
The error you received was due to the following:
ulimit [n] If n is given, impose a size limit of n 512 byte blocks
on files written by child processes (files of any size
can be read). If n is not given, the current limit is
printed.
You don't need to put the kb in there (which is why it gave an error)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
My /tmp is full, and the oracle installation is crashing. How can I increase the size of /tmp, even though I have allocated all the available disk space to other partitions? (2 Replies)
Discussion started by: pkappaz
2 Replies
2. HP-UX
Hi All,
one of the mount point in Hp ux server has reached 95%
its a data base file and can not be deleted.
so i want to know how to increase the size of mount point
i am new to unix ,please help me (1 Reply)
Discussion started by: jyoti
1 Replies
3. Solaris
Hi all,
I have a 130gb HDD of which 95b is taken up by various partitions of windows xp...
I partitioned my HDD and gave solaris 10gb of space, but now owing to some development stuff i need to increase the space!!!
How do i do it!!
Please note that i do have ~20gb of space left still...... (2 Replies)
Discussion started by: wrapster
2 Replies
4. UNIX for Dummies Questions & Answers
Hi..
I want to increase the file system size of any filesystem online, without using the Volume manager like LVMs, is it possible? & if yes then how? (3 Replies)
Discussion started by: Amol21
3 Replies
5. UNIX for Dummies Questions & Answers
Unix protect its password by using salt
It that mean larger the salt size the more secure?
if the salt size increase greatly, will the password still able to be cracked?
thank you for helping (1 Reply)
Discussion started by: cryogen
1 Replies
6. UNIX for Dummies Questions & Answers
hi guys
I am working on my vmware workstation.
I have a /dev/sdb which is 5GB. I am using LVM.
Now I increase /dev/sdb 2 more GB.
fdisk -l shows 7 GB but pvscan still shows 5GB.
how do I make my system recognize the new 7GB added and be able to add those to my physical volumen and... (1 Reply)
Discussion started by: kopper
1 Replies
7. Solaris
:wall:Dear Solaris 10 Specialists,
I am having difficulty trying to increase the soft stack limit to 16384 for user george on this Solaris 10 SunFire Sparc server as follows:
$ uname -a
SunOS galactica 5.10 Generic_141444-09 sun4v sparc SUNW,SPARC-Enterprise-T5220
% id -p ... (3 Replies)
Discussion started by: gjackson123
3 Replies
8. Red Hat
Hi friends
I want increase font size in linux can anybody help me plese
Example:this is my in put
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 18G 2.5G 14G 15% /
/dev/sda2 ... (1 Reply)
Discussion started by: vasuibm
1 Replies
9. Red Hat
Hi
I am using oracle linux 6.4. My hard drive capacity is 500 GB. my filesystem size onbly 50GB. I would like to extend my filesystem size to around 100GB. I tried many codes but still I am not able.
this is the output of df -h :
Filesystem Size Used Avail Use% Mounted on... (6 Replies)
Discussion started by: farshad
6 Replies
10. What is on Your Mind?
Any suggestions on how to increase the number of posters and contributors? Please vote and write in your suggestions.
Thank you! (72 Replies)
Discussion started by: Neo
72 Replies
LEARN ABOUT SUSE
thr_min_stack
thr_min_stack(3C) Standard C Library Functions thr_min_stack(3C)
NAME
thr_min_stack - return the minimum-allowable size for a thread's stack
SYNOPSIS
cc -mt [ flag... ] file...[ library... ]
#include <thread.h>
size_t thr_min_stack(void);
DESCRIPTION
When a thread is created with a user-supplied stack, the user must reserve enough space to run this thread. In a dynamically linked execu-
tion environment, it is very hard to know what the minimum stack requirments are for a thread. The function thr_min_stack() returns the
amount of space needed to execute a null thread. This is a thread that was created to execute a null procedure. A thread that does some-
thing useful should have a stack size that is thr_min_stack() + <some increment>.
Most users should not be creating threads with user-supplied stacks. This functionality was provided to support applications that wanted
complete control over their execution environment.
Typically, users should let the threads library manage stack allocation. The threads library provides default stacks which should meet the
requirements of any created thread.
thr_min_stack() will return the unsigned int THR_MIN_STACK, which is the minimum-allowable size for a thread's stack.
In this implementation the default size for a user-thread's stack is one mega-byte. If the second argument to thr_create(3C) is NULL, then
the default stack size for the newly-created thread will be used. Otherwise, you may specify a stack-size that is at least THR_MIN_STACK,
yet less than the size of your machine's virtual memory.
It is recommended that the default stack size be used.
To determine the smallest-allowable size for a thread's stack, execute the following:
/* cc thisfile.c -lthread */
#define _REENTRANT
#include <thread.h>
#include <stdio.h>
main() {
printf("thr_min_stack() returns %u
",thr_min_stack());
}
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5), standards(5)
SunOS 5.10 12 May 1998 thr_min_stack(3C)