HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- semop() looks like hanging => Sleeping forever
Operating System - HP-UX
1830834
Members
2542
Online
110017
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
12-23-2002 11:24 AM
12-23-2002 11:24 AM
semop() looks like hanging => Sleeping forever
Hi All,
We are running OCI application againest
Oracle 8.1.6 on HP 11. The application seem to be hanging/sleeping forever at semop() system call. We killed this application wil kill -11
to get a core file but "gdb -c core" not telling anything to us. We ran the OCI application under "tusc" debugger and found out application hanging at semop() system call.
Is there is any patch available to this problem..
tusc output
read(7, "\0Q \0\006\0\0\0\0\0\b\0021ccc/ ".., 1516) . = 81
write(7, "\015\0\006\0\0\0\0\00305\r\0\0\0".., 21) .. = 21
read(7, "\0a \0\006\0\0\0\0\00602\001\0\0".., 1516) . = 97
write(7, "\011\0\006\0\0\0\0\003140e\0\0\0".., 17) .. = 17
read(7, "\0\v\0\006\0\0\0\0\0\t", 1516) ............. = 11
alarm(10) ........................................... = 0
sigvec(SIGALRM, 0x73817228, 0x73817238) ............. = 0
time(NULL) .......................................... = 1040576552
sigtimedwait(0x73816c50, NULL, 0x73816c70) .......... ERR#11 EAGAIN
time(NULL) .......................................... = 1040576553
semop(213330, 0x73816b38, 1) ........................ [sleeping]
After this process was doing nothing..
Some HP patchs are also installed
PHNE_19899 1.0 cumulative ARPA Transport patch
PHNE_20150 1.0 Cumulative Mux and Pty Patch
PHSS_16839 1.0 Assembler patch.
PHSS_16849 1.0 LIBCL patch
PHSS_17421 1.0 XClients JAN 99 Cumulative Patch
PHSS_17980 1.0 ImagingSubsystem April 1999 Periodic Patch
PHSS_20140 1.0 CDE Runtime OCT99 Cumulative Patch
PHSS_20141 1.0 Xserver cumulative patch
PHSS_20142 1.0 X/Motif2.1 Runtime OCT99 Cumulative Patch
PHSS_20146 1.0 Firmware update for B1000, C3000 and J5000
PHSS_21046 1.0 OV EMANATE14.2 Agent Consolidated Patch
PHSS_21947 1.0 ld(1) and linker tools cumulative patch
gzip 1.2.4a gzip
openssh 2.5.1p1 openssh
openssl 0.9.6 openssl
perl 5.6.0 perl
zlib 1.1.3 zlib
Any help? Thanx in advance..
We are running OCI application againest
Oracle 8.1.6 on HP 11. The application seem to be hanging/sleeping forever at semop() system call. We killed this application wil kill -11
to get a core file but "gdb -c core" not telling anything to us. We ran the OCI application under "tusc" debugger and found out application hanging at semop() system call.
Is there is any patch available to this problem..
tusc output
read(7, "\0Q \0\006\0\0\0\0\0\b\0021ccc/ ".., 1516) . = 81
write(7, "\015\0\006\0\0\0\0\00305\r\0\0\0".., 21) .. = 21
read(7, "\0a \0\006\0\0\0\0\00602\001\0\0".., 1516) . = 97
write(7, "\011\0\006\0\0\0\0\003140e\0\0\0".., 17) .. = 17
read(7, "\0\v\0\006\0\0\0\0\0\t", 1516) ............. = 11
alarm(10) ........................................... = 0
sigvec(SIGALRM, 0x73817228, 0x73817238) ............. = 0
time(NULL) .......................................... = 1040576552
sigtimedwait(0x73816c50, NULL, 0x73816c70) .......... ERR#11 EAGAIN
time(NULL) .......................................... = 1040576553
semop(213330, 0x73816b38, 1) ........................ [sleeping]
After this process was doing nothing..
Some HP patchs are also installed
PHNE_19899 1.0 cumulative ARPA Transport patch
PHNE_20150 1.0 Cumulative Mux and Pty Patch
PHSS_16839 1.0 Assembler patch.
PHSS_16849 1.0 LIBCL patch
PHSS_17421 1.0 XClients JAN 99 Cumulative Patch
PHSS_17980 1.0 ImagingSubsystem April 1999 Periodic Patch
PHSS_20140 1.0 CDE Runtime OCT99 Cumulative Patch
PHSS_20141 1.0 Xserver cumulative patch
PHSS_20142 1.0 X/Motif2.1 Runtime OCT99 Cumulative Patch
PHSS_20146 1.0 Firmware update for B1000, C3000 and J5000
PHSS_21046 1.0 OV EMANATE14.2 Agent Consolidated Patch
PHSS_21947 1.0 ld(1) and linker tools cumulative patch
gzip 1.2.4a gzip
openssh 2.5.1p1 openssh
openssl 0.9.6 openssl
perl 5.6.0 perl
zlib 1.1.3 zlib
Any help? Thanx in advance..
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 03:48 AM
01-23-2003 03:48 AM
Re: semop() looks like hanging => Sleeping forever
I don't mean to sound like a Windows user, but have you tried rebooting? Maybe all the semaphores have been eaten up by old processes.
Before that, try and look at the kernel parameters. Use SAM to locate esp. the SEMMNS setting. It defaults to 128 which is too low for Oracle. The Oracle documentation is pretty explicit about the necessary kernel paramters.
Good luck, Martin
Before that, try and look at the kernel parameters. Use SAM to locate esp. the SEMMNS setting. It defaults to 128 which is too low for Oracle. The Oracle documentation is pretty explicit about the necessary kernel paramters.
Good luck, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 04:56 AM
01-23-2003 04:56 AM
Re: semop() looks like hanging => Sleeping forever
Of course the semop() function is designed to block under certain conditions. This is in fact the syscall's core functionality... synchronization of IPC. See man semop(2).
You need to know the specific context to determine if the blocking is correct or not. Problems in this area are most often caused by the application, not the OS.
Best regards...
Dietmar.
You need to know the specific context to determine if the blocking is correct or not. Problems in this area are most often caused by the application, not the OS.
Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
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