作者girl5566 (5566520)
看板Python
標題[問題] pyinotify 錯誤求解
時間Sun Apr 10 17:17:23 2016
raise OSError(err % self._inotify_wrapper.str_errno())
OSError: Cannot initialize new instance of inotify, Errno=Too many open files
(EMFILE)
我將pyinotify放入crontab之後,過了幾天好像就產生這種錯誤
請問一下在不重開機的狀況下 有沒有什麼解法?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.195.222.114
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1460279845.A.45A.html
※ 編輯: girl5566 (123.195.222.114), 04/10/2016 17:17:45
→ uranusjr: 呼叫乩童觀落陰 04/10 19:31
→ billy0131: 開了太多檔了,使用完的inotify instance有close? 04/10 22:45
→ girl5566: 沒有close 請問還有辦法關閉嘛? 04/14 19:07