sigkill Questions
6
I am running Airflowv1.10.15 on Cloud Composer v1.16.16.
My DAG looks like this :
from datetime import datetime, timedelta
# imports
from airflow import DAG
from airflow.operators.python_operator ...
Barrault asked 18/9, 2021 at 5:15
3
Solved
When I double tap the home button and quit out of my app from the multitasking bar and open the app again, Xcode reads: "Thread 1: program received signal: SIGKILL" and freezes my iPod. The app has...
Segmental asked 4/7, 2011 at 2:23
2
Solved
Case: we have a docker container that runs a bash script that needs to "block" forever (because it exposes a volume for another container, but there are other reasons why we sometimes want this).
...
0
I am having trouble running my celery task. It is a flask-based application, and the error occurs when the task attempts to run a torch model.
objc[77662]: +[NSCheapMutableString initialize] may ha...
1
How should look the Linux command to send terminate signal to the process/PID and if it fails to exit gracefully after 10 seconds kill it?
My attempt is: "sudo timeout -vk 5 10 kill PIDhere&qu...
Tonsillectomy asked 23/2, 2022 at 12:38
6
Solved
How do you handle clean up when the program receives a kill signal?
For instance, there is an application I connect to that wants any third party app (my app) to send a finish command when loggin...
8
Solved
I have a program spawning and communicating with CPU heavy, unstable processes, not created by me. If my app crashes or is killed by SIGKILL, I want the subprocesses to get killed as well, so the u...
Kobarid asked 10/12, 2009 at 23:46
1
Solved
I'm writing a monitor service in Python that monitors another service and while the monitor & scheduling part works fine, I have a hard time figuring out how to do a proper shutdown of the serv...
3
Solved
I am running a Python program service_host.py, which started multiple processes. And when I use ps -ef | grep python
to check the pids, it shows a lot:
congmin 26968 22897 0 Jun20 ? 00:00:00 python...
Spectacular asked 29/6, 2020 at 23:27
6
Solved
I have a VirtualBox process hanging around which I tried to kill (KILL/ABORT) but without success. The parent pid is 1 (init).
top shows the process as D which is documented as "uninterruptible sl...
Filagree asked 20/4, 2009 at 9:29
1
Solved
I was trying to catch SIGTERM signal from a docker instance (basically when docker stop is called) but couldn't find a way since I have different results for each try I performed.
Following is the...
Hamblin asked 29/12, 2019 at 17:30
3
Solved
I have written a test script which runs another script to start the server to test. When the tests have completed a SIGKILL message is sent to the server process, however when running the test scri...
Ot asked 25/10, 2015 at 1:45
1
Solved
Is there a way to sigterm a process with a timeout? If the process does not gracefully terminate within 30 minutes, the process should get sigkill. Ideally, this graceful shutdown should be execute...
6
I developed a C application in linux that contains an infinite loop while(1).
There are some pointers that are dynamically allocated and are useful under the infinite loop, so the only time to deal...
Anselmi asked 24/10, 2017 at 10:30
3
Are there any cases where an application running on Linux, which has not blocked signal SIGKILL, will not get killed on firing SIGKILL signal?
2
I am writing a program where i am creating multiple threads in a process.
I need to handle that if the process is killed externally by someone by using kill -9 signal or Ctrl + C, my program shoul...
Bolitho asked 23/12, 2016 at 14:18
2
Solved
I am using Shared Memory in a Client-Server Model.
When my Server gets killed off by the user by using sigkill instead of sigterm / sigint I can't do anything about it (as intended), but my Shared ...
Reynaud asked 10/1, 2016 at 17:47
2
Solved
I was wondering if there was any way to catch the sigkill from the OOM killer. I have a task queue, and every so often a mammoth task is created that is killed by OOM. This:
catch Exception as ex:...
1
Solved
I'm currently working on an image dataset (250 000 images, so just as much as features vectors, everyone of them composed of 132 features) and trying to use the KMeans function provided by sklearn....
Martino asked 19/5, 2015 at 9:28
1
Solved
Update Again
I have tried to create some simple way to reproduce this, but have not been successful.
So far, I have tried various simple array allocations and manipulations, but they all throw an...
Pigmentation asked 28/7, 2014 at 17:10
1
Solved
I've an app which initially creates static config files (once) and after files were written I need to reinitialize/restart the application.
Is there something to restart a node.js app from itself?
...
Plasm asked 10/7, 2014 at 2:45
1
Solved
I made program in Go that kills a process with syscall.Kill()
But if I daeminze that process with fork() + setsid() then syscall.Kill() does not kill that process.
If I use shell kill then I...
2
Solved
How can I close a socket just before die?
I have a service on linux that create a TCP server. Sometimes I have to restart it and I want that the socket is really closed. At the moment it hangs.
I a...
1
Solved
2
Solved
I was just testing kill switch flags with a sleeping process.
First i tried killed it with -15
xtechkid@ubuntu:~/Desktop/expermiments$ ps cax | grep 10005
10005 pts/2 S+ 0:00 sh
xtechkid@ubunt...
Abreast asked 6/10, 2013 at 6:34
1 Next >
© 2022 - 2024 — McMap. All rights reserved.