Solaris semaphore, meaning of Editable shared memory parameters (these parameters are out of date under solaris10)

Source: Internet
Author: User

Online collection

 

Semsys: seminfo_semmni(Solaris9 Release)


InSolarisVersion 10 is out of date.

Description

Specifies the maximum number of signal identifiers.

Data Type

Signed integer

Default Value

10

Range

1 to 65,535

Dynamic or not

No

Verify

AndSema_index_max(Currently 65,535). If the value is large, it is reset to this value. Warning Messages are written to the console or message file, or both.

When to change

If the number of default sets is insufficient, change the value. Generally, the changes are made based on the suggestions of the software supplier. If you try to create more than the current number of sets, no error message is displayed. On the contrary, the application receivesSemgetReturned Code of the callEnospc.

For more information, see semget (2 ).

Commitment level

Unstable

Semsys: seminfo_semmsl( Solaris9 Release)

InSolarisVersion 10 is out of date.

Description

Specifies the maximum number of System V signals for each signal identifier.

Data Type

Signed integer

Default Value

25

Range

1 To maxint

Dynamic or not

No

Verify

Compare the amount of space occupied by the Signal and Its supported data structures with 25% of the available kernel memory when the module is first loaded. If the memory threshold is exceeded, the module is not loaded and the signal function is unavailable.

When to change

Make changes when the default value is insufficient. Generally, the changes are made based on the suggestions of the software supplier. If you try to create more signals in a set than the current signal number, no error message is displayed. The application receives the response code from semget (2 ).Einval.

Commitment level

Unstable

Semsys: seminfo_semopm( Solaris9 Release)

InSolarisVersion 10 is out of date.

Description

SpecifySemopThe maximum number of System V signal operations. This parameter indicatesSOPsIn the ArraySemop ()Provided by the system callSembufs. For more information, see semop (2 ).

Data Type

Signed integer

Default Value

10

Range

1 To maxint

Dynamic or not

No

Verify

Compare the amount of space occupied by the Signal and Its supported data structures with 25% of the available kernel memory when the module is first loaded. If the memory threshold is exceeded, the module is not loaded and the signal function is unavailable.

When to change

Make changes when the default value is insufficient. Generally, the changes are made based on the suggestions of the software supplier. If you trySemopIf the number of signal operations executed in the call is greater than the number of currently permitted signal operations, no error message is displayed. On the contrary, the application receivesSemop ()Returned Code of the callE2big.

Commitment level

Unstable

Semsys: seminfo_semmns( Solaris9 Release)

InSolarisRelease 10 has been deleted.

Description

The maximum number of System V signals on the system.

Data Type

Signed integer

Default Value

60

Range

1 To maxint

Dynamic or not

No

Verify

Compare the amount of space occupied by the Signal and Its supported data structures with 25% of the available kernel memory when the module is first loaded. If the memory threshold is exceeded, the module is not loaded and the signal function is unavailable.

When to change

If the number of default signals is insufficient, change the value. Generally, the changes are made based on the suggestions of the software supplier. If the number of signals to be created is greater than the number of signals currently configured, no error message is displayed. The application receives the response code from semget (2 ).Enospc.

Commitment level

Unstable

Semsys: seminfo_semmnu( Solaris9 Release)

InSolarisRelease 10 has been deleted.

Description

The total number of Undo structures supported by the System V signal system.

Data Type

Signed integer

Default Value

30

Range

1 To maxint

Dynamic or not

No

Verify

Compare the amount of space occupied by the Signal and Its supported data structures with 25% of the available kernel memory when the module is first loaded. If the memory threshold is exceeded, the module is not loaded and the signal function is unavailable.

When to change

Make changes when the default value is insufficient. Generally, the changes are made based on the suggestions of the software supplier. If the number of Undo operations you try to perform is greater than the number of Undo operations configured currently, no error message is displayed. When the system uses the Undo structure, the application receives the return value from the semop (2) Call.Enospc.

