0
我正在運行帶有Mailman的CentOS6。通過Plesk從舊服務器導入舊郵遞員列表。目前我遇到了幾個錯誤。 Python的安裝版本是2.7.8。已經修復了其中的一些,但並非全部。 已經修改/etc/security/limits.conf文件:GNU Mailman:太多打開的文件/無模塊
* hard nofile 65535
* soft nofile 65535
* hard locks 65535
* soft locks 65535
* soft default_process_limit = 10
錯誤日誌中還顯示以下內容:
Dec 22 04:06:43 2014 qrunner(1042): Traceback (most recent call last):
Dec 22 04:06:43 2014 qrunner(1042): File "/usr/lib/mailman/bin/qrunner", line 278, in <module>
Dec 22 04:06:43 2014 qrunner(1042): File "/usr/lib/mailman/bin/qrunner", line 238, in main
Dec 22 04:06:43 2014 qrunner(1042): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 71, in run
Dec 22 04:06:43 2014 qrunner(1042): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 95, in _oneloop
Dec 22 04:06:43 2014 qrunner(1042): File "/usr/lib/mailman/Mailman/Queue/Switchboard.py", line 194, in files
Dec 22 04:06:43 2014 qrunner(1042): OSError : [Errno 23] Too many open files in system: '/var/spool/mailman/in'
Dec 22 04:06:43 2014 qrunner(1039): Traceback (most recent call last):
Dec 22 04:06:43 2014 qrunner(1039): File "/usr/lib/mailman/bin/qrunner", line 278, in <module>
Dec 22 04:06:43 2014 qrunner(1039): File "/usr/lib/mailman/bin/qrunner", line 238, in main
Dec 22 04:06:43 2014 qrunner(1039): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 71, in run
Dec 22 04:06:43 2014 qrunner(1039): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 95, in _oneloop
Dec 22 04:06:43 2014 qrunner(1039): File "/usr/lib/mailman/Mailman/Queue/Switchboard.py", line 194, in files
Dec 22 04:06:43 2014 qrunner(1039): OSError : [Errno 23] Too many open files in system: '/var/spool/mailman/archive'
Dec 22 04:06:43 2014 qrunner(1044): Traceback (most recent call last):
Dec 22 04:06:43 2014 qrunner(1044): File "/usr/lib/mailman/bin/qrunner", line 278, in <module>
Dec 22 04:06:43 2014 qrunner(1044): File "/usr/lib/mailman/bin/qrunner", line 238, in main
Dec 22 04:06:43 2014 qrunner(1044): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 71, in run
Dec 22 04:06:43 2014 qrunner(1044): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 95, in _oneloop
Dec 22 04:06:43 2014 qrunner(1044): File "/usr/lib/mailman/Mailman/Queue/Switchboard.py", line 194, in files
Dec 22 04:06:43 2014 qrunner(1044): OSError : [Errno 23] Too many open files in system: '/var/spool/mailman/out'
Dec 22 04:06:43 2014 qrunner(1045): Traceback (most recent call last):
Dec 22 04:06:43 2014 qrunner(1045): File "/usr/lib/mailman/bin/qrunner", line 278, in <module>
Dec 22 04:06:43 2014 qrunner(1045): File "/usr/lib/mailman/bin/qrunner", line 238, in main
Dec 22 04:06:43 2014 qrunner(1045): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 71, in run
Dec 22 04:06:43 2014 qrunner(1045): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 95, in _oneloop
Dec 22 04:06:43 2014 qrunner(1045): File "/usr/lib/mailman/Mailman/Queue/Switchboard.py", line 194, in files
Dec 22 04:06:43 2014 qrunner(1045): OSError : [Errno 23] Too many open files in system: '/var/spool/mailman/virgin'
Dec 22 04:06:43 2014 qrunner(1040): Traceback (most recent call last):
Dec 22 04:06:43 2014 qrunner(1040): File "/usr/lib/mailman/bin/qrunner", line 278, in <module>
Dec 22 04:06:43 2014 qrunner(1040): File "/usr/lib/mailman/bin/qrunner", line 238, in main
Dec 22 04:06:43 2014 qrunner(1040): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 71, in run
Dec 22 04:06:43 2014 qrunner(1040): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 95, in _oneloop
Dec 22 04:06:43 2014 qrunner(1040): File "/usr/lib/mailman/Mailman/Queue/Switchboard.py", line 194, in files
Dec 22 04:06:43 2014 qrunner(1040): OSError : [Errno 23] Too many open files in system: '/var/spool/mailman/bounces'
Dec 22 04:06:43 2014 qrunner(1043): Traceback (most recent call last):
Dec 22 04:06:43 2014 qrunner(1043): File "/usr/lib/mailman/bin/qrunner", line 278, in <module>
Dec 22 04:06:43 2014 qrunner(1043): File "/usr/lib/mailman/bin/qrunner", line 238, in main
Dec 22 04:06:43 2014 qrunner(1043): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 71, in run
Dec 22 04:06:43 2014 qrunner(1043): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 95, in _oneloop
Dec 22 04:06:43 2014 qrunner(1043): File "/usr/lib/mailman/Mailman/Queue/Switchboard.py", line 194, in files
Dec 22 04:06:43 2014 qrunner(1043): OSError : [Errno 23] Too many open files in system: '/var/spool/mailman/news'
Dec 22 04:06:43 2014 qrunner(1041): Traceback (most recent call last):
Dec 22 04:06:43 2014 qrunner(1041): File "/usr/lib/mailman/bin/qrunner", line 278, in <module>
Dec 22 04:06:43 2014 qrunner(1041): File "/usr/lib/mailman/bin/qrunner", line 238, in main
Dec 22 04:06:43 2014 qrunner(1041): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 71, in run
Dec 22 04:06:43 2014 qrunner(1041): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 95, in _oneloop
Dec 22 04:06:43 2014 qrunner(1041): File "/usr/lib/mailman/Mailman/Queue/Switchboard.py", line 194, in files
Dec 22 04:06:43 2014 qrunner(1041): OSError : [Errno 23] Too many open files in system: '/var/spool/mailman/commands'
Dec 22 04:06:44 2014 qrunner(8563): Cannot import runner module Mailman.Queue.NewsRunner
Dec 22 04:06:44 2014 qrunner(8563): /usr/lib64/python2.6/lib-dynload/datetime.so: cannot open shared object file: Too many open files in system
Dec 22 04:06:44 2014 qrunner(8569): Cannot import runner module Mailman.Queue.ArchRunner
Dec 22 04:06:44 2014 qrunner(8569): cannot import name Header
Dec 22 04:06:44 2014 qrunner(8565): Cannot import runner module Mailman.Queue.CommandRunner
Dec 22 04:06:44 2014 qrunner(8565): No module named nonmultipart
我沒有以這種方式修改sysctl,但增加了文件最大已經到262144.所以這已經修復。 –