473,804 Members | 3,174 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

connect to db2 9.5 server slow

Hi!

I have installed a new Db2 V9.5 fp1 Linux 64 bit with a partioned database.

When I connect to the database using DB2Visualizer on Windows, that uses db2jcc, it works OK.

Connecting from DB2 Control Center takes 4-5 minutes, but it connects. Opening a table can take 4-5 minutes too.
Connecting thru a Linux DB2 Client also takes 4-5 minutes, but after that table access seems OK.
I compared dbm cfg with a working db2 server but did'nt find any significant differences.

Where do I start looking? Tried to Google, but did'nt find any obvious answers.
Something with the authentication process?

Mvh
/dg
Jun 27 '08 #1
3 3719
Do you have a firewall blocking access to port 523? It looks like Control
Center first tries to connect to this port, and only later goes to the port
the instance is listening on. So if port 523 is blocked you have a delay
(though not 4 or 5 minutes, in my experience.)

Based on your comment that you have the same issue with a Linux DB2 Client
other than CC makes me think this is *not* the issue, but I just thought I'd
put it out there.

Frank

n 4/29/2008 at 7:48 AM, in message <VG************ *****@newsb.tel ia.net>,
Dan van Ginhoven<da**** **@hotmail.comw rote:
Hi!

I have installed a new Db2 V9.5 fp1 Linux 64 bit with a partioned
database.

When I connect to the database using DB2Visualizer on Windows, that
uses db2jcc, it works OK.

Connecting from DB2 Control Center takes 4-5 minutes, but it connects.
Opening a table can take 4-5 minutes too.
Connecting thru a Linux DB2 Client also takes 4-5 minutes, but after that
table access seems OK.
I compared dbm cfg with a working db2 server but did'nt find any
significant differences.

Where do I start looking? Tried to Google, but did'nt find any obvious
answers.
Something with the authentication process?

Mvh
/dg
Jun 27 '08 #2
"Dan van Ginhoven" <da******@hotma il.comwrote in message
news:VG******** *********@newsb .telia.net...
Hi!

I have installed a new Db2 V9.5 fp1 Linux 64 bit with a partioned
database.

When I connect to the database using DB2Visualizer on Windows, that uses
db2jcc, it works OK.

Connecting from DB2 Control Center takes 4-5 minutes, but it connects.
Opening a table can take 4-5 minutes too.
Connecting thru a Linux DB2 Client also takes 4-5 minutes, but after that
table access seems OK.
I compared dbm cfg with a working db2 server but did'nt find any
significant differences.

Where do I start looking? Tried to Google, but did'nt find any obvious
answers.
Something with the authentication process?

Mvh
/dg
Make sure that your databases are catalogued with "authentica tion server".

You can check it with "db2 list db directory".
Jun 27 '08 #3
Hi!

I believe port 523 is open ( but when can you trust what the firewall people say).

I know that Authentication = SERVER (db2 get dbm cfg)

I also measured that the delay is 240 seconds (4 minutes) every time .
I searched for "anything" with a timeout = 240/4 but didn't find one.
Anyone with Linux expertise know of anything with 240 seconds timeout?
db2diag.log is quiet. (Greatly improved readability in 9.5!!!!)

/dg
Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
5578
by: atlasyeo | last post by:
Hi, my first time posting on a newsgroup. anyway, let's cut to the chase. I'm trying to migrate mysql database form one server to another server. So I copied the data from /var/lib/mysql to the other one.. and use INSERT INTO from the old database to the new one..so the Top level 'mysql' database has all the correct users and password and priviledge. however, when one of the php website trying to load..it'll say
2
2345
by: jtd | last post by:
Hi all, I'm using asyncore to download a large list of web pages, and I've noticed dispatcher.connect blocks for some hosts. I was under the impression that non-blocking sockets do not block on connects, in addition to reads and writes. My connect code is essentially the same as the asyncore example: http://docs.python.org/lib/asyncore-example.html
0
8340
by: Kyle Goetz | last post by:
hey, i'm new to mySQL...this meaning that i have tried ~10000 times to install it and get it working over the past few weeks...and it always gives me the same error (scroll further down to see it) despite following the manual's windows installation exactly i have version 4.0.13 for windows and i used the installer once i was done, i followed the instructions in the manual exactly i have no firewall running
1
1701
by: zelzel.zsu | last post by:
What is php's behavior when connect to a db? I've been told that php was once a dominant web programing language. I've read a few chapters of a php book. I was wonder what's php's performance. Perl was once for a while a popular programming language for cgi. But start very process per one web visit cause serioius problem to system performance.
3
3939
by: Bill Medland | last post by:
Does anyone know how to solve this? I am running IBM DB2 on a Linux server on a private LAN. I am accessing it via ODBC from a Windows 2000 client I also use the Windows 2000 machine as a VPN client If the VPN client is not active then the Windows 2000 machine can connect quickly to the server. However if the VPN client is active then it seems to take forever for the Windows 2000 machine to connect to the server. The server is...
5
2749
by: Jim W | last post by:
I have an ASP.NET app that has very slow connect times using TCPClient, or the Socket class, or even calling a COM object that uses C socket calls on certain similar XP SP2 boxes. On those boxes, if another connection is made within a couple seconds, it is fast. Running the same C# code in a console app connects instantly. Unplugging the network cable allows localhost connections to be instant (?!). Running the same ASP.NET app on...
2
2348
by: Cornelius.Eckhoff | last post by:
Hello, I just want my ADP not to connect on startup. Normally when opening the xx.adp-file Access tries to connect automatically. Is there any option, trick, workaround? I found a source to reconnect or change the connection via vba code, now I want to prohibit Access to start a connection on startup as this takes too much time. Thanks in advance!
1
2579
by: MSK | last post by:
Hi, I am a newbie to .NET/Networking if I develop a project in 1. VB.NET + SQL server database 2. ASP.NET + SQL server database 3. .NET ( vb or asp) + Access database
3
7406
by: MSK | last post by:
Hi, I am a newbie to .NET/Networking if I develop a project in 1. VB.NET + SQL server database 2. ASP.NET + SQL server database 3. .NET ( vb or asp) + Access database
0
10577
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10332
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9150
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7620
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6853
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4299
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3820
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2991
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.