The timeout tag has no wiki summary.
2
votes
1answer
51 views
How can I configure OpenVPN to wait for slow SOCKS proxies?
I'm experimenting with OpenVPN connections routed through Tor, using
pairs of Tor gateway and OpenVPN-hosting VMs. On the server side, link
local ports are forwarded to Tor hidden-service ports on the ...
1
vote
3answers
45 views
TFTP configuration problems
I can not get TFTP to work properly on my system. I have set /etc/default/tftpd-hpa to /srv/tftp/ which I have set to permissions 777 like all the contents as well (and /srv/ too) however, whenever I ...
1
vote
2answers
133 views
Does curl have a timeout?
So far I couldn't find anything really, but is it true that curl doesn't really time out at all?
user@host:~# curl http://localhost/testdir/image.jpg
I'm asking because I'm redirecting any request ...
2
votes
1answer
51 views
How do I remove the timeout in the boot menu
I am a beginner to Linux so I installed several operating systems on my computer in a multiboot configuration (Ubuntu, Linux Mint, Windows, ...). When I turn on my PC, the boot menu appears with a ...
2
votes
1answer
203 views
Apache 70007 and 70014 errors
I have a service where mobile phones send a big hash of data to our server which are sitting on AWS behind the ELB.
Once in a while we receive 70007 and 70014 errors in the apache error logs, the ...
2
votes
0answers
93 views
IPTables dropping UDP packet stream
I have a configuration where UDP packets containing encapsulated DNS data are sent to a KVM instance for processing. The KVM instance sits behind an IPtables firewall which is also doing NAT. The ...
3
votes
3answers
124 views
timeout without killing process in bash
I have a main script that I'm running, and from it I have a second "slow process" I want to kick off, and "do something" in the main script if it doesn't complete in the time limit -- depending on if ...
1
vote
1answer
53 views
Find if a process terminates in a specific amount of time
I am running a program.Inside this program i run a specific command and i use ulimit command to terminate the running of that command if it exceeds an amount of time.To be more clear i run this:
...
2
votes
1answer
146 views
Use time ,timeout and ulimit commands properly
I'm running a command in CentOS and at the same time I want to do 2 things:
write the run time of the command to a file and
set a time limit which stops the command
I implemented the first one ...
1
vote
1answer
747 views
iptables prevents connection via ssh after port change despite ACCEPT rule
I have two machines hooked up to a router, one Windows with PuTTY, and one CentOS 6.4 with sshd and with the default SELinux still enabled. They can both ping each other successfully.
I installed ...
2
votes
0answers
56 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
54 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 ...
5
votes
3answers
275 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
226 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
1answer
225 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
855 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
675 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 ...
3
votes
2answers
327 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
237 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
1k 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
775 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 ...
6
votes
1answer
1k 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
435 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 ...
10
votes
4answers
9k 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
241 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
238 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
6k 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
1k 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: ...
13
votes
1answer
989 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
2k 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
922 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
238 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 ...
5
votes
1answer
1k 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 ...
28
votes
4answers
4k 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 ...