Questions tagged [delay]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

Bluetooth Split Keyboard Delay

I recently just finished building a bluetooth Dactyl Manuform and I'm experiencing delay issues as discussed here. The Bluez solution didn't seem to work along side other solutions I've tried. I'm ...
user avatar
  • 1
0 votes
0 answers
238 views

bash script, check port response with bash's built-in /dev/tcp, time delay | hangs | speed up

With this scripts i check if a host is response on a given port with the bash's built-in /dev/tcp. I can use ip address or domains(hostnames). Script 1 #!/bin/bash HOST_NAME="127.1" ...
user avatar
0 votes
0 answers
36 views

SystemD service restart after crash AND later if failed to restart the first time

Is there a way to restart a service straight away after crashing and also later (after configured time has passed) if it fails to be restarted the first time? Something similar to a combination of ...
user avatar
  • 116
0 votes
1 answer
40 views

Huge delay in ps output from systemd in Azure Linux

I'm getting huge a delay in ps output -- when it outputs the first line (systemd-networkd), there is a huge delay about 20 to 25 seconds, then the rest are displayed instantly. $ ps -eaf . . . systemd+...
user avatar
  • 583
0 votes
0 answers
60 views

Why does Linux take a while to recognize SD card on boot?

My setup is simple and it works, but the boot process takes much longer than desired. uboot can access the sd card without delay when loading the kernel, device tree, ramdisk, and boot script, but in ...
user avatar
0 votes
0 answers
492 views

is there a way to delay `systemctl reboot` using only `systemctl`?

I understand that there is a multitude of options to shutdown or reboot a linux system. Normally I would just use shutdown with the appropriate option. However, I find myself having no control of the ...
user avatar
0 votes
1 answer
675 views

How to pipeline sleep? sleep pipeline doesn't work

I wanted to simulate execution time of certain scripts for which I found sleep NUMBER does exactly what I want. In my scenario I needed something like sleep 5 | command | sleep 5 ... But it behaved ...
user avatar
  • 152
0 votes
0 answers
69 views

How to handle this delay on boot time?

friends! Happy New 2021 Year here! I use Devuan with SysVinit, because I want to speedup my system and get unnecessary non-free stuff away as possible, but also I need Debian-like distribution cause ...
user avatar
  • 43
1 vote
1 answer
54 views

Add a delay in git post-merge

My scenario is as follows: After updating files on my Git repository, I have a Git hook that calls an API from my web server. This API performs a Git pull and then I have a Git hook post-merge that ...
user avatar
2 votes
1 answer
208 views

Excessively slow boot after normal shutdown, but not after forced power off

Note: I had posted this on Ask Ubuntu, but was told that forum is for questions related to real Ubuntu, only. I was advised to post here, so I'm moving the question over here. I have installed Zorin-...
user avatar
  • 176
0 votes
2 answers
643 views

sox command is automatically adding delay in the begining of mp3

I have a few video files which have "humm" sound in the audio. So, I created the following script for batch processing. I am using ffmpeg, to extract audio to .mp3, and sox to denoise, which ...
user avatar
0 votes
1 answer
788 views

Delay in loading webpages

Since a couple of days, my machine experiences a delay when loading webpages. Rather than starting loading, the browser sits there for several seconds (around 5 or 10 seconds), seemingly doing nothing....
user avatar
  • 360
0 votes
1 answer
146 views

Using Tail on a process causes character input delay & disruption [duplicate]

I was referring to this question to see if it is possible to spy on another running process' stdout. One answer suggests using tail -f /proc/<PID>/fd/1 to do so. So I opened two terminal ...
user avatar
0 votes
0 answers
154 views

Netem does not show the correct parameter inserted

I'm issuing the following tc command tc qdisc in order to configure different queues in a computer. The problem is that when I configure two different queues (htb configuration) and I insert ...
user avatar
2 votes
0 answers
19 views

How can I delay/queue all disk activity on a certain directory/disk until a certain point?

I would like to be able to issue a command in a script that would stop disk activity to a certain directory (or disk) and queue it until I issue another command that would 'resume' the disk and all ...
user avatar
0 votes
0 answers
129 views

Bash Prompt takes a lot of time at the end of .bashrc

At the very end of .bashrc I do echo "The END". But even after this statement gets printed, there is a huge delay sometimes more than 5 seconds, to get the PS1 prompt. How can I diagnose this? Any ...
user avatar
  • 1,354
-1 votes
2 answers
663 views

how to start a script with root privilege on boot?

