Closed jochen1234 closed 4 years ago
fs.inotify.max_user_watches=524288
kernel.shmmni=4096
kernel.shmall=209715
kernel.sem=4096
kernel.sem=128
kernel.threads-max=32768
kernel.pid_max=32768
fs.file-max=524288
#* soft core 0
#* hard rss 10000
#@student hard nproc 20
#@faculty soft nproc 20
#@faculty hard nproc 50
#ftp hard nproc 0
#@student - maxlogins 4
mqm hard nofile 10240
mqm soft nofile 10240
mqm hard nproc 4096
mqm soft nproc 4096
For that RC I'd normally expect there to be an FDC file created or something in one of the AMQERRxx.LOG files that gives more information.
errors.tar.gz Here the files
Hi Mark,
here the solution. If anyone wants to mq golang with libbeat 7.x he has to disable seccomp in the beat configuration.
https://www.elastic.co/guide/en/beats/filebeat/master/linux-seccomp.html
seccomp.enabled: false
Well found. I wouldn't have thought of that. Might be interesting to see which specific system calls could be added to the default policy rather than a blanket disablement, but that's always likely to be empirical - rarely-taken paths in the code might expose additional system calls.
Hi Mark,
I have update my GO Beat Code to a new version of "github.com/ibm-messaging/mq-golang/ibmmq". Afterwards I get the error code Exiting: MQCONNX: MQCC = MQCC_FAILED [2] MQRC = MQRC_RESOURCE_PROBLEM [2102]. Your example works.
/ Prepare mq client / func connectMqQueue(bt *Mqbeat) error { debugf("msb-beat -> connectMqQueue -> entry.")
}
[admin@localhost mqbeat]$ go version go version go1.13.7 linux/amd64
[admin@localhost mqbeat]$ /opt/mqm/bin/dspmqver Name: IBM MQ Version: 9.1.4.0 Level: p914-L191119 BuildType: IKAP - (Production) Platform: IBM MQ for Linux (x86-64 platform) Mode: 64-bit O/S: Linux 3.10.0-1062.12.1.el7.x86_64 O/S Details: CentOS Linux 7 (Core) InstName: Installation1 InstDesc:
Primary: No InstPath: /opt/mqm DataPath: /var/mqm MaxCmdLevel: 914 LicenseType: Production