HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - Linux
 - >
 - Memory issue when I start Oracle 10g
 
Operating System - Linux
        1840180
        Members
    
    
        3764
        Online
    
    
        110162
        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
 
11-02-2006 12:48 AM
11-02-2006 12:48 AM
			
				
					
					
						After starting my Oracle 10g, I get the following in the "ipcs -mba" command.
T ID KEY MODE OWNER GROUP SEGSZ
m 17416 0x00000000 D-rw------- ora10g oinstall 1474564
The man page says "The associated shared memory segment has been removed. It will disappear when the last process attached to the segment detaches it."
Any ideas as why ? Should I worry about this "D”?
					
				
			
			
				
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
T ID KEY MODE OWNER GROUP SEGSZ
m 17416 0x00000000 D-rw------- ora10g oinstall 1474564
The man page says "The associated shared memory segment has been removed. It will disappear when the last process attached to the segment detaches it."
Any ideas as why ? Should I worry about this "D”?
	Life is full of bugs
			
			
				Solved! Go to Solution.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-02-2006 01:23 AM
11-02-2006 01:23 AM
			
				
					
						
							Re: Memory issue when I start Oracle 10g
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Shalom,
Probably an Oracle application bug.
Oracle is famous for memory leaks and not releasing memory.
If you have an application written to use oracle code it could also be due to poor programming practices.
If it does not impact the users I would not be overly concerned.
SEP
		
		
	
	
	
Probably an Oracle application bug.
Oracle is famous for memory leaks and not releasing memory.
If you have an application written to use oracle code it could also be due to poor programming practices.
If it does not impact the users I would not be overly concerned.
SEP
	Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
			
			
				
			
			
			
			
			
			
		Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-02-2006 02:18 AM
11-02-2006 02:18 AM
			
				
					
						
							Re: Memory issue when I start Oracle 10g
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Well, are you suggesting that I should ignore this "D" because it is Oracle related or ignore this "D" no matter what?
					
				
			
			
				
		
		
	
	
	
	Life is full of bugs
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-02-2006 03:48 AM
11-02-2006 03:48 AM
Solution
			
				
					
					
						The "D" status is actually associated with a very common practice.  The way that system V shared memory works makes it easy to loose track of resources.  By default a shared memory segment will continue to exist if the process that created it dies.  Its lifespan is kind of like that of a file.  (But it goes away on reboot.)  That behavior can easily lead to unwanted shared memory segments that linger.
The common practice is to create a shared memory segment and then map it and "remove" it with shmctl(IPC_RMID). The segment continues to exist for processes that have it mapped and for forked child processes. But it will go away as soon as all processes that have it mapped go away. That is the way to ensure that the segment won't linger too long. (It is very like unlinking a tmp file so that it will go away when a process exits.)
		
		
	
	
	
The common practice is to create a shared memory segment and then map it and "remove" it with shmctl(IPC_RMID). The segment continues to exist for processes that have it mapped and for forked child processes. But it will go away as soon as all processes that have it mapped go away. That is the way to ensure that the segment won't linger too long. (It is very like unlinking a tmp file so that it will go away when a process exits.)
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