|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  RHEL 6 and WMQ 7.0.1 | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | Gideon | 
		  
		    
			  
				 Posted: Mon Apr 25, 2011 11:44 am    Post subject: RHEL 6 and WMQ 7.0.1 | 
				     | 
			   
			 
		   | 
		 
		
		   Chevalier
 
 Joined: 18 Aug 2009 Posts: 403
  
  | 
		  
		    
			  
				Chapter 6 of the installation Guide contained in the Quick 
 
 
Start Guide references the following link:
 
 
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0m0/index.jsp
 
 
Which recommends max open files to be in excess of 1024, 
 
 
and max processes to be 4096, amoung other kernal 
 
recommendations.:
 
 
I have the following configurations on RHEL 6:
 
 
   
	| Code: | 
   
  
	[root@WEST5 etc]# pwd
 
/etc
 
[root@WEST5 etc]# sysctl -p sysctl.conf
 
net.ipv4.ip_forward = 0
 
net.ipv4.conf.default.rp_filter = 1
 
net.ipv4.conf.default.accept_source_route = 0
 
kernel.sysrq = 0
 
kernel.core_uses_pid = 1
 
net.ipv4.tcp_syncookies = 1
 
error: "net.bridge.bridge-nf-call-ip6tables" is an unknown 
 
 
key
 
error: "net.bridge.bridge-nf-call-iptables" is an unknown 
 
 
key
 
error: "net.bridge.bridge-nf-call-arptables" is an unknown 
 
 
key
 
kernel.msgmni = 1024
 
kernel.shmmni = 4096
 
kernel.shmall = 2097152
 
kernel.sem = 500 256000 250 1024
 
net.ipv4.tcp_keepalive_time = 300
 
fs.file-max = 32768
 
[root@WEST5 etc]# cd /proc/sys/kernel
 
[root@WEST5 kernel]# cat msgmni
 
1024
 
[root@WEST5 kernel]# cat shmmni
 
4096
 
[root@WEST5 kernel]# cat shmall
 
2097152
 
[root@WEST5 kernel]# cat sem
 
500     256000  250     1024
 
[root@WEST5 kernel]# cat file-max
 
cat: file-max: No such file or directory
 
[root@WEST5 kernel]# cd ..
 
[root@WEST5 sys]# cd fs
 
[root@WEST5 fs]# cat file-max
 
32768
 
[root@WEST5 fs]# ulimit -Ha
 
core file size          (blocks, -c) unlimited
 
data seg size           (kbytes, -d) unlimited
 
scheduling priority             (-e) 0
 
file size               (blocks, -f) unlimited
 
pending signals                 (-i) 1161386
 
max locked memory       (kbytes, -l) 64
 
max memory size         (kbytes, -m) unlimited
 
open files                      (-n) 32768
 
pipe size            (512 bytes, -p) 8
 
POSIX message queues     (bytes, -q) 819200
 
real-time priority              (-r) 0
 
stack size              (kbytes, -s) unlimited
 
cpu time               (seconds, -t) unlimited
 
max user processes              (-u) 1161386
 
virtual memory          (kbytes, -v) unlimited
 
file locks                      (-x) unlimited | 
   
 
 
 
However, the error I am currently getting is:
 
 
   
	| Code: | 
   
  
	| Build Type        :- IKAP - (Production)                  
 
 
                  |
 
| Effective UserID  :- 495 (mqm)                            
 
 
                  |
 
| Real UserID       :- UNKNOWN                              
 
 
                  |
 
| Program Name      :- amqzlaa0                             
 
 
                  |
 
| Addressing mode   :- 64-bit                               
 
 
                  |
 
| Process           :- 8562                                 
 
 
                  |
 
| Process(Thread)   :- 8562                                 
 
 
                  |
 
| Thread            :- 1                                    
 
 
                  |
 
| ThreadingModel    :- PosixThreads                         
 
 
                  |
 
| UserApp           :- FALSE                                
 
 
                  |
 
| Last HQC          :- 0.0.0-0                              
 
 
                  |
 
| Last HSHMEMB      :- 0.0.0-0                              
 
 
                  |
 
| Major Errorcode   :- xecF_E_UNEXPECTED_SYSTEM_RC          
 
 
                  |
 
| Minor Errorcode   :- OK                                   
 
 
                  |
 
| Probe Type        :- MSGAMQ6119                           
 
 
                  |
 
| Probe Severity    :- 2                                    
 
 
                  |
 
| Probe Description :- AMQ6119: An internal WebSphere MQ 
 
 
error has occurred   |
 
|   ('11 - Resource temporarily unavailable' from 
 
 
pthread_create.)            |
 
| FDCSequenceNumber :- 0                                    
 
 
                  |
 
| Arith1            :- 11 (0xb)                             
 
 
                  |
 
| Comment1          :- '11 - Resource temporarily 
 
 
unavailable' from           |
 
|   pthread_create.       | 
   
 
                 
 
 
 
WHile there is no maximum number of threads per process in 
 
Linux, there is a maximum number of threads:
 
 
 
[root@WEST5 ~]# cd /proc
 
[root@WEST5 proc]# cd sys
 
[root@WEST5 sys]# cd kernel
 
[root@WEST5 kernel]# cat threads-max
 
2322773
 
 
This seems will within the norm
 
 
The problems start occurring when I create a qmgr 
 
 
(connected to a broker) with the following parameters:
 
 
   
	| Code: | 
   
  
	Channels:
 
   MQIBindType=FASTPATH
 
   MaxChannels=1000
 
   MaxActiveChannels=1000 | 
   
 
 
 
The large number of channels seems to thow it off.
 
 
This never happened with RHEL 5.x, only with RHEL 6.  RHEL 
 
6 is known for having a very tight default configuration 
 
setup.  I have examined all of the isntallation parameters 
 
and they appear to be within the recommended configuration.
 
 
 
Any ideas ? | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |