MPS daemon failed to launch when PIPE_DIRECTORY and LOG_DIRECTORY are large

MPS daemon failed to launch when CUDA_MPS_PIPE_DIRECTORY and CUDA_MPS_LOG_DIRECTORY environment variable’s character are more than 87 characters.

I could see server.log, control.log files in the log directory (No error statements in these log files) and control_lock, log files in the pipe directory.

But when I check using ps command, MPS daemon is not launched.

Everything works fine when environment variable’s character is less than or equals 87. So, is there a limitation ?

Configuration:

  1. Nvidia L4 GPUs (Same behavior on A10 as well)
  2. Driver version 535.154.05
  3. CUDA version 12.2