HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Memory Window
Operating System - HP-UX
1833848
Members
2411
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
12-30-2001 11:55 PM
12-30-2001 11:55 PM
Dear Guru,
I have configured Memory windows in one of our testing server. It seems ok. I tried to run informix under memory windows. But when I am giving informix onstat command then it is showing below error.
onstat: Shared memory: permission denied.
If I can't user our informix command then how I can administrate our database.
/etc/services.window
informix 20
startDB.sh
WinId=$(getmemwindow informix)
setmemwindow -i $WinId /usr/informix_7.31/bin/oninit
I have downloaded memwin_stats . But I could not understand what actually it is showing in its output. Would anybody give me any help file
I have configured Memory windows in one of our testing server. It seems ok. I tried to run informix under memory windows. But when I am giving informix onstat command then it is showing below error.
onstat: Shared memory: permission denied.
If I can't user our informix command then how I can administrate our database.
/etc/services.window
informix 20
startDB.sh
WinId=$(getmemwindow informix)
setmemwindow -i $WinId /usr/informix_7.31/bin/oninit
I have downloaded memwin_stats . But I could not understand what actually it is showing in its output. Would anybody give me any help file
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2001 06:38 AM
12-31-2001 06:38 AM
Re: Memory Window
there's a patch for this:
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=31221fd013af53e455/screen=ckiDisplayDocument?docId=200000054829873
it seems in some instances that the getmemwindow function will return the incorrect id.
HTH
---
mark
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=31221fd013af53e455/screen=ckiDisplayDocument?docId=200000054829873
it seems in some instances that the getmemwindow function will return the incorrect id.
HTH
---
mark
the future will be a lot like now, only later
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2001 04:51 PM
12-31-2001 04:51 PM
Solution
The getmemwindow command is just a simple grep of the /etc/services.window
file. Unless you're running lots of windows, it will be simpler to use the window number since that's all that HP-UX cares about.
However, your problem is likely due to running a related program in the wrong window. The Informix shared memory is mapped into window ID 20 but if you run other Informix utilities that need to look at shared memory, they must also be started in the same window, as in:
# setmemwindow -i 20 /usr/informix_7.31/bin/onstat
Memory windows work really well but once a process is started in a memory window, all other related programs must be run in that same window if they need to access Interprocess Communication (IPC) channels like shared memory.
Bill Hassell, sysadmin
file. Unless you're running lots of windows, it will be simpler to use the window number since that's all that HP-UX cares about.
However, your problem is likely due to running a related program in the wrong window. The Informix shared memory is mapped into window ID 20 but if you run other Informix utilities that need to look at shared memory, they must also be started in the same window, as in:
# setmemwindow -i 20 /usr/informix_7.31/bin/onstat
Memory windows work really well but once a process is started in a memory window, all other related programs must be run in that same window if they need to access Interprocess Communication (IPC) channels like shared memory.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP