Sponsored Content
Operating Systems AIX Permanently set maxdata to maximum Post 302954475 by kprajesh on Tuesday 8th of September 2015 09:31:50 AM
Old 09-08-2015
Permanently set maxdata to maximum

Hi,
I've a 32-bit program running on AIX. By default the memory limit of the process is 256 MB as per the 32-bit AIX OS behavior. This can be changed using the LDR_CNTRL=maxdata environment variable. Baseed on the value that we set in terms of increments of segments the process can consume more memory when required.
During compile time also this can be set using "-bmaxdata:0x80000000" which would increase the max memory limit to 2.25GB. The question that I have is, is it OK to do do this max memory setting on my program? Are there are limitation/issues due to this?
Would appreciate if I could get the details.

Thanks'n Regards
-KPRajesh
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

compatibilty with MAXDATA machines

hi, I'm thinking of buying a Maxdata laptop 3100x. Only problem is that I'll need to run LINUX on it, and I've been warned that some machines don't run UNIX due to problems with their graphics cards. I contacted Maxdata, who say they've never tested their machines for UNIX-compatibility, which... (1 Reply)
Discussion started by: perturbed
1 Replies

2. AIX

I can not increase the maxdata to 2 G.B

Please can anyone help me in my problem my problem is i have AIX 5.3 and We need 1 GB of data segment size available and we found To set the data segment size to 1 GB, set the LDR_CNTRL variable to LDR_CNTRL=MAXDATA=0x40000000@DSA. But after we set it and check with command “$ dump -X64 -o... (0 Replies)
Discussion started by: mghazaly
0 Replies

3. Shell Programming and Scripting

lynx browser set permanently option

hi all, is there somebody that know how can I set an permanently option for the lynx text browser? The reason is if I open some URL's and type my login infos then lynx show follow message: P)roceed, use G)ET or C)ancel Server asked for 301 redirection of POST content to URL: The UNIX... (1 Reply)
Discussion started by: research3
1 Replies

4. Solaris

How do i permanently set bash profile??

Hi all, I don't want to enter below command on solaris every time. How do i permanently set this command on Solaris. I know that this operation is a piece of cake on redhat because there is a /etc/rc.local file on it. But Solaris ???? bash-3.00#export PS1="\e (2 Replies)
Discussion started by: getrue
2 Replies

5. Red Hat

set device mode permanently with udev rule

On a test server running CentOS 6, I try to permanently set the owner, group and mode of disk devices for use with a DB2 database. For this I created an udev rule file /etc/udev/rules.d/99-db2.rules: KERNEL=="sdb*", OWNER="db2usrl1", GROUP="db2adml1", MODE="0600" After a reboot, the owner and... (4 Replies)
Discussion started by: hergp
4 Replies

6. UNIX for Advanced & Expert Users

gmail revert to old look permanently

I thought I would share gmail revert to old look permanently. I am sure I am not the only one annoyed by the new look. Install Stylish extension Choose the Stylish UserStyle that you want. I know The Return of Old Gmail and gmail-b2b both work but I prefer gmail-b2b since I think it looks... (0 Replies)
Discussion started by: cokedude
0 Replies

7. Red Hat

Change service name permanently

Hi, Since everything is doable in Linux so far, what is the ability of changing a spicifc service name permanently. e.g. I want to change the network service name to connection, so I can use chkconfig command as follow: chkconfig connection off --level 5 # for disabling network service in... (7 Replies)
Discussion started by: leo_ultra_leo
7 Replies

8. UNIX for Dummies Questions & Answers

Set maximum memory for user

Hi, I have as Solaris 10 (x86) system. I want to set the maximum memory for the user But the following comaand is valid only till next reboot.Pls let me know how to make it permanenent. prctl -n project.max-shm-memory -r -v 4G -i project 3 (6 Replies)
Discussion started by: Rossdba
6 Replies

9. Solaris

Set autolist permanently

Hi , How to set autolist permanently in Solaris 10 (2 Replies)
Discussion started by: ankit.padhiyar
2 Replies

10. Red Hat

Cannot set 'soft limits' for 'maximum stack size' for a standard user

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
KDUMP(1)						    BSD General Commands Manual 						  KDUMP(1)

NAME
kdump -- display kernel trace data SYNOPSIS
kdump [-dEnlHRSsTA] [-f trfile] [-m maxdata] [-p pid] [-t trstr] DESCRIPTION
The kdump command displays the kernel trace files produced with ktrace(1) in human readable format. By default, the file ktrace.out in the current directory is displayed. The options are as follows: -d Display all numbers in decimal. -E Display elapsed timestamps (time since beginning of trace). -f trfile Display the specified file instead of ktrace.out. -H List the thread ID (tid) of the thread with each trace record, if available. If no thread ID is available, 0 will be printed. -l Loop reading the trace file, once the end-of-file is reached, waiting for more data. -m maxdata Display at most maxdata bytes when decoding I/O. -n Suppress ad hoc translations. Normally kdump tries to decode many system calls into a more human readable format. For example, ioctl(2) values are replaced with the macro name and errno values are replaced with the strerror(3) string. Suppressing this feature yields a more consistent output format and is easily amenable to further processing. -p pid Display only trace events that correspond to the process or thread pid. This may be useful when there are multiple processes or threads recorded in the same trace file. -R Display relative timestamps (time since previous entry). -r When decoding STRU records, display structure members such as UIDs, GIDs, dates etc. symbolically instead of numerically. -S Display system call numbers. -s Suppress display of I/O data. -T Display absolute timestamps for each entry (seconds since epoch). -A Display description of the ABI of traced process. -t trstr See the -t option of ktrace(1). The output format of kdump is line oriented with several fields. The example below shows a section of a kdump generated by the following commands: ?> ktrace echo "ktrace" ?> kdump 85045 echo CALL writev(0x1,0x804b030,0x2) 85045 echo GIO fd 1 wrote 7 bytes "ktrace " 85045 echo RET writev 7 The first field is the PID of the process being traced. The second field is the name of the program being traced. The third field is the operation that the kernel performed on behalf of the process. If thread IDs are being printed, then an additional thread ID column will be added to the output between the PID field and program name field. In the first line above, the kernel executes the writev(2) system call on behalf of the process so this is a CALL operation. The fourth field shows the system call that was executed, including its arguments. The writev(2) system call takes a file descriptor, in this case 1, or standard output, then a pointer to the iovector to write, and the number of iovectors that are to be written. In the second line we see the operation was GIO, for general I/O, and that file descriptor 1 had seven bytes written to it. This is followed by the seven bytes that were written, the string "ktrace" with a carriage return and line feed. The last line is the RET operation, showing a return from the ker- nel, what system call we are returning from, and the return value that the process received. Seven bytes were written by the writev(2) sys- tem call, so 7 is the return value. The possible operations are: Name Operation Fourth field CALL enter syscall syscall name and arguments RET return from syscall syscall name and return value NAMI file name lookup path to file GIO general I/O fd, read/write, number of bytes PSIG signal signal name, handler, mask, code CSW context switch stop/resume user/kernel wmesg USER data from user process the data STRU various syscalls structure SCTL sysctl(3) requests MIB name PFLT enter page fault fault address and type PRET return from page fault fault result SEE ALSO
ktrace(1) HISTORY
The kdump command appeared in 4.4BSD. BSD
March 28, 2014 BSD
All times are GMT -4. The time now is 11:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy