07-06-2010
msleep makes the process wait for a given amount of milliseconds.
I expect this not to slow down the requests, since this interface is by definition asynchronous. Anyway, removing that call does not help to avoid the problem, since repeated calls to easy_perform on single easy_handles are still faster...
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi expert,
Need some help on network interface issue..
I have added 2 x NIC card onto the Ultra 2 system recently and configured as hme1 and hme2. I have unconfigured the onboard hme0 network interface and it was running fine till few days later, i keep recieving error messages showing hme0... (6 Replies)
Discussion started by: sc2005
6 Replies
2. AIX
Hi every body,
I have a Fiber Channel interface (fcs2) in AIX 5.2. This interface was fine & up but for some reason I could not return this interface UP again after I set it DOWN.
When I tried to set this interface UP I encountered the following error:
Method error... (7 Replies)
Discussion started by: aldowsary
7 Replies
3. UNIX for Dummies Questions & Answers
My system info is show below:-
#uname -a
SunOS qfserver 5.8 Generic_117350-29 sun4u sparc SUNW,Sun-Blade-2500
and I have two network card as shown below:-
#ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0:... (1 Reply)
Discussion started by: sarifudin
1 Replies
4. UNIX for Advanced & Expert Users
hi all,
i have problem with my box,
until now i can't investigate the root cause of my issue at my box.
here the problem.
i have a box as a squid server just forward all request packet from one interface and receive the packet then forward to client at the same interface. but after 5 hours i... (1 Reply)
Discussion started by: tindasz
1 Replies
5. AIX
Hello,
I need "devices.common.IBM.ml 1.4.0.0 C F Multi Link Interface Runtime" to be installed on my machine.
I need it for two SAN cards to work correctly.
Where do I get it ?
thanks
Vilius (1 Reply)
Discussion started by: vilius
1 Replies
6. Debian
Hi, i have problems with an installation of Debian i386 505 in a pc. The hardware it is a mother soyo with a chipset via.
When i install the xorg, the installation it`s succesfull, but when i type startx, the pc don`t respond.
I am from Argentina and my English it isn`t good. Sorry. (0 Replies)
Discussion started by: Kritar
0 Replies
7. Solaris
HI,
genunix: NOTICE: ce0: xcvr addr:0x01 - link up 100 Mbps half duplex
genunix: WARNING: ce0: fault detected external to device; service degraded
genunix: WARNING: ce0: xcvr addr:0x01 - link down
genunix: NOTICE: ce0: fault cleared external to device; service available
genunix: ... (4 Replies)
Discussion started by: sunnybee
4 Replies
8. IP Networking
Hi,
We currently operate a DHCP Server on Vxworks system.
It seems that the server is functioning only over the boot interface.
While trying to use it on a different interface the DHCP client messages seems to reach the interface but stay without response.
From a... (1 Reply)
Discussion started by: zohara
1 Replies
9. Red Hat
libcurl.so.4: cannot open shared object file: No such file or directory
ERROR: Loading network library (net.so) failed!
Press Q to shut down the server!
http://a1108.hizliresim.com/11/8/17/8183.jpg
What must I do ? :wall: (14 Replies)
Discussion started by: Stark0010
14 Replies
10. IP Networking
Hello,
I wanted to setup routing certain traffic (http/s) out via a second (faster) interface, like described in the following docs (may not post urls):
linux-ip.net /html/adv-multi-internet.html
thegeekstuff.com /2014/08/add-route-ip-command/
I already had this working years ago on... (0 Replies)
Discussion started by: hyphan
0 Replies
LEARN ABOUT OSF1
aio_cancel
aio_cancel(3) Library Functions Manual aio_cancel(3)
NAME
aio_cancel - Cancels one or more asynchronous I/O requests pending against the specified file descriptor (P1003.1b)
LIBRARY
Asynchronous I/O Library (libaio, libaio_raw)
SYNOPSIS
#include <aio.h>
int aio_cancel (
int fildes,
struct aiocb *aiocbp);
PARAMETERS
fildes The file descriptor against which outstanding asynchronous I/O operations are canceled.
*aiocbp A pointer to the address of the aiocb structure for a particular request to be canceled. If the aiocbp argument is NULL, all
queued outstanding asynchronous I/O requests against the file descriptor are canceled.
DESCRIPTION
The aio_cancel function cancels asynchronous I/O requests. Normal signal delivery occurs for asynchronous I/O operations that are success-
fully canceled. If a request cannot be canceled, then the normal asynchronous completion process takes place for those requests when they
are completed.
RETURN VALUES
On a successful call to the aio_cancel function, the requested operation is canceled and AIO_CANCELED is returned. If at least one of the
requested operations is not canceled because it is in progress, AIO_NOTCANCELED is returned. If all the operations completed prior to the
cancel request, AIO_ALLDONE is returned.
On an unsuccessful call, a value of -1 is returned and errno is set to indicate that an error occurred. Note that the value of -1 is
returned only if the call itself failed.
ERRORS
The aio_cancel function fails under the following conditions:
[EBADF] The fildes argument is not a valid file descriptor.
RELATED INFORMATION
Functions: aio_group_completion_np(3), aio_read(3), aio_results_np(3), aio_write(3), aio_suspend(3)
Guide to Realtime Programming delim off
aio_cancel(3)