The timeout tag has no wiki summary.
2
votes
0answers
27 views
mpd daemon prematurely ending jobs
I am a little out of my depth here so bear with me. I am trying to configure mpirun and mpiexec to run software called Materials Studio on a 1 node, 2 processor, 12 core cluster. The submission scheme ...
2
votes
0answers
22 views
Shorter timeout on I/O errors MacOS X
How do you set a shorter timeout value for read/write I/O errors on MacOSX?
We tend to get a few semicrashed disks and want to rsync the contents to a secure location, but when the file subsystem ...
4
votes
3answers
103 views
How to constraint time a program runs in Linux?
I have several simulations to do, each is invoked with python simulate.py <parameter list>. The problem with these simulations is that some of them hang without quiting, which prevents me from ...
4
votes
1answer
134 views
Too big delay with xscreensaver on wrong password in OpenSUSE 12.2
There is too big delay when logging in with xscreensaver in OpenSUSE 12.2
--- Actual delay is 10 seconds, but not found anywhere in configs
Already done:
checked pam timeout in login.defs (3 ...
1
vote
0answers
146 views
SSH to machines in new subnet - connection timeout
I'm using RHEL4 and RHEL5.
A new group of Linux machines are setup recently using 172.16.32.0/24. The existing RHEL machines are running on 172.16.1.0/22 and 172.16.4.0/22. When I try to ssh from ...
4
votes
1answer
331 views
named does't start when using systemctl
I am having trouble getting named to start using systemd on the Fedora 18 Raspberry Pi spin. It starts, then a few moments later there is a timeout and it fails. If I run the commands in named.service ...
0
votes
2answers
135 views
What is the difference between ping -w and ping -W?
What is the -w (deadline) flag in ping for? I cannot find a description of it in the ping man page; only for -W, which takes seconds as a parameter. What is the difference between them, and how can I ...
2
votes
2answers
248 views
SSH connection timing out
I am trying to connect to an external host that is living in the Internet.
From my laptop I can ssh fine. From an Ubuntu 12.10 server, the connection times out.
Since they're in the same network, ...
3
votes
2answers
193 views
why slight delay after failed login in tty [duplicate]
Possible Duplicate:
Why a wrong password gives a big delay
Whenever I mistype my password when logging in in a tty, I have noticed that I have to wait for a second before I'm able to log in ...
2
votes
2answers
780 views
MySQL Linux Client Timeout/Keepalive
Is there a way to set a keepalive in the command-line MySQL client on Linux?
Our network recently moved to a VLAN setup, and our systems department no longer has control of the firewall. The ...
2
votes
3answers
592 views
Timeout `idql` command in ksh
I probably read all the threads in almost all the forums for a solution to my need. I am a beginner in shell scripting and I dont have a perfect solution yet. Below is my code snippet.
idql -n ...
3
votes
1answer
833 views
How to mount a Truecrypt container with a timeout from the command line?
I'm mounting a truecrypt container via the command line (i.e. truecrypt file dir). Is there any way to have truecrypt automatically unmount the container after a given amount of inactivity in dir?
1
vote
2answers
332 views
Timeout doesn't occur when reading from fifo using `read`
Look at this code:
while read -t 3 line; do
echo ${line}
done < /opt/data.log
data.log is a fifo. One process is writing to this, and this code should be reading it to show to the user. But ...
8
votes
4answers
6k views
How to introduce timeout for shell scripting?
I want to run a shell script that got a loop in it and it can go for ever which I do not want to happen. So I need to introduce a timeout for the whole script.
How can I introduce a timeout for the ...
3
votes
1answer
212 views
How to disable timeout of password prompt for partition decryption during boot?
I have a computer running OpenSUSE 12.1, 64-bit, default install.
How it works currently:
I turn on the computer
It goes through the boot process
At some point during boot, I am asked for password ...
2
votes
1answer
199 views
FTP timeout FIRST time
I'm using PureFTPd on MacOSX (Snow Leopard, not server version). When trying to access the FTP account from the outside via dyndns (e.g. using https://www.wormly.com/test_ftp_server) the connection ...
5
votes
3answers
4k views
mptscsih: ioc0: task abort: SUCCESS (rv=2002) causes 30 seconds freezing
I/O to my software RAID6 often freezes for around 30 seconds after which everything is back to normal.
After the freeze is over this is put into syslog:
Mar 14 18:43:57 server kernel: [35649.816060] ...
0
votes
1answer
831 views
Execute command for x seconds? [duplicate]
Possible Duplicate:
Run a command for a specified time and then abort if time exceeds
Is there a command which allows me to execute another command for at most x seconds?
Imagined example: ...
8
votes
1answer
593 views
Run a command for a specified time and then abort if time exceeds
I want know how I can run a command for a specified time say, one minute and if it doesn't complete execution then I should be able to stop it.
3
votes
2answers
1k views
From shell, killing a process if wallclock runtime exceeds some predetermined value
I want to start a process from a shell script, allow it to interact with the user (so I cannot just background it, grab the PID, launch sleep followed by sanity checks and kill), but if it is still ...
3
votes
1answer
602 views
How to kill a command started over SSH - the SSH connection lost
If I use
timeout 10 ssh -n -o BatchMode=yes 1.1.1.1 'sleep 20' > 1.1.1.1.txt 2>&1 &
To give out a remote command on a server, and I kill the SSH connection after 10 seconds, then I ...
3
votes
3answers
206 views
Kill process when it stops to produce further output
Is there a shell tool which can probe if a subprocess is still producing output, and otherwise kill it after a specified timeout?
I'm using offlineimap for Gmail backup, but that's very very very ...
4
votes
1answer
979 views
How long is a TCP local socket address that has been bound unavailable after closing?
On Linux (my live servers are on RHEL 5.5 - the LXR links below are to the kernel version in that), man 7 ip says:
A TCP local socket address that has been bound is unavailable for some time after ...
27
votes
4answers
3k views
Timing out in a shell script
I have a shell script that's reading from standard input. In rare circumstances, there will be no one ready to provide input, and the script must time out. In case of timeout, the script must execute ...
