Author |
Message
|
redcat8 |
Posted: Wed Jul 27, 2005 11:14 pm Post subject: MQSeries 5.2 for HP ERROR! |
|
|
Newbie
Joined: 15 Jun 2005 Posts: 3
|
Hi!
hnmq-G-/> uname -a
HP-UX hnmq-G B.11.11 U 9000/800 xxxxxxxxx unlimited-user license
hnmq-G-/>
MQ (after strmqm)can run normally for about one week ,
after that come out some trouble as followed:
found many 'amqsputc' process! about 4XXX
'runmqsc' can not be started!
vi AMQ22261.0.FDC :
+-----------------------------------------------------------------------------+
| |
| MQSeries First Failure Symptom Report |
| ===================================== |
| |
| Date/Time :- Thursday July 28 13:37:01 EAT 2005 |
| Host Name :- hnmq-G (HP-UX B.11.11) |
| PIDS :- 5765B74 |
| LVLS :- 520 |
| Product Long Name :- MQSeries for HP-UX |
| Vendor :- IBM |
| Probe Id :- XY077003 |
| Application Name :- MQM |
| Component :- xtrGetTraceLock |
| Build Date :- Nov 7 2000 |
| CMVC level :- p000-L001106 |
| Build Type :- IKAP - (Production) |
| UserID :- 00000107 (UNKNOWN) |
| Program Name :- runmqsc |
| Process :- 00022261 |
| Major Errorcode :- xecF_E_UNEXPECTED_SYSTEM_RC |
| Minor Errorcode :- OK |
| Probe Type :- MSGAMQ6119 |
| Probe Severity :- 2 |
| Probe Description :- AMQ6119: An internal MQSeries error has occurred ('No |
| space left on device' from semop.) |
| Arith1 :- 28 1c |
| Comment1 :- 'No space left on device' from semop. |
| |
| |
+-----------------------------------------------------------------------------+
What's wrong?
Thanks in advance! |
|
Back to top |
|
 |
sebastianhirt |
Posted: Thu Jul 28, 2005 12:23 am Post subject: |
|
|
Yatiri
Joined: 07 Jun 2004 Posts: 620 Location: Germany
|
Quote: |
found many 'amqsputc' process! about 4XXX |
That doesn't look right to me. Why would you run 4000+ instances of the amqsputc sample program?
Personally speaking I would first of all send them down to hell and see whether or not runmqsc works again.
I would try to figure out who is starting all this amqsputc processes.
Code: |
Comment1 :- 'No space left on device' from semop. | |
Hmm...
Maybe you are running out of fork processes or something. |
|
Back to top |
|
 |
redcat8 |
Posted: Thu Jul 28, 2005 12:43 am Post subject: |
|
|
Newbie
Joined: 15 Jun 2005 Posts: 3
|
[quote="sebastianhirt"]
Quote: |
found many 'amqsputc' process! about 4XXX |
That doesn't look right to me. Why would you run 4000+ instances of the amqsputc sample program?
oh!Sorry, It should be 4000+ instances of the 'amqcrsta'.
 |
|
Back to top |
|
 |
sebastianhirt |
Posted: Thu Jul 28, 2005 1:58 am Post subject: |
|
|
Yatiri
Joined: 07 Jun 2004 Posts: 620 Location: Germany
|
|
Back to top |
|
 |
Nigelg |
Posted: Thu Jul 28, 2005 2:02 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
The error means that HPUX has run out of semaphores. The number is controlled by some tuning parameter which I do not know. However, the real problem is that your client apps are not ending with MQDISC. I suggest you set TCP KeepAlive on your HPUX system to clean up idle client connections.
Here is how you do it on HPUX:
get:
ndd -get /dev/tcp tcp_keepalive_interval
set:
ndd -set /dev/tcp tcp_keepalive_interval 60000
The interval is in milliseconds, so the example sets it to 60 seconds.
The parameter takes effect immediately. If the machine is rebooted the parameter is reset to the default value.
To make the change permanent, add the ndd command to the /etc/rc.config.d/nddconf script. |
|
Back to top |
|
 |
redcat8 |
Posted: Thu Jul 28, 2005 2:36 am Post subject: |
|
|
Newbie
Joined: 15 Jun 2005 Posts: 3
|
thanks!
I had done many setting:
Set mqs.ini
TCP:
KeepAlive=Yes
ndd :
hnmq-G-/var/mqm> ndd /dev/tcp
name to get/set ? tcp_keepalive_interval
value ?
length ?
60000
name to get/set ?
above setting can not fix up the error! '
Now I restart the MQseries after set tcp_keepalive_interval value 15000. |
|
Back to top |
|
 |
|