Many open ports for a 6.5.3 Notes user

When looking at Notes Users using the Administration client I am noting many open ports for certain users running Notes 6.5.3 on Windows XP Pro workstations. Any particular client could have up to 30 ports open!Why is this happening? I have noted that this does not happen with R5 clients.

Any help would be much appreciated!

Thanks

Pierre

Subject: RE: Many open ports for a 6.5.3 Notes user

I assume you see many sessions on the server for particular users? I see this on our servers when someone has placed an IP address in the Home/Mail Server field on the Servers tab of the Location Document. When they put the proper server name back in, the problem goes away. I’m assuming everything else is healthy on your server and that you can drop the sessions with no issues (and then they start to “stack up” again).Good luck!

Subject: Many open ports for a 6.5.3 Notes user

that’s something that is even true for WorkPad users:)

sorry, but what could notes have to do with open ports? this is an OS issue. or do you mean listening ports? i’m not that shure, but notes-communication is mainly done over two ports. there are more needed for things like ST.

30 open ports are not unusual for fresh installed xps. you can shut down some (like those used for that ms remote “tools”).

go to one of those clients and use a command prompt - “netstat -a -b”. that’ll give you a list which applications use (currently) which ports.

Markus Seitz

markus.seitz@icodex.com

Subject: Ports open on Domino Server

Pierre doesn’t mean open ports on the XP client but connected ports on the domino server.

I have recognized the same.

A Notes R5 client uses one port to the domino server, no matter how many databases / requests the user has.

A Notes 6.5 client connects to the server from many different ports (on the client side). It seems, that R5 uses something like connection pooling and 6.5 opens a new connection for each database.

It works, so I don’t think to much about it.

Andreas Hoster

andreas.hoster@herma.de

Subject: are you shure this isn’t cause by e.g. sametime?

they use dynamic ports in a wide range…

Markus Seitz

markus.seitz@icodex.com

Subject: I’m sure it is not sametime

Yes, I’m sure it is not sametime.In the Domino Console, using Show Users -xml I see R5 Users like this:

Wib/HERMA

A 6.5 User looks like this (in this example, he has 2 connections to the server):

Hbz/HERMA

Hbz/HERMA

Its about 17:45 in Germany, so not much users are working on friday late afternoon so I have no example with more than 2 ports, but sometimes I can see more than 2 connections from the same IP-Adress. I haven’t seen 30, but 5 maybe 10 connections.

As you see in this example, sometimes 6.5 also uses one connection for different databases but not always.

As I said, I’m not worried about it, with about 500 users I don’t see a bottleneck if each client is using about 10 connections, but is a different behavior against R5. In R5, I haven’t seen more than one connection, althoug I must confess, that I don’t look often after open connections.

Andreas Hoster

andreas.hoster@herma.de

Subject: RE: I’m sure it is not sametime

what i’ve seen sometimes (in r4 only) are sessions that haven’t been closed, but are not active.

but with your case both sessions are active. as far as i know sessions to servers are shared among notes processes within the same context. (same client directory/nnotes.dll).

so even if e.g. notes-minder was running before notes was started these session should be shared.

(such things should only happen if e.g. on xp multiuser you have two users logged in - which is most propably not the case).

also the opened databases suggest, that there are really two opened session to the same server.

can you check it on client side? (Preferences / User Preferences / Ports / Show status)?

looks a bit like a bug - and mutliple sessions for single users for shure cause some overhead.

but maybe there’s a reason for that? but don’t think so.

that -xml param is really nice, didn’t know.

Markus Seitz

markus.seitz@icodex.com

Subject: RE: I’m sure it is not sametime

At the moment, I have 2 connections to the domino server, says the port status window at the client:

TCP/IP-Anschlusstreiber

Transport Provider: TCP

Notes-Sitzung Lokale Adresse Fremde Adresse

1B8A0001 10.1.66.24:1102 10.1.64.103:1352

1B890003 10.1.66.24:1140 10.1.64.103:1352

Here you see, that I have two different notes session (1B8A0001 and 1B890003), but I have only one notes client open (and I haven’t opened the Administrator or Designer since the last reboot).

Maybe the reason are agents using the statement

Dim s as new NotesSession

After reading the documentation, that should access the current session, but maybe I get a new one and if I open a database, before the client closes the new session, the opened database uses the new session and so I get more than one session.

Andreas Hoster

andreas.hoster@herma.de

Subject: RE: I’m sure it is not sametime

you’re right about “dim s as new notessession” - that hasn’t much to do with a session to a server.

administrator/designer clients are all based on nlnotes.exe, so they are more like some extra windows than additional programs.

looks more like a bug…

Markus Seitz

markus.seitz@icodex.com