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 Index » IBM MQ API Support » timeout time

Post new topic  Reply to topic
 timeout time « View previous topic :: View next topic » 
Author Message
Igor68
PostPosted: Sat Aug 19, 2006 4:08 am    Post subject: timeout time Reply with quote

Newbie

Joined: 19 Aug 2006
Posts: 3

Hi all,

by connecting to the MQ Manager (it is not available) it takes a specific time before the API Call come back.



Ist there a chanche to configure this timeout time

a) for the hole system

b) for the specific API call



Igor
Back to top
View user's profile Send private message
vennela
PostPosted: Sun Aug 20, 2006 8:25 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

I used amqsput while the QMGR is down and I got a response immediately.
What programming language and how much time is it waiting
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Igor68
PostPosted: Mon Aug 21, 2006 12:19 am    Post subject: Reply with quote

Newbie

Joined: 19 Aug 2006
Posts: 3

I used C as programming language.

By my test I unlinked my network cable from the box where MQ Server is running.

From my client it took 90 seconds until the MQCONN came back.

Hope that describes my problem in more detail.

Igor
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 21, 2006 1:17 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Tried to reproduce your problem here (using a simple C program rather than amqsget or put) and got an instant 2059.

Is there any chance that there's a delay in a DNS server or other piece of network hardware? You say

Igor68 wrote:
By my test I unlinked my network cable from the box where MQ Server is running


Do you mean by this you disconnected the server itself from the network, or the cable linking you to the network?

I certainly not aware (but stand ready to be corrected) about an MQ timeout on connect. It sounds a lot more like the connect attempt is bouncing round the network for some reason.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Igor68
PostPosted: Mon Aug 21, 2006 2:00 am    Post subject: Reply with quote

Newbie

Joined: 19 Aug 2006
Posts: 3

I disconnected the server from the network.

By using amqsputc I got the message:
MQCONN ended with reason code 2059 after the same time.

Igor
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 21, 2006 2:25 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Weird!

In my test I tried to conect to a queue manager on a server that powered down (waiting for parts).

Still not aware of an MQ timeout values for connection. Probably network - weird 2059s are always network......
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Aug 21, 2006 2:48 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

The box was disconnected from the network. There is always a TCP/IP lagtime, at least until the box is aware of the fact that is is disconnected (has been isolated). I believe the lagtime is proportional to the number of routes defined that can be used to reach the same target (not factoring in the lagtime to reach the DNS). So you would have at least 1 time x.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
HubertKleinmanns
PostPosted: Mon Aug 21, 2006 5:06 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

Igor,

maybe you are able, to change the timeout on your local IP stack - ask the network guys in your company
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » timeout time
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.