- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: reserve swap for root
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2004 08:20 PM
тАО05-06-2004 08:20 PM
reserve swap for root
yesterday one of system's hung since there was no more swap (process/script went crazy).
It was not possible to kill the processes that used the swap since there was no more mem/swap to start a shell to to execute the 'ps', 'kill' cmds.
Is is possible to reserve a part of the swap or have a dedicated swap to execute some commands or for root.
Whatever happens, root will always have enough swap/mem to execute a minimal subset of cmds.
I don't know if this makes any sense but it would be useful to have this.
Kris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2004 08:28 PM
тАО05-06-2004 08:28 PM
Re: reserve swap for root
There is no way to reserve a memory dedicated for an user for special use (you can only reserve memory manually by a program and release it if necessary but this indicates you have a shell available to quit the program)
This is the reason why tuning is done for the applications. It is to the administrator to configure the machine properly to have enough resources available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2004 10:09 PM
тАО05-06-2004 10:09 PM
Re: reserve swap for root
If you could just kill these procs, the problem would be solved but since there are no more system resources, you cannot do this.
So, if you could reserve some system resource for such situations, you could fix the problem without having to do a power on/power off
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2004 10:39 PM
тАО05-06-2004 10:39 PM
Re: reserve swap for root
If a "wild" process spawns faster than releasing old resources it is an application problem. In this case calculate the maximum and configure the os not to reach the limit. If not possible write script preventing this situation or reconfigure application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2004 04:40 AM
тАО05-07-2004 04:40 AM
Re: reserve swap for root
in case you wonder, what Ralf is talking about, try
sysconfig -q proc
for that user and limit for example the process per user value.
Then the process will only be able to spawn a certain amount processes.
greetings,
Michael