- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: shared memory deleted but not freed
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
Forums
Discussions
Discussions
Discussions
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
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
09-03-2002 05:46 AM
09-03-2002 05:46 AM
I have a new rp5430 factory installed with hpux 11i.
I have this o/put from ipcs -m
PC status from /dev/kmem as of Tue Sep 3 14:33:56 2002
T ID KEY MODE OWNER GROUP
Shared Memory:
m 0 0x411c025d --rw-rw-rw- root root
m 1 0x4e0c0002 --rw-rw-rw- root root
m 2 0x412009f0 --rw-rw-rw- root root
m 3 0x301c63c0 --rw-rw-rw- root root
m 5636 0x06347849 --rw-rw-rw- root root
m 5 0x0c6629c9 --rw-r----- root root
m 518 0xffffffff --rw-r--rw- root root
m 1031 0x00000000 D-rw------- root root
m 2568 0x00000000 D-rw------- www other
m 22537 0x52594801 --rw-rw---- root informix
m 1034 0x52594802 --rw-rw---- root informix
m 1035 0x52594803 --rw-rw-rw- root informix
the two entries marked as deleted are always present, even immediatly after a reboot.
Can anyone give me some directions in tracking down the source of these, I'm guessing something is failing during the boot but I can't finds anything in /etc/rc.log or the syslog.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 05:56 AM
09-03-2002 05:56 AM
Re: shared memory deleted but not freed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 06:05 AM
09-03-2002 06:05 AM
Re: shared memory deleted but not freed
ipcs -ma and pick up the cpid-
Then ps -ef | grep
Should give you a pointer.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 06:22 AM
09-03-2002 06:22 AM
Re: shared memory deleted but not freed
The segment owned by www is /opt/apache/bin/httpd
but the process shown for the segment owned by root does not exist!
T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME
Shared Memory:
m 1031 0x00000000 D-rw------- root root root root 8 1052672 1997 1997 10:48:07 no-entry 10:48:07
m 2568 0x00000000 D-rw------- www other root root 8 184324 2003 2003 10:48:11 no-entry 10:48:11
hpl5430:/etc> ps -ef|grep 1997
root 5445 3882 0 15:27:11 ttyp8 0:00 grep 1997
As an aside what are the units for SEGSZ ?
Thanks in advance
Tony.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 06:42 AM
09-03-2002 06:42 AM
Re: shared memory deleted but not freed
By any chance, have you used kill -9? That's the most common cause for this situation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 06:57 AM
09-03-2002 06:57 AM
Re: shared memory deleted but not freed
No I have not killed anything, I see these segments immediately after booting the server!
I can browse to the apache server on the machine, so it's not died, at least not completely.
I take it there are no commands for listing the pids of all attached processes, I cant seem to find one :o(
Cheers,
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 07:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 08:51 AM
09-03-2002 08:51 AM
Re: shared memory deleted but not freed
scoreboard (control structure). Alternatively,
it will used disk.
As the main process forks off children as needed, I would
expect they delete the id
so that it will be cleaned up
if apache dies or is killed.
Both deleted segements may belong to apache. What starts
just before informix? The first segment was created
within the last three scripts run before informix started.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 11:40 PM
09-03-2002 11:40 PM
Re: shared memory deleted but not freed
I'm assuming you get the 3 from the ID, however doesn't that assume that every script run claims some shared memory, I wouldn't have thought this was the case.
Tony