Displaying 7 results from an estimated 7 matches for "useconds".
Did you mean:
seconds
2001 Feb 13
4
issue with EGD in openssh
...MAGE.
*/
#include "includes.h"
#ifndef HAVE_USLEEP
#if defined(LIBC_SCCS) && !defined(lint)
static char rcsid[] = "$OpenBSD: usleep.c,v 1.7 1998/02/08 22:44:09 tholo Exp $";
#endif /* LIBC_SCCS and not lint */
/* XXX - if no nanosleep() just use select */
int
usleep(useconds)
unsigned int useconds;
{
struct timespec rqt;
if (useconds == 0)
return(0);
rqt.tv_sec = useconds / 1000000;
rqt.tv_nsec = (useconds % 1000000) * 1000;
return(nanosleep(&rqt, NULL));
}
#endif /* !HAVE_USLEEP */
--- sshd.c.DIST Mon Feb 12 07:38:08 2001
+++ sshd.c Mon Feb 12 07:36:1...
2013 Jun 24
3
[PATCH v2] xen-netback: add a pseudo pps rate limit
VM traffic is already limited by a throughput limit, but there is no
control over the maximum packet per second (PPS).
In DDOS attack the major issue is rather PPS than throughput.
With provider offering more bandwidth to VMs, it becames easy to
coordinate a massive attack using VMs. Example: 100Mbits ~ 200kpps using
64B packets.
This patch provides a new option to limit VMs maximum packets per
2018 Dec 20
2
Authentication/Penalty disabled (socket mode=0) introduces constant 5 sec delays (2.27 on debian 9)
...attach 11833
cont
# Send an e-mail from swaks to exim that use transport=smtp in LMTP mode to dovecot-lmtp, press interrupt while exim is blocking after RCPT TO:
(gdb) bt
#0 0x00007f81528af270 in __nanosleep_nocancel () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007f81528d8b84 in usleep (useconds=<optimized out>) at ../sysdeps/posix/usleep.c:32
#2 0x00007f815329368e in net_connect_unix_with_retries (path=0x562dc200ce10 <error: Cannot access memory at address 0x562dc200ce10>, msecs=msecs at entry=5000) at net.c:347
#3 0x00007f815320ce0d in anvil_client_connect (client=0x562dc20...
2019 Jan 08
1
Authentication/Penalty disabled (socket mode=0) introduces constant 5 sec delays (2.27 on debian 9)
...t=smtp in LMTP
>> mode to dovecot-lmtp, press interrupt while exim is blocking after
>> RCPT TO:
>>
>>
>> (gdb) bt
>> #0? 0x00007f81528af270 in __nanosleep_nocancel () at
>> ../sysdeps/unix/syscall-template.S:84
>> #1? 0x00007f81528d8b84 in usleep (useconds=<optimized out>) at
>> ../sysdeps/posix/usleep.c:32
>> #2? 0x00007f815329368e in net_connect_unix_with_retries
>> (path=0x562dc200ce10 <error: Cannot access memory at address
>> 0x562dc200ce10>, msecs=msecs at entry=5000) at net.c:347
>> #3? 0x00007f8153...
2019 Jan 06
0
Authentication/Penalty disabled (socket mode=0) introduces constant 5 sec delays (2.27 on debian 9)
...end an e-mail from swaks to exim that use transport=smtp in LMTP mode to dovecot-lmtp, press interrupt while exim is blocking after RCPT TO:
>
>
> (gdb) bt
> #0 0x00007f81528af270 in __nanosleep_nocancel () at ../sysdeps/unix/syscall-template.S:84
> #1 0x00007f81528d8b84 in usleep (useconds=<optimized out>) at ../sysdeps/posix/usleep.c:32
> #2 0x00007f815329368e in net_connect_unix_with_retries (path=0x562dc200ce10 <error: Cannot access memory at address 0x562dc200ce10>, msecs=msecs at entry=5000) at net.c:347
> #3 0x00007f815320ce0d in anvil_client_connect (client...
1999 Sep 30
0
non-cpu intensive sleep in R?;
Hi,
Is there a function similar to C's usleep in R?
usleep(10000);
from the man pages:
The usleep() function will cause the calling thread to be suspended from
execution until either the number of real-time microseconds specified by
the argument useconds has elapsed or a signal is delivered to the
calling thread and its action is to invoke a signal-catching function or
to terminate the process. The
suspension time may be longer than requested due to the scheduling of
other activity by the system.
I do not want to dyn.load usleep for portability r...
2006 Jan 09
15
MTU and Voice Delay (latency??)
Our users are experiencing some unacceptable delay when trying to have a
conversation. The delay is so noticeable that they keep stepping on each
others words and resort to calling the customers via cell phone.
Here is the setup
SDSL Connection (PPPoA)
Speedtouch 610 SDSL Modem
3Com 2224PWR Plus Switch (phones on separate VLAN)
8 Cisco 796 Phones
All connecting to a remote Asterisk Server.
We