Commitment level

Unstable

Semsys: seminfo_semume( Solaris9 Release)
Description

InSolarisRelease 10 has been deleted.

The maximum number of System V signal undo structures that can be used by any process.

Data Type

Signed integer

Default Value

10

Range

1 To maxint

Dynamic or not

No

Verify

Compare the amount of space occupied by the Signal and Its supported data structures with 25% of the available kernel memory when the module is first loaded. If the memory threshold is exceeded, the module is not loaded and the signal function is unavailable.

When to change

Make changes when the default value is insufficient. Generally, the changes are made based on the suggestions of the software supplier. If the number of Undo operations you try to perform is greater than the number of Undo operations configured currently, no error message is displayed. The application receives the response code from the semop (2) Call.Einval.

Commitment level

Unstable

Semsys: seminfo_semvmx( Solaris9 Release)

InSolarisRelease 10 has been deleted.

Description

The maximum signal value that can be set.

Data Type

Unsigned short integer

Default Value

32,767

Range

1 to 65,535

Dynamic or not

No

Verify

None

When to change

Make changes when the default value is insufficient. Generally, the changes are made based on the suggestions of the software supplier. If the maximum value is exceeded, no error messages are displayed. The application receives the response code from the semop (2) Call.Erange.

Commitment level

Unstable

Semsys: seminfo_semaem( Solaris9 Release)

InSolarisRelease 10 has been deleted.

Description

The maximum signal value that can be set in the Undo structure.

Data Type

Unsigned short integer

Default Value

16,384

Range

1 to 65,535

Dynamic or not

No

Verify

None

When to change

Make changes when the default value is insufficient. Generally, the changes are made based on the suggestions of the software supplier. If the number of Undo operations you try to perform is greater than the number of Undo operations configured currently, no error message is displayed. The application receives the response code from the semop (2) Call.Einval.

Commitment level

Unstable

Semsys: seminfo_semmap( Solaris7 release)

InSolaris8. The release is out of date. This variable is provided in the kernel for compatibility reasons, but will not be used again.

Semsys: seminfo_semusz( Solaris7 release)

InSolaris8. The release is out of date. Any input value is ignored.

System V shared memory Parameters Shmsys: shminfo_shmmni( Solaris9 Release)

InSolarisVersion 10 is out of date.

Description

Set the system range limit for the number of shared memory segments that can be created.

Data Type

Signed integer

Default Value

100

Range

0 to maxint

Dynamic or not

No. MountedShminfoStructureShmmniField.

Verify

Check the space occupied by the maximum number of data structures that support system V shared memory based on 25% of the currently available kernel memory when the module is loaded. If the occupied memory is too large, the system fails to load the module.

When to change

Changes when the system limit is too low. Generally, the changes are made based on the suggestions of the software supplier.

Commitment level

Unstable

Shmsys: shminfo_shmmax( Solaris9 Release)

InSolarisVersion 10 is out of date.

Description

The maximum size of the System V shared memory segment that can be created. This parameter is the upper limit that is checked before the application can check whether it actually has the physical resources required for the memory segment of the Creation request.

If you try to create a shared memory segment with a size of zero or greater than the specified valueEinvalError.

This parameter only specifies the maximum size of the shared memory segment acceptable to the operating system. Whether a memory segment can be created depends on the amount of available swap space on the system. For 32-bit processes, it also depends on whether the process address space of the memory segment to be appended has sufficient available space.

Data Type

Unsigned long integer

Default Value

8,388,608

Range

In a 32-bit system, the value ranges from 0 to maxuint32. In a 64-bit system, the value ranges from 0 to maxuint64.

Unit

Bytes

Dynamic or not

No. MountedShminfoStructureShmmaxField.

Verify

None

When to change

Change the value when the default value is too low. It is usually changed according to the suggestions of the software supplier. However, if you do not need to limit the size of the shared memory segment, setting this parameter to a possible maximum value will not have a negative impact.

Commitment level

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.