Sponsored Content
Top Forums UNIX for Advanced & Expert Users When a process will go to 'D' state? Post 302538932 by Corona688 on Thursday 14th of July 2011 02:04:15 PM
Old 07-14-2011
D means device driver. The process is suspended while it waits for a system call of some sort to finish, often a read() or write(). It's unkillable in this state.

lockd is part of the kernel, not truly a process. I think it's part of the kernel system that handles nfs. The message about lockd you see is related to NFS problems.

Maybe this will help you:

Debian User Forums • View topic - kernel: lockd: cannot monitor

Anyway, NFS is a very elderly protocol by now and has a few unsolvable flaws, you might consider alternatives like CIFS.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Process State

If your process makes a system call, then while the system call code is being run in the kernel, is your process READY, RUNNING or BLOCKED? (1 Reply)
Discussion started by: ianlow
1 Replies

2. UNIX for Dummies Questions & Answers

child process state

Hi all, I have one requirement,I have two shell programs one is parent and the other one is child . from parent script i need to execute/trigger/call child script as background job. my requirement is after calling child script i want the child process information i.e PID of child weather it is... (8 Replies)
Discussion started by: smreddy
8 Replies

3. Shell Programming and Scripting

Unix script (sh): state of ftp process

Hi guys, I'm writing a script in which I have to get file from a remote host by ftp. The problem is that the remote machine could be very slow, not connected or ok. To resolve this problem, I write this: echo "verbose on" > ftprap.cmd echo "prompt " >> ftprap.cmd echo "ascii"... (3 Replies)
Discussion started by: egiz81
3 Replies

4. UNIX for Advanced & Expert Users

retrieve process state programatically

Assume I spawn a process on (csh) command line, like > du -a / >& /dev/null & which creates a process with id 1234. Now, I can suspend/resume that process with > kill -STOP 1234 > kill -CONT 1234 and can query the process state via 'jobs' or 'ps. How can I though query that state... (6 Replies)
Discussion started by: Andre_Merzky
6 Replies

5. Red Hat

How to Force KILL State -D Process/PID?

Hi Expert, I am not able to kill certain user process as root. I have tried using: pkill -u uname skill KILL -u uname kill -9 PID *** I have not using killall yet, since this server has more than 100 users online atm. PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND... (1 Reply)
Discussion started by: regmaster
1 Replies

6. Shell Programming and Scripting

Script to Kill process which is in hang state

Hi, Can anyone help to create a script that will kill the process which is in hang state. (1 Reply)
Discussion started by: A.Santhosh
1 Replies

7. Shell Programming and Scripting

Problem with a script for checking the state of a process

Hello Everyone, I have a process that should be always running. Unfortunately, this process is getting down almost every 10 minutes. I want to make a script that verify the state of this process: If the process is up, the script shouldn't do nothing and if it's down he should run it. Can... (3 Replies)
Discussion started by: adilyos
3 Replies

8. BSD

Process remians in Running state causing other similar process to sleep and results to system hang

Hi Experts, I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state. On doing cat /proc/<pid>wchan showing the "__init_begin" in the output. Can you please help me here... (0 Replies)
Discussion started by: naveeng
0 Replies

9. UNIX for Advanced & Expert Users

Process remians in Running state causing other similar process to sleep and results to system hang

Hi Experts, I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state. On doing cat /proc/<pid>wchan showing the "__init_begin" in the output. Can you please help me here... (1 Reply)
Discussion started by: naveeng
1 Replies

10. UNIX for Advanced & Expert Users

Process remians in Running state causing other similar process to sleep and results to system hang

Hi Experts, I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state. On doing cat /proc/<pid>wchan showing the "__init_begin" in the output. Can you please help me here... (6 Replies)
Discussion started by: naveeng
6 Replies
NBD-CLIENT(8)															     NBD-CLIENT(8)

NAME
nbd-client - connect to a server running nbd-server(1), to use its exported block device SYNOPSIS
nbd-client [ bs=blocksize ] [ timeout=seconds ] host port nbd-device [ -sdp ] [ -swap ] [ -persist ] [ -nofork ] nbd-client -d nbd-device nbd-client -c nbd-device DESCRIPTION
With nbd-client, you can connect to a server running nbd-server, thus using raw diskspace from that server as a blockdevice on the local client. To do this, support from the Linux Kernel is necessary, in the form of the Network Block Device (NBD). When you have that, either in the kernel, or as a module, you can connect to an NBD server and use its exported file through a block special file with major mode 43. OPTIONS
The following options are supported: bs=blocksize Use a blocksize of "blocksize". Default is 1024; allowed values are either 512, 1024, 2048 or 4096 host The hostname of the machine running nbd-server. timeout=seconds Set the connection timeout to "seconds". For this to work, you need a kernel with support for the NBD_SET_TIMEOUT ioctl; this was introduced into Linus' tree on 2007-10-11, and will be part of kernel 2.6.24. port The TCP port on which nbd-server is running at the server. nbd-device The block special file this nbd-client should connect to. -c Check whether the specified nbd device is connected. If the device is connected, nbd-client will exit with an exit state of 0 and print the PID of the nbd-client instance that connected it to stdout. If the device is not connected or does not exist (for example because the nbd module was not loaded), nbd-client will exit with an exit state of 1 and not print anything on stdout. If an error occurred, nbd-client will exit with an exit state of 2, and not print anything on stdout either. -d Disconnect the specified nbd device from the server -persist When this option is specified, nbd-client will immediately try to reconnect an nbd device if the connection ever drops unexpectedly due to a lost server or something similar. -sdp Connect to the server using the Socket Direct Protocol (SDP), rather than IP. See nbd-server(1) for details. -swap Specifies that this NBD device will be used as swapspace. This option attempts to prevent deadlocks by performing mlockall() at an appropriate time. It does not however guarantee that such deadlocks can be avoided. -nofork Specifies that the NBD client should not detach and daemonize itself. This is mostly useful for debugging. EXAMPLES
Some examples of nbd-client usage: o To connect to a server running on port 2000 at host "server.domain.com", using the client's block special file "/dev/nb0": nbd-client server.domain.com 2000 /dev/nb0 o To connect to a server running on port 2001 at host "swapserver.domain.com", using the client's block special file "/dev/nb1", for swap purposes: nbd-client swapserver.domain.com 2001 /dev/nb1 -swap o To disconnect the above connection again (after making sure the block special file is not in use anymore): nbd-client -d /dev/nb1 SEE ALSO
nbd-server (1). AUTHOR
The NBD kernel module and the NBD tools have been written by Pavel Macheck (pavel@ucw.cz). The kernel module is now maintained by Paul Clements (Paul.Clements@steeleye.com), while the userland tools are maintained by Wouter Ver- helst (wouter@debian.org) This manual page was written by Wouter Verhelst (<wouter@debian.org>) for the Debian GNU/Linux system (but may be used by others). Permis- sion is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. 26 May 2009 NBD-CLIENT(8)
All times are GMT -4. The time now is 11:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy