最近在部署推荐系统环境时,遇到一个很奇葩都问题

问题描述:

../anaconda2/lib/python2.7/site-packages/sklearn/externals/joblib/_multiprocessing_helpers.py:38: UserWarning: [Errno 13] Permission denied.  joblib will operate in serial mode
  warnings.warn('%s.  joblib will operate in serial mode' % (e,))
Segmentation fault

没错,发生了段错误,使用gdb 跟踪信息,也没找到,也就是无法使用多进程,只能串行.

解决方案:

ls -ld /dev/shm
sudo chmod 777 /dev/shm

 

转载于:https://www.cnblogs.com/gongxijun/p/11454844.html

最新回复(0)
/jishu4cAo9j5x95y618lIigj6qyNZ30V2yXp_2BuLQ8YA_3D_3D4488305
8