Displaying 20 results from an estimated 5000 matches similar to: "Signal handling / alarm timeouts"
2011 Dec 16
2
Event handling in R
Dear R-helpers,
I've just started playing with getGraphicsEvent() in R, and was wondering if there is a simple way to stop this function waiting for input after a pre-defined time, instead of relying either on a non-NULL value from one of the event handlers or for a user-interrupt for it to halt (as per the R manual).
The only way that I've thought of to make this work is using
2008 Dec 12
2
imap quota makes the Alarm clock expire
Hello list,
I have a strange problem with dovecot and quota. The error message is
not obvious...
After a couple of seconds when I try to start dovceot, I get this:
root at taleira:~# /etc/init.d/dovecot start
Alarm clock
If I uncomment the "imap_quota and quota" in dovecot.conf everything
seem to work fine:
protocol imap {
listen = *:143
ssl_listen = *:993
# problem pa
2003 Sep 29
16
FreeBSD 4.9 RC1 (i386) now available
Not all FTP sites have the first release candidate, but it is at least
available from ftp.freebsd.org. Please download and install this
candidate and help us find bugs BEFORE we call it 4.9-RELEASE.
ftp.FreeBSD.org/pub/FreeBSD/releases/i386/4.9-RC1
ftp.FreeBSD.org/pub/FreeBSD/releases/i386/ISO-IMAGES/4.9-RC1-i386-disc1.iso
We are particularly interested in having people test this release
2017 Jan 20
4
How to handle INT8 data
Well I definitely cannot use them as numeric because join is the main
reason of those identifiers.
About int64 and bit64 packages, it's not a solution, because I am
releasing a dataset for external users. I cannot ask them to install a
package in order to exploit them.
I have to be very carefull when releasing the data. If a user just use
read.csv functions, they by default cast the
2017 Jan 20
9
How to handle INT8 data
Hello r users,
I have to deal with int8 data with R. AFAIK R does only handle int4
with `as.integer` function [1]. I wonder:
1. what is the better approach to handle int8 ? `as.character` ?
`as.numeric` ?
2. is there any plan to handle int8 in the future ? As you might know,
int4 is to small to deal with earth population right now.
Thanks for you ideas,
int8 eg:
human_id
2005 Dec 23
4
sshd blocks SIGALRM
Gidday everbody,
We have just found an interesting issue regarding the sshd daemon on our
SuSE system. For some reasons, the /usr/sbin/sshd process blocks SIGALRM as
shown in the /proc/pid/status:
$ cat /proc/`cat /var/run/sshd.init.pid`/status
Name: sshd
State: S (sleeping)
SleepAVG: 0%
[...]
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000002000 <-- SIGALRM is
2004 Sep 24
2
[LLVMdev] SlowOperationInformer.cpp:55: error: `SIGALRM' undeclared (first use this functi
Hi
I'm compiling: /usr/local/src/llvm/lib/Support/SlowOperationInformer.cpp on
MinGW. However, it stops complaining about that SIGALRM is undeclared:
--------------------------
@ /usr/local/build/llvm/mklib --tag=disable-shared --silent --tag=CXX
--mode=compile g++ -c -I/usr/local/build/llvm/lib/Support
-I/usr/local/src/llvm/lib/Support -I/usr/local/build/llvm/include
2004 Sep 24
0
[LLVMdev] SlowOperationInformer.cpp:55: error: `SIGALRM' undeclared (first use this functi
Henrik Bach wrote:
> Hi
>
> I'm compiling: /usr/local/src/llvm/lib/Support/SlowOperationInformer.cpp
> on MinGW. However, it stops complaining about that SIGALRM is undeclared:
Is there an alarm() syscall on MinGW? And if so, what signal does it
send (according to the MinGW docs)?
-- John T.
> --------------------------
> @ /usr/local/build/llvm/mklib
2004 Sep 24
2
[LLVMdev] SlowOperationInformer.cpp:55: error: `SIGALRM' undeclared (first use this functi
Ultimately, this is another function that needs to go into lib/System. An
alternate approach is to fork a thread, sleep, and when the thread wakes up,
"ring the alarm".
Reid.
John Criswell wrote:
> Henrik Bach wrote:
>
>> Hi
>>
>> I'm compiling:
>> /usr/local/src/llvm/lib/Support/SlowOperationInformer.cpp on MinGW.
>> However, it stops
2001 Nov 22
2
Add new user -> swat core dump
Hi there,
I have a problem when I try to create a new user with swat. I use binaries of
Samba 2.2.2 coming from www.samba.org, or from www.sunfreeware.com
on Solaris 2.6 and on 8. I compiled the sources and the result is the same.
When I click on "Add New User" (Server Password Management), I receive
a nearly blank page: I can only see the samba gif on top and the user is not
2017 Jan 20
2
How to handle INT8 data
Hi,
I do have < INT_MAX.
This looks attractive but since they are unique identifiers, storing
them as factor will be likely to be counter-productive. (a string
version + an int32 for each)
I was looking to https://cran.r-project.org/web/packages/csvread/index.html
This looks like a good feet for my needs.
Any chances such an external package for int64 would be integrated in core ?
Le 20
2004 Sep 24
0
[LLVMdev] SlowOperationInformer.cpp:55: error: `SIGALRM' undeclared (first use this functi
There's simply no equivalent to signals on Windows. There is no way to
asynchronously interrupt a thread's processing to execute some handler.
The only thing you can asynchronously do to a thread is kill it, and
that's generally frowned upon (who knows what critical sections it might
be holding, etc...).
Stuff like alarms is supposed to be done using the "event-driven"
2006 Mar 01
1
sshd blocking SIGALARM turns out to be due to tcpd
Ian Jackson:
> I recently encountered a bug where some ssh login sessions would
> apparently inherit a blocked SIGALRM. A web search showed up two
> relevant threads:
> http://lists.suse.com/archive/suse-linux-e/2005-Dec/2628.html
> http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=113533337923128&w=2
> et seq - but sadly no answers.
>
> Experimentation with
2006 Jan 13
2
LoginGraceTime
Hello,
We've found some undesirable behavior with respect to LoginGraceTime. A
minor code change in session.c seems to clear it up, but now I'm asking
for help in better understanding the problem and determining if there
any unexpected side effects of the change.
First, the code change:
$ diff orig_session.c session.c
216c216,218
< alarm(0);
---
>
2002 May 01
3
scp 3.1p1 problem on Solaris
I have removed ANDIrand from my Solaris8 system and installed patch
112438-01 which provides native /dev/random and /dev/urandom devices.
Recompiled both openssl-0.9.6c and openssh-3.1p1, restarted sshd.
Now I seem unable to use scp, and connections to the local sshd appear
to be very slow.
$ scp php-4.2.0.tar.gz user at remote:/WWWserv/src
local at bastion's password:
php-4.2.0.tar.gz
2005 Mar 02
1
[PATCH] signal.h
This patch does two things.
This test program results (on i386) in an error about _NSIG:
#include <signal.h>
#if defined (SIGRTMAX)
int rtmax = SIGRTMAX;
#endif
The cause is that the kernel signal.h defines SIGRTMAX as _NSIG,
then makes _NSIG invisibelby hiding it inside ifdef __KERNEL__.
Perhaps it's more elegant to solve this in the kernel,
but the ramifications of that scare
2003 Nov 04
2
4-STABLE b0rked in share/locale/zh_CN.GBK
Murray,
Your commits earlier this evening to zh_CN.GB18030 fixed that -STABLE
breakage, but zh_CN.GBK appears still to be missing, which causes
'make installworld' to fail. Can you please fix this as well?
install -m 644 -o root -g wheel uk_UA.KOI8-U.out /usr/share/locale/uk_UA.KOI8-U/LC_CTYPE
install -m 644 -o root -g wheel zh_CN.eucCN.out /usr/share/locale/zh_CN.eucCN/LC_CTYPE
2016 Oct 26
5
BUG?: On Linux setTimeLimit() fails to propagate timeout error when it occurs (works on Windows)
setTimeLimit(elapsed=1) causes a timeout error whenever a call takes
more than one second. For instance, this is how it works on Windows
(R 3.3.1):
> setTimeLimit(elapsed=1)
> Sys.sleep(10); message("done")
Error in Sys.sleep(10) : reached elapsed time limit
Also, the error propagates immediately and causes an interrupt after ~1 second;
> system.time({ Sys.sleep(10);
2018 Feb 20
2
Migration from 3.6.25-0ubuntu0.12.04.10 to 4.x with passdb backend = ldapsam
Sure.
```
[global]
workgroup = EXAMPLE
server string =
dns proxy = no
interfaces = eth0
bind interfaces only = yes
log file = /var/log/samba/log.%m
max log size = 1000
# new options
log level = 5
netbios name = FILES
#panic action = /usr/share/samba/panic-action %d
server role = STANDALONE SERVER
local master = no
security = user
encrypt passwords =
2016 Oct 26
3
BUG?: On Linux setTimeLimit() fails to propagate timeout error when it occurs (works on Windows)
Thank you for the feedback and confirmations. Interesting to see that
it's also reproducible on macOS expect for Spencer; that might
indicate a difference in builds.
BTW, my original post suggested that timeout error was for sure
detected while running Sys.sleep(10). However, it could of course
also be that it is only detected after it finishes.
For troubleshooting, the