码迷,mamicode.com
首页 > 其他好文 > 详细

faq

时间:2015-08-12 16:52:25      阅读:239      评论:0      收藏:0      [点我收藏+]

标签:

1.Performing system checks...

System check identified no issues (0 silenced).

January 14, 2015 - 09:39:53
Django version 1.7.2, using settings ‘mysite.settings‘
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

[2015-01-14 09:39:54,347 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/auth/hashers.py WD=-1, Errno=No space left on device (ENOSPC)

[2015-01-14 09:39:54,348 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/test/__init__.py WD=-1, Errno=No space left on device (ENOSPC)


Q:

up vote 1 down vote accepted

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

版权声明:本文为博主原创文章,未经博主允许不得转载。

faq

标签:

原文地址:http://blog.csdn.net/gaga_yan/article/details/47446277

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!