I tried with systemctl and with crontab without success. here is the script: #!/bin/bash cyberghostvpn --country-code AU --city Brisbane --connect rights : -rwxr-xr-x 1 pat pat 71 nov 28 13:04 ...
user avatar
5 votes
2 answers
1k views

Tc qdisc delay not seen in tcpdump recording

I have two linux containers connected with a veth-pair. At veth-interface of one container I set up tc qdisc netem delay and send traffic from it to the other container. If I watch traffic on both ...
user avatar
  • 264
0 votes
2 answers
741 views

delayed bash script execution after boot

My Fedora Linux (presently 30) system hosts several virtual machines (VMs) configured to start up when host system boots. These are isolated servers supposed to be visible from the internet containing ...
user avatar
  • 165
0 votes
1 answer
243 views

Running command on each line of output immediately [duplicate]

I found out that when I run a command which executes a software that has continuous output lines e.g. traffic monitor like tcpdump or tshark the command keeps counting numbers on screen like 4, 8, 12 ....
user avatar
3 votes
1 answer
453 views

Weird I/O stalls affecting a whole desktop

After a recent hardware migration I started experiencing weird I/O stalls affecting my desktop Debian Stretch system. Typical symptoms, all happening during each stall: I stop being able to interact ...
user avatar
  • 572
2 votes
1 answer
3k views

Boot delay due to systemd device start job timeout

Problem description I've taken to finally address the issue of my system booting slower than it should. My first step was to have a look at the boot log, which showed the start job for a device ...
user avatar
  • 147
0 votes
2 answers
747 views

Debian NFS wait too long when the other Debian is turned off

I have a home network with two Debian 9 PCs. I'm using NFS to share a folder from each PC with the other, both read-only. The config files are: /etc/exports on Machine1: /path/on/machine1/share ...
user avatar
  • 1,592
1 vote
1 answer
103 views

Does we need a delay time between command in Linux ?

I have a script process.csh for processing many files through many steps which the above output is the input of below command. Do I need to insert a delay between commands to be sure there is no ...
user avatar
2 votes
0 answers
204 views

Why does a high IO rate on an external disk degrade performance of the whole system?

