千家信息网

pyinotify ERROR] add_watch: cannot watch

发表于:2024-11-18 作者:千家信息网编辑
千家信息网最后更新 2024年11月18日,[2017-11-10 17:14:40,612 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-pack
千家信息网最后更新 2024年11月18日pyinotify ERROR] add_watch: cannot watch

[2017-11-10 17:14:40,612 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/admin/locale/he/LC_MESSAGES/djangojs.mo WD=-1, Errno=No space left on device (ENOSPC)

[2017-11-10 17:14:40,612 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/admin/locale/he/LC_MESSAGES/django.mo WD=-1, Errno=No space left on device (ENOSPC)

[2017-11-10 17:14:40,612 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/admin/locale/sq/LC_MESSAGES/djangojs.mo WD=-1, Errno=No space left on device (ENOSPC)

[2017-11-10 17:14:40,612 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/admin/locale/sq/LC_MESSAGES/django.mo WD=-1, Errno=No space left on device (ENOSPC)

[2017-11-10 17:14:40,612 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/admin/locale/udm/LC_MESSAGES/djangojs.mo WD=-1, Errno=No space left on device (ENOSPC)

[2017-11-10 17:14:40,621 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/admin/locale/udm/LC_MESSAGES/django.mo WD=-1, Errno=No space left on device (ENOSPC)

[2017-11-10 17:14:40,621 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/admin/locale/sr_Latn/LC_MESSAGES/djangojs.mo WD=-1, Errno=No space left on device (ENOSPC)

[2017-11-10 17:14:40,621 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/admin/locale/sr_Latn/LC_MESSAGES/django.mo WD=-1, Errno=No space left on device (ENOSPC)

[2017-11-10 17:14:40,621 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/admin/locale/fy/LC_MESSAGES/djangojs.mo WD=-1, Errno=No space left on device (ENOSPC)

[2017-11-10 17:14:40,621 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/admin/locale/fy/LC_MESSAGES/django.mo WD=-1, Errno=No space left on device (ENOSPC)

[2017-11-10 17:14:40,622 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/admin/locale/af/LC_MESSAGES/djangojs.mo WD=-1, Errno=No space left on device (ENOSPC)

[2017-11-10 17:14:40,622 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/admin/locale/af/LC_MESSAGES/django.mo WD=-1, Errno=No space left on device (ENOSPC)

[2017-11-10 17:14:40,622 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/admin/locale/et/LC_MESSAGES/djangojs.mo WD=-1, Errno=No space left on device (ENOSPC)

[2017-11-10 17:14:40,622 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/admin/locale/et/LC_MESSAGES/django.mo WD=-1, Errno=No space left on device (ENOSPC)

[2017-11-10 17:14:40,622 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/admin/locale/bg/LC_MESSAGES/djangojs.mo WD=-1, Errno=No space left on device (ENOSPC)

[2017-11-10 17:14:40,622 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/admin/locale/bg/LC_MESSAGES/django.mo WD=-1, Errno=No space left on device (ENOSPC)

System check identified no issues (0 silenced).



解决办法:



sysctl fs.inotify.max_user_watches=16384

0