Linked Questions

1 vote
0 answers
116 views

linux process with status 'D' mean TASK_UNINTERRUPTIBLE, so I write a programer to test it on Ubuntu 16.04 My code: #include <unistd.h> #include <iostream> using namespace std; int ...
Liu Tom's user avatar
  • 397
59 votes
6 answers
69k views

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 sleep"...
Tilo Prütz's user avatar
  • 1,822
38 votes
2 answers
87k views

I have an issue with some processes stuck in a D state on Ubuntu 10.04.3 LTS. They have been in this state since Nov the 5th (today being December 6th). I understand these are uninterruptible sleep ...
Dr Craig's user avatar
  • 401
4 votes
3 answers
5k views

I've been reading about EINTR on write(2) etc, and trying to determine whether I need to check for it in my program. As a sanity check, I tried to write a program that would run into it. The program ...
Rodrigo Queiro's user avatar
7 votes
1 answer
9k views

I have an daemon running on Debain on Arm. Sometimes this daemon hangs/is not responding anymore. When looking at the process with "ps ax" the stat column is "Dl" which means "uninterruptible sleep (...
ElkeAusBerlin's user avatar
5 votes
1 answer
3k views

It seems like TASK_KILLABLE should be a subset of TASK_INTERRUPTIBLE, since killing a task is one way of, um, interrupting it; however, according to sched.h here and here it looks like TASK_KILLABLE ...
benf's user avatar
  • 1,025
5 votes
2 answers
2k views

When we call read(fd, buf, count) on Linux, can the return value of the system (function) call be less than count other than the scenario where there were fewer bytes to the end-of-file? I looked it ...
pthreadself's user avatar
1 vote
2 answers
5k views

I need to know if some thread already terminated (if it's not, I must wait for it). If I call pthread_join() on terminated thread, it always returns success in my version of glibc. But documentation ...
Zhenya4880's user avatar
0 votes
2 answers
2k views

I try to kill process by using command "kill -9 pid", but can not succeed. Anybody know how could I kill such process and why I can't kill it ?
zjffdu's user avatar
  • 29.7k
0 votes
1 answer
2k views

I expected that a linux process waiting for I/O resource should be in "D" state, so I tested: $cat testD.cpp #include<assert.h> #include<stdlib.h> #include<stdio.h> #include<...
Hind Forsum's user avatar
  • 10.7k
5 votes
1 answer
2k views

Given CentOS 6.3 box (2.6.32). I compile sources in the Linux. The source tree is located on Windows 7 box, which is CIFS mounted. Everything was ok, till recently compilation time started to grow ...
dimba's user avatar
  • 27.9k
1 vote
1 answer
1k views

stat() system call is taking long time when I am trying to do a stat on a file which is corrupted. Magic number is corrupted. I have a print after this call in my source code which is getting printed ...
Abhinand Pl's user avatar
0 votes
1 answer
787 views

I'm using C++11 to develop a project. In some function, I got some parallel tasks as below: void func() { auto res1 = task1(); auto res2 = task2(); auto res3 = task3(); ... std::...
Yves's user avatar
  • 12.6k
2 votes
1 answer
345 views

As we know that exec family function calls eventually calls execve() which is a system call and remaining are library functions. So, typically, whatever implications applies on execve() are true for ...
theartist33's user avatar
1 vote
0 answers
289 views

I'm having troubles using a Python API which is causing un-killable processses. I use one process per API execution. This works well if the API is able to work correctly. However, when the API fails ...
DTake's user avatar
  • 113

15 30 50 per page