10-07-2003
Yeah, malloc() tries to grow the data segment, and yes, you are currently limited to 131K.
And your stack is limited 32K bytes. There is also a text segment. However the sum of these, data+stack+text must be less than 32K if the "memory" line means what I think it means.
AIX must work differently than what I'm used to. Or maybe not...do a "man getrlimit". The stack stuff will be under RLIMIT_DATA and memory might be RLIMIT_AS.
Also try /usr/bin/ulimit -Ha to see if they are your hard limits too.
10 More Discussions You Might Find Interesting
1. AIX
good morning
what is the better solution to examen a P570 ?
because i use topas and nmon, and the results are totally different !!!
with nmon, i have 80% free cpu, and with nmon, i have 90% of used cpu !!!!!!
i take a shot with an intervall of 10s during 10 mn.
thank you (0 Replies)
Discussion started by: pascalbout
0 Replies
2. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
3. AIX
Is there a 'top' command equivalent in AIX 4.2 ?
I already checked and I do not see the following ones anywhere:
top
nmon
topas (1 Reply)
Discussion started by: Browser_ice
1 Replies
4. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
5. Red Hat
Hi guys,
I got this problem with NMON unable to display all the statistics specified via putty.
I believe this is due to libncurses rather than NMON and also the env variable $TERM.
Currently, the $TERM is set to "xterm" which should be compatible with NMON display.
Is there any ways that... (0 Replies)
Discussion started by: DrivesMeCrazy
0 Replies
6. AIX
Hello,
How can I know if ORACLE Database is running slow due to Memory or due to processing power ?
I have only Oracle Database running on a P4 with 4GB RAM.
Could anyone suggest any tools which can help me determine exactly if it is memory issue or processor issue. (43 Replies)
Discussion started by: filosophizer
43 Replies
7. AIX
Hello Gurus,
I am using AIX 5 and on running topas command. I can see the computational memory is 93.3% with Swap Paging memory at 2.2%. Could you please advise if there is any impact by the growth of computational memory?
Below is the stat:
MEMORY
Real,MB 22528
% Comp 93.3
%... (12 Replies)
Discussion started by: panchpan
12 Replies
8. AIX
Hi,
I'm planning to write a script to monitor the memory utilization and so decided to use topas. i'm not familiar with this command
Could anyone help me with an idea on how to display the Memory section alone in the topas... :)
It will be very helpful if you could specify the command... (2 Replies)
Discussion started by: kaushik_87
2 Replies
9. AIX
Hi all,
I am currently having trouble to get nmon to print me the actual CPU usage for an interval for a process.
According to the manual, something like
# time nmon -t -C cron -s 5 -c 2 -F outfile
real 0m0.98s
user 0m0.03s
sys 0m0.04s
should print out at least the process... (15 Replies)
Discussion started by: zaxxon
15 Replies
10. AIX
Hi All,
Anyone know how to capture the nmon avg and max cpu and memory for one of the AIX server for Monthly Utilization Report purposes ?
Thanks.
---------- Post updated at 05:18 AM ---------- Previous update was at 05:07 AM ----------
if possible use shell script to count or sum... (6 Replies)
Discussion started by: ckwan
6 Replies
LEARN ABOUT CENTOS
pcre16_assign_jit_stack
PCRE_ASSIGN_JIT_STACK(3) Library Functions Manual PCRE_ASSIGN_JIT_STACK(3)
NAME
PCRE - Perl-compatible regular expressions
SYNOPSIS
#include <pcre.h>
void pcre_assign_jit_stack(pcre_extra *extra,
pcre_jit_callback callback, void *data);
void pcre16_assign_jit_stack(pcre16_extra *extra,
pcre16_jit_callback callback, void *data);
void pcre32_assign_jit_stack(pcre32_extra *extra,
pcre32_jit_callback callback, void *data);
DESCRIPTION
This function provides control over the memory used as a stack at run-time by a call to pcre[16|32]_exec() with a pattern that has been
successfully compiled with JIT optimization. The arguments are:
extra the data pointer returned by pcre[16|32]_study()
callback a callback function
data a JIT stack or a value to be passed to the callback
function
If callback is NULL and data is NULL, an internal 32K block on the machine stack is used.
If callback is NULL and data is not NULL, data must be a valid JIT stack, the result of calling pcre[16|32]_jit_stack_alloc().
If callback not NULL, it is called with data as an argument at the start of matching, in order to set up a JIT stack. If the result is
NULL, the internal 32K stack is used; otherwise the return value must be a valid JIT stack, the result of calling
pcre[16|32]_jit_stack_alloc().
You may safely assign the same JIT stack to multiple patterns, as long as they are all matched in the same thread. In a multithread appli-
cation, each thread must use its own JIT stack. For more details, see the pcrejit page.
There is a complete description of the PCRE native API in the pcreapi page and a description of the POSIX API in the pcreposix page.
PCRE 8.30 24 June 2012 PCRE_ASSIGN_JIT_STACK(3)