311 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
96
views
Understanding behavior of DBus with respect to killing the process that used DBus to register a name
Take this simple program in Haskell
{-# LANGUAGE OverloadedStrings #-}
import Control.Exception (finally)
import Control.Monad (forever)
import Xmobar (tenthSeconds)
import DBus.Client
startServer' :...
0
votes
0
answers
133
views
Selenium chromedriver not working in AWS EKS but works fine locally
I am scraping data from many web pages. I am processing the web pages in batches. It works fine when I run it locally as devcontainer in vscode, but when I run it in AWS EKS as a job, its processing ...
1
vote
0
answers
2k
views
Detected Zombie job error for using python threads
I'm an absolute beginner at using Airflow and have recently been working on an ETL project. I've encountered the following error:
[2024年05月21日, 13:59:50 UTC] {task_context_logger.py:104} ERROR - ...
0
votes
0
answers
150
views
How to handle zombie processes?
When I use the method of java.lang.Process to execute a command, if there is an unexpected situation, such as executing 'cd /tmp/git && git clone xxxx', the parent directory is deleted, and ...
1
vote
0
answers
214
views
How can a zombie process hold resources?
Wikipedia states the following on zombie processes:
However, zombies can also hold buffers open, consuming memory. Zombies can hold handles to file descriptors, which prevents the space for those ...
0
votes
0
answers
91
views
Why does a zombie process consume a large amount of CPU resources?
pcm-memory was found to become a zombie process in the system, consuming a significant amount of CPU resources. At the same time, the time field in top will become abnormal: this machine only has a ...
1
vote
1
answer
575
views
Many zombie processes and they are all mongosh from Docker
Logging into my Linux server which hosts many Docker containers, I saw a warning that "There are 320 zombie processes." That seems bad! You can see which processes are involved using:
ps axo ...
0
votes
0
answers
303
views
How to deal with zombie processes whose threads are still running
I was training a deep learning model, but an exception related to cuDNN occurred. I wanted to terminate the process through kill -9 PID, but found that the process status changed to Zombie. It may be ...
1
vote
1
answer
64
views
Parent Process exit when using sigaction(SIGCHLD, &sigchld_action, NULL)
I am learning how sigaction SIGCHLD handles zombie process.
My expectation is child process sleep for 5-30 seconds (based on random number), parent process sleep for 30 seconds.
But it's weird that ...
2
votes
0
answers
57
views
R zombie processes
Is there a way to safely remove/stop/shut down those R processes? Using doParallel package
I'm always calling stopImplicitCluster() but apparantly it doesn't affect.
Thanks in advance!
3
votes
2
answers
992
views
Why is the child process a zombie after kill() it [duplicate]
I have a multi-processes program. To briefly illustrate the problem, the child process will be only blocked and the main process judge whether the child process still exists, if exists the parent
...
0
votes
1
answer
1k
views
Why am I seeing ZombieProcess exceptions when running Python tests with nox on MacOS?
I'm running Python tests with nox for the first time, and although the tests appear to be passing I'm consistently seeing the following (this has nothing to do with boto3, it's happening on all my ...
1
vote
1
answer
951
views
Are zombie processes picked up by init eventually or not?
I am reading book The Linux Programming Interface, I see the following 2 paragraphs about zombie process sort of conflicting:
When the parent does perform a wait(), the kernel removes the zombie,
...
0
votes
0
answers
210
views
Background Cronjobs are turning into Zombie processes
I have 60 cronjobs scheduled to be run after reboot as background jobs as mentioned below:
@reboot sleep 900 && /home/creta/Scripts/N1/./N1_Docs.sh > /dev/null 2> /home/creta/Scripts/N1/...
0
votes
0
answers
159
views
Can I reap child processes with a detached thread?
I have a scenario like this. Specifically on linux platforms with C++ code.
We develop code and APIs for the child process, which is then integrated with several parent applications.
Here's a snippet ...