Great info!  Thanks.

Perry Taylor 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Herve
Balestrieri
Sent: Wednesday, November 23, 2005 10:27 AM
To: [email protected]
Subject: RE: [U2] [UV] PORT.STATUS From Unix

Starting at release 10.1.15, the problem with "uvlictool" hanging
UniVerse when issuing to a "pipe" will be fixed (ECase 7640*USA).

When hung on the "Port status" semaphore, the "State" column would show
= 1 as follow :
----
   Port status     State  Netnode Owner Collisions Retries
   Semaphore #   1     1        0     0          1      13
----
(I've seen this only once in 10 years supporting UniVerse...)

The "Collisions" and "Retries" columns are mentionning occurences of
conflicts in concurrent access toward this semaphore. Since this
semaphore is used only for internal purposes by the "PORT.STATUS"
command, in operating normally, such conflicts on the "Port status"
semaphore would not occur because the "PORT.STATUS" command is a
Database Administrator command that can be accessed only from the
UniVerse Administration account (installation account). What would you
think of a Database administered simultaneously by several concurrent
"Database Administrators" ?

It's worth knowing that, in its internal mechanism, the "PORT.STATUS"
command queries by a signal "SIG_USR2" all the database sessions to put
in their "Printer Shared Memory" segment their most recent "Last command
processed". Then, for every database session, "PORT.STATUS" attaches to
each "Disk Shared Memory" segment, passes the information to a memory
buffer in the "Disk Shared Memory" segment, detach from the "Disk Shared
Memory" segment, reads this information from the central buffer and
formats the displayed output, each user one after the other.

Note that since release 9.6.x of UniVerse, the "PORT.STATUS" command may
not display ALL UniVerse interactive sessions : If, for any reason, it
is failing to attach and get the information from a given user's
"Printer Shared Memory" segment, "PORT.STATUS" just continues processing
with next session, leaving the unaccessible user's session not
mentionned in its report. The "PHANTOM" sessions are just mentionned
"unavailable" when such event occurs.

Regards,

Hervi BALESTRIERI
Support Technique Avanci - Produits "U2"
IBM Software Group - DB2 Information Management Software
Web   : http://www.ibm.com/software/u2/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential and 
privileged information.  Any unauthorized review, use, disclosure or 
distribution is prohibited. ZirMed, Inc. has strict policies regarding the 
content of e-mail communications, specifically Protected Health Information, 
any communications containing such material will be returned to the originating 
party with such advisement noted. If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to