Jim, I agree so far, that the chapters in the Quick Beginnings, which describe the installation of the MQ client, should mention the kernel konfiguration and give some sample values. I did not mean, that on the client side not IPC segments are used, but the client libraries are linked into the program and so the program itself uses the IPC segments (via the MQ Calls).
But still you have to take in mind the special usage of your application and possibly other applications, running on your system. The documents cannot give definitive values for these attributes. Possibly IBM may give a house number, which values the kernel settings shopuld have - per lient application, call or whatever. Regards Hubert > -----Ursprüngliche Nachricht----- > Von: MQSeries List <[email protected]> > Gesendet: 07.02.07 23:00:20 > An: [email protected] > Betreff: Re: Semaphores with Clients > Just my $0.02 worth... on our HPUX boxes which run client apps (not MQ > server software), if the kernel semaphore value is to low then the > client MQ API calls will fail when you attempt to many simultaneous > calls, you need to bump the value up to something like 1024 or more. > > > Sid > > On 2/8/07, Jim Ford <[EMAIL PROTECTED]> wrote: > > I'd say that it's MQ that's using the semaphores. > > > > In fact, I turned tracing on for a Solaris client, and did an amqsputc. > > The trace showed many "xcsCreateThreadMutexSem" lines, each followed by > > soon after by a "xcsReleaseThreadMutexSem" line. The first of these was > > prior to opening the channel table, which means it was before any TCP/IP > > work had been done. > > > > > > > > > > "Meekin, Paul [CCC-OT_IT]" <[EMAIL PROTECTED]> > > Sent by: MQSeries List <[email protected]> > > 02/07/2007 10:28 AM > > Please respond to > > MQSeries List <[email protected]> > > > > > > To > > [email protected] > > cc > > > > Subject > > Re: Semaphores with Clients > > > > > > > > > > > > > > So do you think it might just be a case of the semaphores that the TCP/IP > > stack requires rather than being particular to MQ's usage of them? What I > > mean is, would any heavy single-process user of TCP services encounter the > > same problem and it just so happens in this case it is MQ code that's > > doing it? > > > > -----Original Message----- > > From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf > > Of Jim Ford > > Sent: 07 February 2007 16:23 > > To: [email protected] > > Subject: Re: Semaphores with Clients > > > > > > I always thought the same thing, that any IPC work was done on the > > server-side only. But the client-side FDCs clearly show that a sempahore > > operation is being done (and failing). > > > > FWIW - This machine is our big DMZ webserver, and handles a lot of > > simultaneous connections. So it's probably not your typical client. And > > when I checked, I found that SEMMNU was set really low. But had I known > > that it mattered... > > > > > > > > > > "Meekin, Paul [CCC-OT_IT]" <[EMAIL PROTECTED]> > > Sent by: MQSeries List <[email protected]> > > 02/07/2007 10:04 AM > > Please respond to > > MQSeries List <[email protected]> > > > > > > To > > [email protected] > > cc > > > > Subject > > Re: Semaphores with Clients > > > > > > > > > > > > > > That's an interesting point Jim and one I've been wondering about for a > > while. > > > > Why do you say that clients need semaphore resources? My impression has > > always been that semaphores, being Inter-Process Communication (IPC) > > resources were only required when communication between processes is > > required, as per the MQ local bindings model. In an MQ client, isn't it > > just a single process using the normal TCP services to communicate with > > the agent process on the server side? > > > > Cheers, > > Paul > > > > -----Original Message----- > > From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf > > Of Jim Ford > > Sent: 07 February 2007 15:42 > > To: [email protected] > > Subject: Re: Semaphores with Clients > > > > > > I respectfully disagree, Hubert. > > > > What you are missing is that the MQSeries Quick Beginnings manual *does > > not* mention semaphores for client installs. And yet the client libs do > > use semaphores. Because of that, unless the SEMMNU parameter of the kernel > > > > > > is high enough, your app will fail *in the MQ call*. > > > > So... if the MQSeries client requires certain kernel settings (it does), > > then the manual should say so (and it does not). > > > > FYI - I submitted a doc requirement to IBM. > > > > > > > > > > Hubert Kleinmanns <[EMAIL PROTECTED]> > > Sent by: MQSeries List <[email protected]> > > 02/07/2007 01:49 AM > > Please respond to > > MQSeries List <[email protected]> > > > > > > To > > [email protected] > > cc > > > > Subject > > Re: Semaphores with Clients > > > > > > > > > > > > > > Jim, > > > > I would say, this is not a "MQ problem", but a problem of the machine. The > > > > > > message could point out a problem on th local machine (where the client > > reside) - then this would be a problem of the application, which uses the > > MQ client libraries (because these run in the address space of the > > application). Otherwise it could be a problem on the target machine (where > > > > > > the MQ server resides) and the MQ client only receives and reports the > > error message from the MQ server - then this would be a problem of the MQ > > server installation. > > > > The kernel parameters described in the Quick Beginnings are not the > > "ultimative" values. It depends on other applications, such as databases, > > some have to be added (e. g. the size of the shared memory segments). > > > > The reason 2012 only tells you, that there are to few resources defined. > > The consumer of these resources is not neccessarily MQ. > > > > Regards > > Hubert > > > > > > > -----Ursprüngliche Nachricht----- > > > Von: MQSeries List <[email protected]> > > > Gesendet: 06.02.07 20:07:05 > > > An: [email protected] > > > Betreff: Re: Semaphores with Clients > > > > > > > Jim, > > > > > > > > > From IBMLink: > > > > > > > > > > > > > > > > > > Client receives MQRC 2012 > > > > > > > > > > > > > > > > > > > > > Technote (FAQ) > > > > > > Problem > > > Your client code starts receiving MQRC_ENVIRONMENT_ERROR > > > from a MQ call. > > > > > > 2012 0x000007dc MQRC_ENVIRONMENT_ERROR > > > > > > Cause > > > All of the semmnu, undo structures, have been used up. > > > > > > Solution > > > Increase the number of semmnu on your system. > > > > > > > > > Note: 16384 should be large enough for most systems. > > > > > > > > > Additional symptom > > > > > > > > > You may also see an FDC file with Probe Id XY077003. > > > > > > > > > > > > > > > > > > > > > > > > > > > Product Alias/Synonym > > > WMQ MQ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Jim Ford <[EMAIL PROTECTED]> > > > > > > Sent by: MQSeries List <[email protected]> > > > > > > > > > 02/06/2007 10:41 AM > > > > > > > > > Please respond to > > > MQSeries List <[email protected]> > > > > > > > > > > > > To > > > [email protected] > > > > > > cc > > > > > > Subject > > > Re: Semaphores with Clients > > > > > > > > > > > > > > > > > > > > > > > > > > > That manual does specify kernel parameters, but says > > > that they are needed > > > for server installs. The section on installing a client doesn't make any > > > > > > mention of kernel requirements. As far as I know it never has. > > > > > > However, IBM support pointed me to this technote > > > (http://www-1.ibm.com/support/docview.wss?uid=swg21230205). which says > > > to > > > set SEMMNU to 16384 on your client. I set that, and it seems to have > > fixed > > > > > > the problem. > > > > > > Why it's in a tech note and not the installation manual is beyond me!!! > > > > > > > > > > > > > > > Hubert Kleinmanns <[EMAIL PROTECTED]> > > > Sent by: MQSeries List <[email protected]> > > > 02/06/2007 03:34 AM > > > Please respond to > > > MQSeries List <[email protected]> > > > > > > > > > To > > > [email protected] > > > cc > > > > > > Subject > > > Re: Semaphores with Clients > > > > > > > > > > > > > > > > > > > > > Jim, > > > > > > which MQ version do you run on the DMZ machine? For MQv6 there is an > > > update of the Quick Beginnings for Solaris from September 2006: > > > > > > http://publibfp.boulder.ibm.com/epubs/pdf/amqdac09.pdf > > > > > > Regards > > > Hubert > > > > > > > > > > > > > -----Ursprüngliche Nachricht----- > > > > Von: MQSeries List <[email protected]> > > > > Gesendet: 03.02.07 00:02:44 > > > > An: [email protected] > > > > Betreff: Re: Semaphores with Clients > > > > > > > > > > Actually, that may have been me. But that was for the server. There's > > > > > > > nothing mentioned for a client, not that I ever saw. And yet we're > > > > > > getting > > > > errors. > > > > > > > > > > > > > > > > > > > > Richard Tsujimoto <[EMAIL PROTECTED]> > > > > Sent by: MQSeries List <[email protected]> > > > > 02/02/2007 03:55 PM > > > > Please respond to > > > > MQSeries List <[email protected]> > > > > > > > > > > > > To > > > > [email protected] > > > > cc > > > > > > > > Subject > > > > Re: Semaphores with Clients > > > > > > > > > > > > > > > > > > > > > > > > > > > > IIRC, someone posted new info on Solaris kernal config recently, but > > > it > > > > pertained to specific version. Try the archives. > > > > > > > > ----- Original Message ----- > > > > From: "Jim Ford" <[EMAIL PROTECTED]> > > > > To: <[email protected]> > > > > Sent: Friday, February 02, 2007 1:16 PM > > > > Subject: Semaphores with Clients > > > > > > > > > > > > > Our DMZ machines run Solaris, and use the MQ client. I've noticed > > > that > > > > > we've begun getting FDC files cut on the busiest DMZ machine. > > > All of > > > > these > > > > > FDCs are for probe XY077003, and contain the error "AMQ6119: > > > An > > > internal > > > > > WebSphere MQ error has occurred ('28 - No space left on device' > > > from > > > > > semop.)". This error indicates that the kernel's semaphore > > > settings > > > > > (specifically SHMMNU) are too low. > > > > > > > > > > But the client manual says nothing about kernel configuration. > > > Are > > > there > > > > > kernel requirements that I ought to be aware of? > > > > > > > > > > FWIW, the server machine handling the connections is pretty lightly > > > > > > > used. > > > > > And its kernel matches IBM's recommendations. > > > > > > > > > > To unsubscribe, write to [EMAIL PROTECTED] and, > > > > > in the message body (not the subject), write: SIGNOFF MQSERIES > > > > > Instructions for managing your mailing list subscription are > > > provided > > > in > > > > > the Listserv General Users Guide available at http://www.lsoft.com > > > > > Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html > > > > > > > > > > > > > To unsubscribe, write to [EMAIL PROTECTED] and, > > > > in the message body (not the subject), write: SIGNOFF MQSERIES > > > > Instructions for managing your mailing list subscription are provided > > > in > > > > the Listserv General Users Guide available at http://www.lsoft.com > > > > Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html > > > > > > > > To unsubscribe, write to [EMAIL PROTECTED] and, > > > > in the message body (not the subject), write: SIGNOFF MQSERIES > > > > Instructions for managing your mailing list subscription are provided > > > in > > > > the Listserv General Users Guide available at http://www.lsoft.com > > > > Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html > > > > > > > > > > -- > > > Hubert Kleinmanns > > > Beratung / Schulung / Projektleitung > > > > > > Tel.: +49 (0) 60 78 / 7 12 21 > > > Fax: +49 (0) 60 78 / 7 12 25 > > > Mobil: +49 (0) 178 / 6 97 22 54 > > > > > > To unsubscribe, write to [EMAIL PROTECTED] and, > > > in the message body (not the subject), write: SIGNOFF MQSERIES > > > Instructions for managing your mailing list subscription are provided in > > > the Listserv General Users Guide available at http://www.lsoft.com > > > Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html > > > > > > To unsubscribe, write to [EMAIL PROTECTED] and, > > > in the message body (not the subject), write: SIGNOFF MQSERIES > > > Instructions for managing your mailing list subscription are provided in > > > the Listserv General Users Guide available at http://www.lsoft.com > > > Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html > > > > > > > > > > -- > > Hubert Kleinmanns > > Beratung / Schulung / Projektleitung > > > > Tel.: +49 (0) 60 78 / 7 12 21 > > Fax: +49 (0) 60 78 / 7 12 25 > > Mobil: +49 (0) 178 / 6 97 22 54 > > Web: www.kleinmanns.eu > > > > To unsubscribe, write to [EMAIL PROTECTED] and, > > in the message body (not the subject), write: SIGNOFF MQSERIES > > Instructions for managing your mailing list subscription are provided in > > the Listserv General Users Guide available at http://www.lsoft.com > > Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html > > > > To unsubscribe, write to [EMAIL PROTECTED] and, > > in the message body (not the subject), write: SIGNOFF MQSERIES > > Instructions for managing your mailing list subscription are provided in > > the Listserv General Users Guide available at http://www.lsoft.com > > Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html > > > > To unsubscribe, write to [EMAIL PROTECTED] and, > > in the message body (not the subject), write: SIGNOFF MQSERIES > > Instructions for managing your mailing list subscription are provided in > > the Listserv General Users Guide available at http://www.lsoft.com > > Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html > > > > To unsubscribe, write to [EMAIL PROTECTED] and, > > in the message body (not the subject), write: SIGNOFF MQSERIES > > Instructions for managing your mailing list subscription are provided in > > the Listserv General Users Guide available at http://www.lsoft.com > > Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html > > > > To unsubscribe, write to [EMAIL PROTECTED] and, > > in the message body (not the subject), write: SIGNOFF MQSERIES > > Instructions for managing your mailing list subscription are provided in > > the Listserv General Users Guide available at http://www.lsoft.com > > Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html > > > > To unsubscribe, write to [EMAIL PROTECTED] and, > > in the message body (not the subject), write: SIGNOFF MQSERIES > > Instructions for managing your mailing list subscription are provided in > > the Listserv General Users Guide available at http://www.lsoft.com > > Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html > > > > > -- > > > Visit Sid's > "Classic Japanese Motorcycle Restoration Site" > http://z900.piczo.com/ > > To unsubscribe, write to [EMAIL PROTECTED] and, > in the message body (not the subject), write: SIGNOFF MQSERIES > Instructions for managing your mailing list subscription are provided in > the Listserv General Users Guide available at http://www.lsoft.com > Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html > -- Hubert Kleinmanns Beratung / Schulung / Projektleitung Tel.: +49 (0) 60 78 / 7 12 21 Fax: +49 (0) 60 78 / 7 12 25 Mobil: +49 (0) 178 / 6 97 22 54 Web: www.kleinmanns.eu To unsubscribe, write to [EMAIL PROTECTED] and, in the message body (not the subject), write: SIGNOFF MQSERIES Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
