当前位置:   article > 正文

Django 运行错误no enough space left on disk_not enough space left

not enough space left

最近初学Django,以前也没学过python,然后运行的时候提示出错:

no enough space left on disk

于是我先检查自己partition disk的空间,

命令df

发现自己还是有剩余的可用空间;

最后在百度查找问题时,得到了解决:

 

You may have reached your quota of watches.

To find your current limit, type this in your terminal:

cat /proc/sys/fs/inotify/max_user_watches

Which is typically 8192 by default.

To increase your limit, type this:

sudo sysctl fs.inotify.max_user_watches=16384

Then restart django.

To permanently set this limit, type this:

echo 16384 | sudo tee -a /proc/sys/fs/inotify/max_user_watches

本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/298871
推荐阅读
相关标签
  

闽ICP备14008679号