Skip to content

Active Channel Instances #9

@jjpan888

Description

@jjpan888

Hi,

We are using MQ 9.3.0.15 on Red Hat Enterprise Linux 9.5. CPH is running on the target queue manager, and the queue manager VM has 16G memory hosted on AWS.

I am testing if the qmgr can handle concurrent active channel instances up to our setup maxActiveChannels=300. This is our command:

./cph -to -1 -vo 3 -rt 1 -nt 500 -ss 5 -ms 2048 -wi 0 -rl 0 -tx -tc Responder -iq CPH1.REQUEST -oq CPH1.REPLY -cr -dn 10 -jp 1414 -jc CPH1.SVRCONN -jb MQPR -jt mqc -jh MQPR.mq-nonprod.com -jl ECDHE_RSA_AES_256_GCM_SHA384 -jw ibmwebspheremquser1 -kr /tmp/ssl/user

/tmp/cph/cph -to 30 -vo 3 -rt 1 -nt 500 -ss 5 -ms 2048 -wt 100 -wi 0 -rl 0 -tx -co -tc Requester -iq CPH1.REQUEST -oq CPH1.REPLY -dn 10 -jp 1414 -jc CPH1.SVRCONN -jb MQPR -jt mqc -jh MQPR.mq-nonprod.com -jl ECDHE_RSA_AES_256_GCM_SHA384 -jw ibmwebspheremquser1 -kr /tmp/ssl/user

When it is running up to 90 active channel instances, the requester always crashes within 5 mins after it started because of not enough memory allocation errors from /var/log/messages:

Feb 19 11:27:57 MQPR kernel: __vm_enough_memory: pid: 62851, comm: cph, not enough memory for the allocation Feb 19 11:27:57 MQPR kernel: __vm_enough_memory: pid: 62851, comm: cph, not enough memory for the allocation Feb 19 11:28:00 MQPR kernel: __vm_enough_memory: pid: 4780, comm: OAperiodicevent, not enough memory for the allocation Feb 19 11:28:00 MQPR kernel: __vm_enough_memory: pid: 4780, comm: OAperiodicevent, not enough memory for the allocation

How to optimize cph to use memory more efficiently to do stress testing? Is above cph command adjustable by using different flags to test the maximum load without out of memory? Or any sample commands you used to do stress testing? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions