ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexGeneral IBM MQ SupportAMQ6119 : '22 - Invalid argument' from semop ???

Post new topicReply to topic
AMQ6119 : '22 - Invalid argument' from semop ??? View previous topic :: View next topic
Author Message
AlainB
PostPosted: Mon Jun 21, 2004 11:41 pm Post subject: AMQ6119 : '22 - Invalid argument' from semop ??? Reply with quote

Voyager

Joined: 31 Oct 2002
Posts: 79
Location: Belgium

Hi there,

On a Sun box, I'm having lots of entries like that for a process ... what's the problem ? It's still an MQ 5.2 CSD 6 installation (5.3 planned within days).

Code:
+-----------------------------------------------------------------------------+
|                                                                             |
| MQSeries First Failure Symptom Report                                       |
| =====================================                                       |
|                                                                             |
| Date/Time         :- Tuesday June 22 09:35:06 MEST 2004                     |
| Host Name         :- sgueg (SunOS 5.8)                                      |
| PIDS              :- 5765B75                                                |
| LVLS              :- 520                                                    |
| Product Long Name :- MQSeries for Sun Solaris 2 (Sparc)                     |
| Vendor            :- IBM                                                    |
| Probe Id          :- XY324192                                               |
| Application Name  :- MQM                                                    |
| Component         :- GetSubpoolsLock                                        |
| Build Date        :- Dec 11 2002                                            |
| CMVC level        :- p520-CSD06G                                            |
| Build Type        :- IKAP - (Production)                                    |
| UserID            :- 00001614 (wholesal)                                    |
| Program Name      :- java                                                   |
| Process           :- 00001265                                               |
| Thread            :- 00119490                                               |
| 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 ('22  |
|   - Invalid argument' from semop.)                                          |
| Arith1            :- 22 16                                                  |
| Comment1          :- '22 - Invalid argument' from semop.                    |
|                                                                             |
|                                                                             |
+-----------------------------------------------------------------------------+

MQM Function Stack
xcsFFST

MQM Trace History
{ xcsRequestThreadMutexSem
} xcsRequestThreadMutexSem rc=OK
{ xcsBuildDumpPtr
-{ xcsGetMem
-} xcsGetMem rc=OK
} xcsBuildDumpPtr rc=OK
{ xcsStrerror
} xcsStrerror rc=OK
{ xcsFFST

SemID passed to semop
a0ee50                                 00000003                ....


Process Control Block
f8e7e2b0   58494850  00000610  000004F1  00000000    XIHP.......ñ....
f8e7e2c0   0001D2C2  00A0E318  00D66338  00000000    ..ÒÂ. ã..Öc8....
f8e7e2d0   00000000  00000001  00000001  00000000    ................
f8e7e2e0   00000000  FB640000  00000000  00000000    ....ûd..........
f8e7e2f0   00000000  00000000  00000000  00000000    ................
f8e7e300 to f8e7e6d0 suppressed, 62 lines same as above
f8e7e6e0   00000000  00000000  00000000  FFFFFFFF    ................
f8e7e6f0   00000000  00000000  00000000  00000000    ................
f8e7e700   00000000  00000001  00000000  00000008    ................
f8e7e710   F8D9DB14  00000000  00000000  00000000    øÙÛ.............
f8e7e720   00000000  00000000  00000000  00000008    ................
f8e7e730   F8D9DB14  00000000  00000000  00000000    øÙÛ.............
f8e7e740   00000000  00000000  00000000  00000000    ................
f8e7e750   00000000  00000000  00000000  00000000    ................
f8e7e760   00000000  00000000  00000000  00000008    ................
f8e7e770   F8D9DB14  00000000  00000000  00000000    øÙÛ.............
f8e7e780   00000000  00000000  00000000  00000008    ................
f8e7e790   F8D9DB14  00000000  00000000  00000000    øÙÛ.............
f8e7e7a0   00000000  00000000  00000000  00000000    ................
f8e7e7b0   00000001  00000000  00000000  0000000C    ................
f8e7e7c0   FEDAE7A0  00000400  00000000  00000000    .Úç ............
f8e7e7d0   00000000  00000300  12B60040  0000000C    ...........@....
f8e7e7e0   FEDAE7A0  00000080  00000000  00000000    .Úç ............
f8e7e7f0   00000000  00000300  12B60040  00000000    ...........@....
f8e7e800   00000000  00000000  00000000  00000000    ................
f8e7e810   00000000  00000000  00000000  0000000C    ................
f8e7e820   FEDAE7A0  00000200  00000000  00000000    .Úç ............
f8e7e830   00000000  00000300  12B60040  0000000C    ...........@....
f8e7e840   FEDAE7A0  00000008  00000000  00000000    .Úç ............
f8e7e850   00000000  00000300  12B60040  00000000    ...........@....
f8e7e860   00000000  00000000  00000000  00000000    ................
f8e7e870 to f8e7e880 suppressed, 2 lines same as above
f8e7e890   00000001  00000000  00000000  00000000    ................
f8e7e8a0   00000000  00000000  00000000  00000000    ................
f8e7e8b0   00000000  00000000  009FE6F8  00000000    .........æø....


Common Services Control Block
a0ee00   58494820  000008D0  00000001  00000035    XIH ...Ð.......5
a0ee10   00000000  00000000  77686F6C  6573616C    ........wholesal
a0ee20   0000064E  00000333  00000000  00000000    ...N...3........
a0ee30   00A2E5A8  00A09898  003510F0  003510A0    .¢å¨. ...5.ð.5. 
a0ee40   00A0DEB0  00A09E70  00000000  00000000    . Þ°. .p........
a0ee50   00000000  00000000  00000000  00000003    ................
a0ee60   2F766172  2F6D716D  00000000  00000000    /var/mqm........
a0ee70   00000000  00000000  00000000  00000000    ................
a0ee80 to a0f670 suppressed, 128 lines same as above
a0f680   00000000  00000000  00000001  4E4C5F54    ............NL_T
a0f690   4F5F4C46  00000000  00000000  00000000    O_LF............
a0f6a0   00A2E5A8  00000000  00000000  00000000    .¢å¨............
a0f6b0   00000000  00000000  00000000  00000000    ................
a0f6c0   00000001  00000004  009BF550  00000000    ..........õP....


Thread Control Block
d66330                       58494854  00000AE0            XIHT...à
d66340   0001D2C2  00000000  00000000  00CDC488    ..ÒÂ.........ÍÄ
d66350   00000000  00000000  00000040  00000000    ...........@....
d66360   00000000  00000000  00000000  00000001    ................
d66370   00000001  00000000  00000000  F5FDF8B8    ............õýø¸
d66380   F8DE9674  F5FDF940  F8DA9438  00000000    øÞ.tõýù@øÚ8....
d66390   00000000  00000000  00000000  00000000    ................
d663a0 to d66560 suppressed, 29 lines same as above
d66570   00000000  00000000  00000000  FFFFFFFF    ................
d66580   00000001  00000000  00000000  00000000    ................
d66590   00000000  00000000  0001D2EF  00000000    ..........Òï....
d665a0   00000000  FFFFFFFE  00000000  FFFFFFFE    ................
d665b0 to d66790 suppressed, 31 lines same as above
d667a0   00000000  FFFFFFFE  00000000  00000000    ................
d667b0   00000000  00000000  00000000  00000000    ................
d667c0   00000000  00000000  00000000  00000000    ................
d667d0   00000000  00000000  00000000  00000001    ................
d667e0   00000000  00000000  00000000  00000000    ................
d667f0 to d66920 suppressed, 20 lines same as above
d66930   00000000  F0005C03  F0005C15  F0005C17    ....ð.\.ð.\.ð.\.
d66940   F0006069  00000000  00000000  00000000    ð.`i............
d66950   00000000  00000000  00000000  00000000    ................
d66960 to d669e0 suppressed, 9 lines same as above
d669f0   00000000  00000000  00000000  F00060B3    ............ð.`³
d66a00   000060B3  F0005C02  F0005C05  00005C05    ..`³ð.\.ð.\...\.
d66a10   00005C02  F00060F3  000060F3  F0005C03    ..\.ð.`ó..`óð.\.
d66a20   F00060B3  000060B3  F0005C16  F0005C05    ð.`³..`³ð.\.ð.\.
d66a30   00005C05  F0005C4C  F0005C2B  00005C2B    ..\.ð.\Lð.\+..\+
d66a40   F0005C17  00005C17  00005C4C  F0005C73    ð.\...\...\Lð.\s
d66a50   F00060F6  000060F6  00005C73  F00060B3    ð.`ö..`ö..\sð.`³
d66a60   000060B3  F0005C4C  F0005C2B  00005C2B    ..`³ð.\Lð.\+..\+
d66a70   F0005C17  00005C17  00005C4C  F0005C4C    ð.\...\...\Lð.\L
d66a80   F0005C2B  00005C2B  F0005C17  00005C17    ð.\+..\+ð.\...\.
d66a90   00005C4C  F0005D59  F0006069  00006069    ..\Lð.]Yð.`i..`i
d66aa0   00005D59  F0006069  00006069  F00060B4    ..]Yð.`i..`ið.`´
d66ab0   000060B4  F0005C06  00005C06  00005C16    ..`´ð.\...\...\.
d66ac0   F0005C16  F0005C05  00005C05  F0005C4C    ð.\.ð.\...\.ð.\L
d66ad0   F0005C2B  00005C2B  F0005C17  00005C17    ð.\+..\+ð.\...\.
d66ae0   00005C4C  F0005C73  F00060F6  000060F6    ..\Lð.\sð.`ö..`ö
d66af0   00005C73  F00060B3  000060B3  F0005C4C    ..\sð.`³..`³ð.\L
d66b00   F0005C2B  00005C2B  F0005C17  00005C17    ð.\+..\+ð.\...\.
d66b10   00005C4C  F0005C4C  F0005C2B  00005C2B    ..\Lð.\Lð.\+..\+
d66b20   F0005C17  00005C17  00005C4C  F0005D59    ð.\...\...\Lð.]Y
d66b30   F0006069  00006069  00005D59  F0006069    ð.`i..`i..]Yð.`i
d66b40   00006069  F00060B4  000060B4  F0005C06    ..`ið.`´..`´ð.\.
d66b50   00005C06  00005C16  F0005C4C  F0005C2B    ..\...\.ð.\Lð.\+
d66b60   00005C2B  F0005C17  00005C17  00005C4C    ..\+ð.\...\...\L
d66b70   F00060F6  000060F6  F0005C13  00005C13    ð.`ö..`öð.\...\.
d66b80   F0005C13  00005C13  F0005C02  00005C02    ð.\...\.ð.\...\.
d66b90   F0005C02  00005C02  F0005C02  00005C02    ð.\...\.ð.\...\.
d66ba0   F0005C15  00005C15  F0005C15  00005C15    ð.\...\.ð.\...\.
d66bb0   F0005C15  00005C15  F0005C15  00005C15    ð.\...\.ð.\...\.
d66bc0   00000000  00000000  00000000  00000000    ................
d66bd0 to d66dd0 suppressed, 33 lines same as above
d66de0   00000000  00000000  00000000  00000071    ...............q
d66df0   00000015  00000000  00000000  00000000    ................
d66e00   00000000  00000000  00000000  00000000    ................
d66e10   00000000  00000000                        ........

_________________
Alain Buret
Visit http://www.fosdem.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JasonE
PostPosted: Tue Jun 22, 2004 4:54 am Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

This *sounds* like IY49192, but that was fixed for 5.3 only (that doesnt mean it doesnt apply to 5.2 though, just it was never fixed on it).

However, I also found the following comment:
Quote:
When we see XY324192 FFSTs from MQ 5.2, these mean that a
semop call has failed. The semop call was trying to operate
upon the Subpools Lock semaphore.

These FFSTs appear most often with an errno of EINVAL in the
case where a user has removed the subpools lock semaphore
using ipcrm.

The fix in this case is either (1) do not remove that semaphore
or (2) end all MQ apps and the queue manager before removing
the semaphore.

We have now seen another reason for XY324192 / EINVAL to appear:
one can see, in reading the HP-UX or Sun Solaris man pages, that
EINVAL can also appear if the current process has now specified
SEM_UNDO on too many semaphores using semop.

This limit is actually a configurable kernel parameter on HP-UX.
and Sun Solaris. The parameter is semume on HP-UX and it is
seminfo_semume on Solaris. When the customer changed semume from
10 (too low) to 256 (as recommended in both QB books).

Even on AIX the reason "The number of individual semaphores for
which the calling process requests a SEM_UNDO flag would exceed
the limit" is listed as a cause of EINVAL being given from semop.
However I can't find any kernel parameter information for semume
on AIX, or any information on how this parameter can be altered.
I believe the kernel is mostly self-tuning on AIX (though again I
don't know of a reference to documentation for this assertion) so
I would be surprised if this problem were to be seen on AIX.

Finally, the above-described limit is not listed as a reason for
EINVAL on Linux, so these symptoms should never occur on Linux.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral IBM MQ SupportAMQ6119 : '22 - Invalid argument' from semop ???
Jump to:



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
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.