I have set max stack size as 4KB for my thread, but it always using very less.
So I like to know what is the maximum stack size is used by my thread.
I tried with gcc -fstack-usage command line option, but its not supported by mips.
Kindly suggest me the way to find the max stack size.
The sed -f option (reading sed commands from a file) seems to have a limit of 200 transactions per file. I can't see anything in the man pages about this restriction.
I have a file with several thousand sed commands I need to perform (substitutions) - and while I can split the file into... (14 Replies)
Hi,
When i checked for the maximum file size on solaris 5.9
the max file size obtained was only 2147483647
and all the further writes to the file which had reached that max size is not added to that file.
even i had registered the signal SIGXFSZ, but the signal was not delivered to the... (5 Replies)
Hi friends,
what is the maximum allowable attachment size, we can send using mailx command. what is an alternate option if my file is > than that size?
thanks
sreeji (0 Replies)
Is there a reasonable maximum limit for tar file sizes? I want to transfer a pile of files from one server to another but have restricted means, so tarring them first will probably be best... but how big can I go - both for the file format itself and for the operating system (linux) to handle? ... (7 Replies)
Hi All,
- block size of 512KB & every address requires 4 bits
- The inode structure contains 10 direct pointers, 1 single
indirect, 1 double indirect & 1 triple indirect pointer
What could be the possible maximum file size for this
system
Any guess? I am unable to understand the question... (0 Replies)
Hi,
Do you know what is the maximum size I can use to create a ramdisk on AIX 5.3? I m pretty sure i've seen somewhere i can use more than 2 Gb but I can't remember where. I need to do some recommandations for one of my customer and they'll need to create a ramdisk of 20 Gb. Can this be done?
... (1 Reply)
Hi friends,
Hope everybody is fine. First have a look at my code, then we will talk about it.
$ cat copy.c
#include <stdio.h>
#define PERMS 0644 /* RW for owner, R for group, others */
#define BUFSIZE 1
char *progname;
int main(int argc,char * argv)
{
int f1, f2, n;
... (4 Replies)
Hi Friends,
My requirment is to Query the oracle database , generate the file change the extension to .csv and send to clients automatically everyday.
However i am able to perform the task. But sometimes when the file size is getting increased more than 1 MB then the mail is... (5 Replies)
Hi Guys,
I'm trying to install Oracle Database on to Oracle Linux 7.6 but when
the database install package checks the OS set-up, it keeps on failing
on the soft limits for the stack. It's default value is 8192 but I'm trying
to set it to 10240.
This is what I added to... (2 Replies)
Discussion started by: ASGR
2 Replies
LEARN ABOUT HPUX
pthread_default_rsestacksize_np
pthread_default_rsestacksize_np(3T)pthread_default_rsestacksize_np(3T)NAME
pthread_default_rsestacksize_np() - change the default stacksize.
SYNOPSIS PARAMETERS
new_size The new default register stack size.
old_size Pointer to where the old default register stack size is returned.
DESCRIPTION
The function allows an application to change the default value for the rsestacksize attribute. This function must be called before any
threads have been created. The new default stack size is passed in the new_size parameter. If not NULL, the previous default stack size
is returned in old_size. If new_size is zero, this function can be used (at any time) to query the current default stack size.
On HP-UX, threads with default stack sizes are cached after they terminate. The next time a thread is created with a default stack size, a
cached thread (and its stack) are reused. This can result in significant performance improvements for
However, if the default register stack size is not appropriate for an application, it cannot take advantage of this performance enhance-
ment. By using the function, the threads library will change the default stack size so that it matches the applications needs. This
allows the application to utilize the performance benefit of cached threads. If either of the set register stack size APIs is called the
register stack portion of the stack space will be that large instead of size determined by the implementation. The memory stack portion
will be the remainder.
RETURN VALUE
Upon successful completion, returns zero. Otherwise, an error number is returned to indicate the error (the variable is not set).
ERRORS
If any of the following occur, the function returns the corresponding error number:
The value specified by
new_size is less than register stack required for a thread.
The calling process has already created threads (this must be called
before any threads are created).
AUTHOR
was developed by HP.
SEE ALSO pthread_attr_getstacksize(3T), pthread_attr_setstacksize(3T), pthread_default_stacksize_np(3T).
STANDARDS CONFORMANCE
Pthread Library pthread_default_rsestacksize_np(3T)