Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Why does UNIX kernel does not shrink? Post 302092927 by dillidamunda on Friday 13th of October 2006 01:41:33 PM
Old 10-13-2006
i am really getting confused with the points..
lets answer this question by taking any assumption..

So,

1. What can be the assumption.

2.Explain why it would be possible to shrink the stack at this point

3. and why the Unix kernel does not shrink it.

I think answering these questions will simplify the problem.
 

10 More Discussions You Might Find Interesting

1. Solaris

How To Shrink /Tmp

Hi, Do you know if we can shrink the size of the Swap under Solaris 8 ? 8Gb is already allocated to /TMP but we would like to reduce to 1 GB. Thanks, Fabien. (2 Replies)
Discussion started by: unclefab
2 Replies

2. UNIX for Dummies Questions & Answers

Unix Kernel Switching?

How do I go about switching from one Kernel to another? I figure the process is somewhat like "compile -> remove old boot reference -> add new boot reference -> reboot/restart kernel"... but honestly I have no idea how to do this... I'm trying to test out a piece of software, but it only runs... (3 Replies)
Discussion started by: jjinno
3 Replies

3. AIX

jfs2 - cannot shrink filesystem

Hi, is anyone aware about filesystem size restrictions on AIX? And does anyone know a solution for below problem? I have 2 boxes attached to EMC Raid5 storage, both have huge /optware/oracle/oradata filesystems - 4.5 and 2.5 TB in size, nothing is striped or in any other way restricted. Due to... (11 Replies)
Discussion started by: zxmaus
11 Replies

4. UNIX for Advanced & Expert Users

Shrink my partition to new disk

I want to backup my partitions by shrinking it my issue is like I want to create a new disk copy from only the used blocks I my current image. How would I redirect the output of resize2fs to new disk and dd the current partition so that I can boot my new image without issues and also without... (3 Replies)
Discussion started by: amol28kulkarni
3 Replies

5. AIX

Shrink Volume in V7000

When we shrink one of the volume in our IBM Storwize V7000, upto 100GB its shrinks well on storage but the shrink space was not reflected on the volume group, it still shows the same space that it has before shrinking. Should I have to export/import the volume group. (10 Replies)
Discussion started by: m_raheelahmed
10 Replies

6. UNIX for Advanced & Expert Users

How to shrink root file system (LVM) in Linux Fedora 9?

My root file system is of type LVM. i wanna shrink it but unable to do so. When i give the below command: resize2fs /dev/mapper/VolGroup00-VolLog00 10000M it messages that online shrink can't can't be done as the logical volume is mounted on /. i switched to single user mode by giving command:... (2 Replies)
Discussion started by: ravisingh
2 Replies

7. SCO

Study UNIX Kernel

Hi all, I hope you are fine, I'd like study Os I tried a book like Silberschatz it's a good book but like other books it talks about the concepts abstractly and that's due to it try to encompass many concepts from many operating systems in GENERAL. i am not too much comfortable from these... (20 Replies)
Discussion started by: Abdo_8008
20 Replies

8. Red Hat

Shrink ext4 filesystem and reduce the size of a Logical Volume in Linux

Hello guys, I would like to ask you kindly if you don't know some quick and safe method how to shrink ext4 filesystem and reduce the size of a Logical Volume in Linux, please? Thank you very much. (2 Replies)
Discussion started by: los_bandidos
2 Replies

9. AIX

[ASK] decrease/shrink the size of filesystem

Hello, I would like to reduce the size of filesystem online. We can do online for increase without any problem. So any risk can be occurred with the decrease? This is not an issue, just a discussion for decrease/shrink space with chfs command. My AIX system is version 6.1 and the filesystem... (2 Replies)
Discussion started by: Phat
2 Replies

10. UNIX for Beginners Questions & Answers

Safe way to shrink lvm vg_*-lv_swap partition and reclaim freed space on Linux?

Hello, # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 1024M 0 rom sda 8:0 0 38.2G 0 disk ├─sda1 8:1 0 500M 0 part /boot └─sda2 8:2 ... (2 Replies)
Discussion started by: centosadmin
2 Replies
pa_maxssiz(5)							File Formats Manual						     pa_maxssiz(5)

NAME
pa_maxssiz: pa_maxssiz_32bit, pa_maxssiz_64bit - maximum size (in bytes) of the stack for a user process running under the PA-RISC emulator on an Integrity system VALUES
Default Allowed values DESCRIPTION
User programs on HP-UX systems are composed of five discrete segments of virtual memory: text (or code), data, stack, shared, and I/O. PA-RISC binaries running under Itanium-based system using the PA-RISC emulator have their stack segment size (which includes both the mem- ory stack and the RSE stack) determined by or The emulated stack from the process perspective is the same as the stack if the process were executed on a PA-RISC machine without the emu- lator. The actual (non-emulated) process stack (both memory and RSE) for an emulated process are of a non-configurable size and are used solely for the internal use of the emulator for a PA-RISC process on Itanium-based system. This tunable therefore represents the required value of or on a corresponding PA-RISC machine to execute the emulated process plus working space for the emulator itself. As with the stack address space sized by the address space used by the emulator is both private to the process and not usable for other purposes regardless of whether the emulator stack grows to encompass the full range or not. As a consequence, the tunable value may be viewed as an amount of process data address space which will be unavailable to this PA-RISC process. Caution is advised especially for 32 bit processes since the default address space model only provides 1 Gb of private data space. Setting this tunable too high will result in execution failure when other allocations (private calls or calls) fail due to insufficient available address space. If this occurs, revise the address space model of the failing PA-RISC executable using to allow more private data virtual address space or lower the tunable. Who is Expected to Change This Tunable? Anyone. Restrictions on Changing Given that the user memory stack size is not modifiable by this tunable, it is expected that detailed knowledge of the PA-RISC emulator memory usage is needed before modifying this tunable. When Should the Value of This Tunable Be Raised? This tunable should be raised if the PA-RISC emulator on Itanium-based system requires additional space for stack emulation. What Are the Side Effects of Raising the Value? The PA-RISC emulator will use more of the virtual address space for stack, leaving less virtual address space for data allocations. Rais- ing the value too high will result in application failure when data allocations fail due to insufficient virtual address space. Since it may not be known which processes are based off of PA-RISC binaries and which off Itanium-based binaries, arbitrary raising of this tunable is discouraged. When Should the Value of This Tunable Be Lowered? This tunable should only be lowered if the workload for the PA-RISC emulator is known on the system, more space than is needed is currently used for stack emulation, and swap space (either reserved or allocated) is at a premium on the system. What Are the Side Effects of Lowering the Value? Lowering this tunable will decrease the available stack space for emulated PA-RISC binary executions. Emulated processes needing larger stacks will fail stack growth requests (just as lowering or may cause process termination due to failure to grow stack). What Other Tunable Values Should Be Changed at the Same Time? None. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
chatr(1), mmap(2), sbrk(2), maxssiz(5). Integrity Systems Only Tunable Kernel Parameters pa_maxssiz(5)
All times are GMT -4. The time now is 03:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy