- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Error EWOULDBLOCK
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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-27-2003 01:12 AM
тАО10-27-2003 01:12 AM
Error EWOULDBLOCK
I have the following error:
EWOULDBLOCK (the socket is marked nonblocking and the operation could not complete). What can I do?
Thanks and regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 02:16 AM
тАО10-27-2003 02:16 AM
Re: Error EWOULDBLOCK
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 11:57 AM
тАО10-27-2003 11:57 AM
Re: Error EWOULDBLOCK
The EWOULDBLOCK error message can result from many various programming calls. It could be related to socket calls or file calls failing, resource exhaustion, etc...
It's documented as follows under intro(2) man page.
[EWOULDBLOCK] Operation would block
Indicates one or more of the following errors:
+ The socket is marked nonblocking and no connections are waiting to
be accepted.
+ The socket is marked nonblocking and connection cannot be immedi-
ately completed.
+ The file is locked and the function is instructed not to block
when locking.
+ The socket is marked as nonblocking and no space is available for
the specified function.
We really need to understand what service or program is reporting the error. Where is the message logged etc...
Dave Bechtold
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 07:50 PM
тАО10-27-2003 07:50 PM
Re: Error EWOULDBLOCK
The context is the following: we are using communications between two IPC proccess using the msgsnd. The error appears occasionaly.
We think that it can be an EAGAIN error. Do you have one idea?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 10:12 PM
тАО10-27-2003 10:12 PM
Re: Error EWOULDBLOCK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2003 04:18 AM
тАО10-28-2003 04:18 AM
Re: Error EWOULDBLOCK
If so, please contact your customer support center to request a fix. Please specify the OS version.
If your computer has an uptime greater than 97 days, ACKs are being retransmitted and you do not have a contrat support, the only solution is to reboot, until there is a public patch kit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2003 05:01 AM
тАО10-28-2003 05:01 AM
Re: Error EWOULDBLOCK
How is the msgflg argument set for the msgsnd() call?
If the IPC_NOWAIT flag is set then yes I'd expect it's returning EAGAIN error. Which can be caused by either the maximum number of message headers has been allocated or the message queue is full.
You can monitor the IPC Msg Queues using ipcs(8) command (Ex. ipcs -aq). Maybe there is some tuning that needs to be performed.
For information on tuning IPC msg's see "man sys_attrs_ipc" and the System Configuration and Tuning Guide section on Tuning Interprocess Communications.
Regards,
Dave Bechtold