HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - Linux
 - >
 - Re: Increasing Shared Memory
 
Operating System - Linux
        1840143
        Members
    
    
        3108
        Online
    
    
        110161
        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
 
08-28-2003 11:06 PM
08-28-2003 11:06 PM
			
				
					
					
						How to increase the shared memory in redhat
Can the shared memory be viewed by using free command?
when i say i get the following
[root@redhat root]# free
total used free
Mem: 126152 115360 10792
-/+ buffers/cache: 40848 85304
Swap: 257000 21676 235324
shared buffers cached
0 9076 65436
Kindly help me out in increasing the shared memory
thanks
Jagadesh
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
Can the shared memory be viewed by using free command?
when i say i get the following
[root@redhat root]# free
total used free
Mem: 126152 115360 10792
-/+ buffers/cache: 40848 85304
Swap: 257000 21676 235324
shared buffers cached
0 9076 65436
Kindly help me out in increasing the shared memory
thanks
Jagadesh
Solved! Go to Solution.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-28-2003 11:27 PM
08-28-2003 11:27 PM
			
				
					
						
							Re: Increasing Shared Memory
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Using either 'top' or 'cat /proc/meminfo' gives you a better overview of what is currently in use.
The 'shared memory' is the amount of memory used by '.so' (shared) libraries. Unless you are using applications written that use shared libraries, the value will usually be little.
You cannot force this value up. It will go up dynamically as applications use it.
		
		
	
	
	
The 'shared memory' is the amount of memory used by '.so' (shared) libraries. Unless you are using applications written that use shared libraries, the value will usually be little.
You cannot force this value up. It will go up dynamically as applications use it.
	One long-haired git at your service...
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-28-2003 11:32 PM
08-28-2003 11:32 PM
			
				
					
						
							Re: Increasing Shared Memory
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Just an addition to stuarts comment, if you really do mean applications using shared memory i.e for inter process communication, ipcs -m will show you what is being used and by who.
					
				
			
			
				
		
		
	
	
	
	Never preceed any demonstration with anything more predictive than "watch this"
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-28-2003 11:44 PM
08-28-2003 11:44 PM
Solution
			
				
					
					
						change without rebuilding kernel or rebooting:
# each > /proc/sys/kernel/shmax
for example,
# echo 22554432 > /proc/sys/kernel/shmmax
note that shared memory setup changes in Linux2.4.
If using oracle, shared memory parameter should be set so that SGA will fit in one segment if possible.
 
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
# each
for example,
# echo 22554432 > /proc/sys/kernel/shmmax
note that shared memory setup changes in Linux2.4.
If using oracle, shared memory parameter should be set so that SGA will fit in one segment if possible.
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