HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: semaphore error
Operating System - HP-UX
1837063
Members
2457
Online
110111
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 12:47 PM
10-25-2001 12:47 PM
semaphore error
We use baan ERP version 5c. This is on HPUX K class box . This is a development machine with 2 gig of phy memory. But very soon we will move to a high end N class server.
Existing Kernel Values as below :
sema 1
semaem 16384
semmap (SEMMNI+2)
semmni 3200
semmns 3200
semmnu 3200
semmsl_override 2048
semume 10
semvmx 32767
Error Message in Baan
Log_mesg: GetSemaphore failed; errno = 22
Any suggestions . Any value needs to be increased ? Are there any values which are memory dependent ?
Existing Kernel Values as below :
sema 1
semaem 16384
semmap (SEMMNI+2)
semmni 3200
semmns 3200
semmnu 3200
semmsl_override 2048
semume 10
semvmx 32767
Error Message in Baan
Log_mesg: GetSemaphore failed; errno = 22
Any suggestions . Any value needs to be increased ? Are there any values which are memory dependent ?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 01:02 PM
10-25-2001 01:02 PM
Re: semaphore error
Deeapak,
Is the message a warning
message or is a error causing
a program to abort?
Unix error number 22, means
invalid arguement. But, i
am not sure whether the
message you posted is a
Bann errno or a Unix errno.
Regarding the Semaphore parameters, are the values
corresponding to what Baan
recommends? I have similar
values on my oracle db system
working fine except for
semmue which is 512 (whereas
yours is set to 10).
Track the usage of semaphore
table (semmni) through glance.
That should give an idea whether you are running out
of semaphores. Also, have
a look at ipcs -as output
for the semaphore allocation
details.
Another question, is the
system newly setup? or has
Baan been running fine on
the system .
-raj
Is the message a warning
message or is a error causing
a program to abort?
Unix error number 22, means
invalid arguement. But, i
am not sure whether the
message you posted is a
Bann errno or a Unix errno.
Regarding the Semaphore parameters, are the values
corresponding to what Baan
recommends? I have similar
values on my oracle db system
working fine except for
semmue which is 512 (whereas
yours is set to 10).
Track the usage of semaphore
table (semmni) through glance.
That should give an idea whether you are running out
of semaphores. Also, have
a look at ipcs -as output
for the semaphore allocation
details.
Another question, is the
system newly setup? or has
Baan been running fine on
the system .
-raj
Take it easy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 01:42 PM
10-25-2001 01:42 PM
Re: semaphore error
This is baan error in a file named $BSE/log/log*audit*. What does semume stand for . infact all my server have this value set to 10 . But this is Baan 5c and all my other baan database server has baan 4c2/4c4 . This problem started a month back and doesn;t allow user to update the database and the only solution we have is to reboot the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 01:52 PM
10-25-2001 01:52 PM
Re: semaphore error
Error No: 22 is invalid argument and your error indicates getsemaphore failed. This could be due to the fact that a process is trying to access a semaphore that doesn't exist. Or it could be that it is not able to create a semaphore (if there is no semaphore existing for the key specified in semget(),it will create one).
The first scenario is that there is a problem with your Baan software.
The second case is when the kernel parameters semmni (max semaphores allowed at any given time) or semmns (number of semaphores available to processes systemwide). You can do a
sar -m 2 20 to see the usage of semaphores. Depending on the value, you may want to increase these values.
-Sri
The first scenario is that there is a problem with your Baan software.
The second case is when the kernel parameters semmni (max semaphores allowed at any given time) or semmns (number of semaphores available to processes systemwide). You can do a
sar -m 2 20 to see the usage of semaphores. Depending on the value, you may want to increase these values.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP