Questions tagged [signals]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
63 views

Logging Linux processes which exit because of a signal?

While running FreeBSD a long time ago, there was a default feature which logged when a process received one of the fatal signals, like SIGSEGV, SIGBUS, SIGKILL, etc. and was terminated because of that....
0
votes
1answer
41 views

Process inside docker container not receiving signals?

I have a process in a docker container that is supposed to log a thread dump (on stdout) when shut down. However when docker stop is called on it, no output happens. It seems that either the process ...
3
votes
1answer
542 views

Ctrl+C no longer working to get a new blank line in bash

I have been using Ctrl+C on most terminals to easily cancel the line I was writing and open the way for a new line. (I'm not talking about killing a running bash script, but just opening a new blank ...
20
votes
2answers
2k views

Configure buggy systemd service to terminate via SIGKILL

Background I've been asked to create a systemd script for a new service, foo_daemon, that sometimes gets into a "bad state", and won't die via SIGTERM (likely due to custom signal handler). This is ...
0
votes
1answer
1k views

ssh remote command: Killed by signal 15

script: #!/usr/bin/env bash set -e set -u set -x set -o pipefail hosts=( host1 host2 ) for host in ${hosts[@]} do ssh $host 'pids=$(ps -aux|pgrep -f "/usr/bin/nmon"); kill $pids; wait $...
-1
votes
1answer
2k views

whats the difference between sigkill and sigabrt? [closed]

The other day I experienced a halt in my python application with sigabrt, but I knew that the init should send a sigkill signal. I'm curious what's the difference between them, if any? Can someone ...
1
vote
0answers
55 views

Server keep restarting after reaching 'starting web server'

Recently one of our server failed and wont start services. I looked over the /var/log/messages and found this: Dec 27 00:53:48 localhost apcupsd[3413]: apcupsd FATAL ERROR in linux-usb.c at line 609 ...
1
vote
0answers
776 views

How to write a bash script that traps SIGTERM and kills the process and all sub-processes immediately

I have this script: #!/bin/bash set -e #WHAT SHOULD I WRITE HERE? sleep 60 # this is for testing #java ... | logger # this is what will be in the real script I want to be able to kill myscript and ...
1
vote
2answers
1k views

Apache Kafka 0.8.1.1 clean shutdown not working

I have a: single instance of Apache Kafka (2.9.2-0.8.1.1) installed from the source, using the default configuration (server.properties etc.), Zookeeper (3.4.5+dfsg-2) stand-alone, installed from the ...
0
votes
1answer
222 views

ubuntu upstart never killing my process

I have a simple bash script: echo "Starting" function sigint { echo "sigint" } function sigterm { echo "sigterm" } trap sigterm SIGTERM trap sigint SIGINT while true do sleep 2 echo "-" ...
1
vote
0answers
317 views

Linux: Process ignores signals

Processes running in Linux ignores signals (INT,QUIT,TERM) except KILL. Programs such as top, tail -f, sleep and etc, do not respond when pressing Ctrl+C and thus have to stop them from another ...
0
votes
0answers
89 views

Ctrl-C is ignored by pppd when put in a shell script

I'm trying to connect to GPRS network through a serial port connected GSM modem. When I call /usr/sbin/pppd call <peer_name> from the command line, It correctly receives and handles Ctrl+C from ...
0
votes
1answer
237 views

Logging violations of rules in limits.conf

I am trying to log the details of the programs that where failed due to the limit cap defined in the limits.conf. My initial plan was to do it using the audit system. The idea was to track the system ...
13
votes
2answers
6k views

Wireless link frequency choice (900Mhz vs 5.8Ghz) for 2-3km distance

I have recently been contracted by a client of mine to facilitate the wireless communication of his "home" offices and a secondary site. The primary site is the top two floors of a 5-story office ...
8
votes
2answers
19k views

Industry standard for minimum Wifi signal strength?

Is there an industry standard for how strong a Wifi signal needs to be in order to have a reliable connection? For example, maybe Wifi endpoints are designed to the specification that they connect ...
-2
votes
1answer
951 views

How to mask out wireless by blocking a neighboring WiFi Access Point [closed]

I surely hope this question is not a duplicate of another; I had difficulty finding a cut and dry solution for this on my own, so I thought I might have some luck sharing it with the Hive Mind of ...
2
votes
2answers
2k views

kill -HUP is not working with celery daemon

So I have a shell script that daemonizes celery, and creates a bunch of workers running as a daemon. I would like to have a way to restart the celery task when the underlying source gets changed since ...
-1
votes
1answer
104 views

Wifi Signal Strengths [closed]

I hope that I have asked this question in the right topic. Basically I use BT (In the U.K.) and I have problems with my router receiving a weak signal in certain rooms of the house, which, therefore ...
6
votes
1answer
349 views

Is it generally safe to use SIGCONT on processes?

I have a many daemon processes that sometimes get hung up during a db transaction, thus blocking other queries ( and causing general havoc ) In order to debug, I've added some code in the daemon ...
4
votes
3answers
4k views

What does the Ubiquiti Bullet do?

I was briefly shown the networking setup for a rural hospital campus. Some of the things I was told or shown are: There is an 802.11b signal, broadcast over an omnidirectional antenna on a tower. ...
1
vote
0answers
341 views

Unexpected jBoss crash and auditing signals

We're experiencing unexpected JBoss crashes on a semi-regular basis. JBoss 5 is running on RHEL6 in this case. I believe this is related to a sigusr1 sent to the JBoss process. The JBoss server logs ...
3
votes
2answers
1k views

Modifiying parameters in postgresql.conf and SIGHUP

I modified the parameter maintenance_work_mem in postgresql.conf in my production environment. I'd like to know if I send a SIGHUP to the postgres process it will reload that variable, and if it's ...
3
votes
1answer
625 views

transparent signals over ssh

By transparently I mean forwarding of: stdin, stdout and stderr standard signals (SIGHUP or SIGINT would be great for a start) As an example, consider these invocations of a (pointless) local and ...
0
votes
2answers
1k views

Unicorn retains same PID when receives USR2?

So, I've been playing with a unicorn deployment on my personal server. There are a variety of reasons behind this - one of them being that I didn't particularly want to have to compile my own version ...
0
votes
2answers
3k views

Process that sent SIGKILL

I have a series of scripts that are being killed ($? says exit code is 137, which implies a kill -9 scenario). I need to know what process killed them. Is there a way to find out this information?
17
votes
4answers
15k views

I get Killed by signal 15. when I'm using svn

I'm using svn+ssh and I see a number of: Killed by signal 15. during a svn up. Any ideas way?
20
votes
4answers
11k views

Do background processes get a SIGHUP when logging off?

This is a followup to this question. I've run some more tests; looks like it really doesn't matter if this is done at the physical console or via SSH, neither does this happen only with SCP; I also ...
13
votes
3answers
8k views

How to find out the source of a POSIX signal

Is there a way to find out the origin of a signal sent in Red Hat Enterprise Linux 5 (SIGTERM etc.)? I'm regularly trapping a TERM in an application and I have no idea where it is coming from.
3
votes
7answers
663 views

Wireless network signal strength troubleshooting… where to start?

Here is the information displayed by the wireless router (see end of post). The problem is that my netbook does not get any signals from the router if moved more than 3 feet (yup, three feet) away ...
0
votes
2answers
1k views

PostgreSQL processes and the signals to which they respond

For PostgreSQL 8.3 and later, what are the processes that make up the server and that respond to a query? What signals do the various processes respond to and what effect do the signals have? What ...
0
votes
2answers
232 views

How can I use symbolic signals in an at job?

In this answer on SO, I gave an example that should have used a -SIGCONT signal in a job submitted to at. However, I found that the process that I had stopped with -SIGSTOP did not continue. When I ...