# Process not running with MPS

**URL:** <https://forums.developer.nvidia.com/t/process-not-running-with-mps/278602>\
**Category:** CUDA Programming and Performance\
**Created:** [January 11, 2024, 8:33am UTC](https://forums.developer.nvidia.com/t/process-not-running-with-mps/278602 "2024-01-11T08:33:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![handewo](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@handewo](https://forums.developer.nvidia.com/u/handewo)\
**Post date:** [January 11, 2024, 8:33am UTC](https://forums.developer.nvidia.com/t/process-not-running-with-mps/278602/1 "2024-01-11T08:33:06Z")

</div>

Why process not running with MPS?

**I enabled MPS using these command**

```bash
export CUDA_VISIBLE_DEVICES=7
nvidia-smi -i 7 -c EXCLUSIVE_PROCESS
nvidia-cuda-mps-control -d

```

I run my program successfully at first time.

 ![image](https://global.discourse-cdn.com/nvidia/original/4X/2/8/d/28d37199d2a65e77e9b0f21ba82899f78f5b1f1a.png)

but at second,third time the program just hang on, it’s not work like below  
it seems like the GPU doesn’t schedule the process.

 ![image](https://global.discourse-cdn.com/nvidia/original/4X/8/9/1/891e41b8a50f30ff8d50cd087366e1c9e1dea4e6.png)

The issue will be solved when I resart nvidia-cuda-mps-server,but again it’s not work after I run my program multiple times.

Is it a bug?