I'm running a variant of Debian (Proxmox Virtual Environment) on my HP server, and I've noticed a strange quirk: while performing a backup to a USB drive (usually around 20 gigabytes worth of data, so ...
user avatar
12 votes
6 answers
2k views

at some time from now do something (and maybe also show result in console)

I use Ubuntu server 16.04 and I desire to use the utility at in my current session to do something 1 minute from now (say, an echo), without giving a specific date and time - just 1 minute ahead from ...
user avatar
  • 1,460
0 votes
1 answer
58 views

start new script if last script is not execute with in minute

I have too many entry in cron tab to run script at every half hour (more than 50 script). At every half hour all script will executed simultaneously so that server load will increase due to starting ...
user avatar
  • 315
1 vote
1 answer
2k views

error: ‘TCP_NODELAY’ was not declared in this scope [closed]

I am trying to compile ChatScipt v7.55 in Ubuntu 16.04. But when I use make server command, I get this error: evserver.cpp: In function ‘int settcpnodelay(int)’: evserver.cpp:263:40: error: ‘...
user avatar
  • 195
1 vote
1 answer
324 views

wireshark packet capture point [closed]

I am using tc qdisc to add delay to packets on my interface eth2 as follows sudo tc qdisc add dev eth2 root netem delay 100ms 10ms 25% Then I pinged a host and got some result. The results on the ...
user avatar
3 votes
1 answer
1k views

Delay some localhost traffic

How to delay some localhost traffic? (the computer is a VM, but hopefully that won't matter) The following creates a new interface and tries to apply tc to it: ifconfig lo:1 127.0.10.10 netmask 255....
user avatar
  • 151
1 vote
1 answer
2k views

Add delay to network interface at boot

I'm currently working on a Raspberry Pi project, running Ubuntu Mate 32 bit, The RPi is going to be at sea and connects to the internet via a 4G router. Via the VPN network, it sends data to another ...
user avatar
1 vote
0 answers
423 views

OpenVPN connection delay, server logs PUSH: Received control message: 'PUSH_REQUEST' multiple times

I'm troubleshooting a connection delay to my OpenVPN server, occurring when my client connects and disconnects a couple of times (2-3 times usually result in the described behaviour). Server/Client-...
user avatar
  • 205
0 votes
1 answer
521 views

Delayed script to boot exagear and skype using RPI3 on debian

I'm using Exagear desktop to run Skype on RPI3 (Raspbian/Debian). I have some naive users also using the system because of which I want to load both of them on boot (maybe delayed startup service). I ...
user avatar
0 votes
1 answer
73 views

How to make modsecurity to punish users by adding a delay when some sql injection are detected

Actually we have a webfirewall (modsecurity) blocking common sql injections on our server. I want to know if there is a way to punish users when they try sql injections on the server, by making ...
user avatar
1 vote
0 answers
227 views

Giving maximum priority to some traffic

I have all my interfaces configured as follows: tc qdisc add dev eth0 root handle 1: htb default 20 tc class add dev eth0 parent 1: classid 1:1 htb rate 10.0Mbit burst 15k tc class add dev eth0 ...
user avatar
0 votes
1 answer
341 views

How do I remove delay in dhclient after DHCPNAK?

After moving to new AP, I restart dhclient to switch to the new network: DHCPREQUEST on <interface> to 255.255.255.255 port 67 DHCPNAK from <new router IP> <delay> DHCPDISCOVER on &...
user avatar
  • 5,176
45 votes
4 answers
82k views

Run command after a certain length of time has elapsed?

If I'm executing a long process, is there any way I can execute some time-based commands? For example, I'm running a really long process which runs for roughly 10 minutes. After 5 minutes, I would ...
user avatar
0 votes
1 answer
53 views

High time until SSH asks for password

I've been noting recently that any host that I ssh to in LAN, waits like 5 seconds before asking for password. ping sometimes also waits, but less(like 2 seconds), but it shows it has resolved the ...
user avatar
  • 685
0 votes
1 answer
94 views

reminder script to remove string from file

I have debian squeeze installed on my box. I have BIRD daemon to route traffic of particular IP. We add IP to bird-route.conf automatically from ruby script if traffic spikes up to specific range. I ...
user avatar
  • 12.5k
2 votes
0 answers
168 views

Mysterious 8 second delay in boot after grub

I have installed Fedora 23 (KDE spin) on an HP Prodesk mini 600 G2. There is one problem I can't quite figure out, though: after grub comes up, and I press enter on any kernel to boot, the screen goes ...
user avatar
3 votes
0 answers
32 views

Limit access/transmit rights on NIC to a single user application

I currently have a RT patched linux machine and I need to have full and undelayed access to my Wired interface card. I am running a realtime non-preemtable user application which sends a couple of ...
user avatar
  • 43
2 votes
1 answer
2k views

Adjusting keyboard delay in a TTY?

When using a TTY login shell by entering e.g. Ctrl-Alt-F1 on Debian Jessie. There is inhuman fast delay, specifically I think these values are correct (250ms) root@VB-NB-Debian:~# kbdrate Typematic ...
user avatar
2 votes
1 answer
4k views

Sending email out at a specific time

I'd like to write emails now and have them go out at some specific time in the future, eg. when the office opens in the morning. What would be a good way to do that ? Most user agents don't support ...
user avatar
0 votes
1 answer
51 views

Relationship between Interface Speed and Processing times

I have a question regarding processing time delays. I want to know: is there a relationship between the rate of data packets received and their processing time at the receiving host, or is the ...
user avatar
0 votes
1 answer
1k views

Password fail delay is too long - Linux Mint 17

The delay after a failed password is very long. In /etc/pam.d/login, FAIL_DELAY is configured as auth optional pam_faildelay.so delay=3000000 however, actual delay is about 12s. This ...
user avatar
  • 1,429
1 vote
1 answer
1k views

Minimize game server delay with iptables

I have a debian 7 server hosted by Google Cloud running a game server and a rails server. The rails server run on port 80 and the game server on port 8000. I want to apply a network rule that allow ...
user avatar
  • 11
1 vote
1 answer
295 views

I WANT procmail to delay one user's e-mail 10 seconds then continue processing

I use procmail. I wrote my own spam filter in procmail (along with many many recipes). I know this is sounds counter-intuitive but I want to intentionally delay one user's e-Mail about 5 or 10 ...
user avatar
9 votes
1 answer
7k views

delay to get password prompt when ssh'ing to a public server

i have a server (debian 7) setup in my university with public ip. when I ssh into the system (from outside the campus), I get a weird delay of 5-10 seconds before I get the password prompt. Why is ...
user avatar
  • 1,408
0 votes
1 answer
381 views

Initial delay in typing

I've noticed after I come back to my newly installed Fedora 20 system, there's a delay in typing. For example, if I have a terminal window open, and I leave it alone for a few minutes and return, ...
user avatar
3 votes
1 answer
10k views

Understand debug messages from sshd [closed]

I'm using OpenSSH_5.8p1 in my machine,I'm connecting my machine using putty client but its slower so I have ran sshd in debug mode and found following messages can any one explain me in detail about ...
user avatar
  • 2,027