I install Solaris10 U5 on x86 machine. But when I execute iscsiadm command, the 
number of used sempaphore will increase at the same time.

# ipcs
IPC status from <running system> as of Mon Apr 21 15:01:13 CST 2008
T         ID      KEY        MODE        OWNER    GROUP
Message Queues:
Shared Memory:
Semaphores:
-bash-3.00# iscsiadm
Usage:  iscsiadm -?,-V,--help
Usage:  iscsiadm add [-?] <OBJECT> [-?] [<OPERAND>]
Usage:  iscsiadm list [-?] <OBJECT> [-?] [<OPERAND>]
Usage:  iscsiadm modify [-?] <OBJECT> [-?] [<OPERAND>]
Usage:  iscsiadm remove [-?] <OBJECT> [-?] [<OPERAND>]
For more information, please see iscsiadm(1M)
-bash-3.00# ipcs
IPC status from <running system> as of Mon Apr 21 15:01:21 CST 2008
T         ID      KEY        MODE        OWNER    GROUP
Message Queues:
Shared Memory:
Semaphores:
s          7   0          -----------     root     root
s          6   0          -----------     root     root
-bash-3.00# iscsiadm
Usage:  iscsiadm -?,-V,--help
Usage:  iscsiadm add [-?] <OBJECT> [-?] [<OPERAND>]
Usage:  iscsiadm list [-?] <OBJECT> [-?] [<OPERAND>]
Usage:  iscsiadm modify [-?] <OBJECT> [-?] [<OPERAND>]
Usage:  iscsiadm remove [-?] <OBJECT> [-?] [<OPERAND>]
For more information, please see iscsiadm(1M)
-bash-3.00# ipcs
IPC status from <running system> as of Mon Apr 21 15:01:27 CST 2008
T         ID      KEY        MODE        OWNER    GROUP
Message Queues:
Shared Memory:
Semaphores:
s          9   0          -----------     root     root
s          8   0          -----------     root     root
s          7   0          -----------     root     root
s          6   0          -----------     root     root

Because my program will call iscsiadm command ceaselessly to refresh iscsi 
resource,  the number of used semaphore will be over the limit quickly. The 
following operation need semaphore operation will fail.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to