이 패치를 설치한 후 Messaging Server를 설치하려 하면 IMAP, POP 및 HTTP 서버가 시작되지 않고 다음 예와 같은 오류 로그를 보낼 수 있습니다.
http server - log: [29/May/2006:17:44:37 +051800] usg197 httpd[6751]: General Critical: Not enough file descriptors to support 6000 sessions per process; Recommend ulimit -n 12851 or 87 sessions per process. pop server - log: [29/May/2006:17:44:37 +051800] usg197 popd[6749]: General Critical: Not enough file descriptors to support 600 sessions per process; Recommend ulimit -n 2651 or 58 sessions per process. Once these values setting in /opt/sun/messaging/sbin/configutil then imap server failed to start imap server - log: [29/May/2006:17:44:37 +051800] usg197 imapd[6747]: General Critical: Not enough file descriptors to support 4000 sessions per process; Recommend ulimit -n 12851 or 58 sessions per process. |
세 서버 세션 모두에 적절한 수의 파일 설명자를 설정합니다. 다음과 비슷한 행을 /etc/sysctl.conf에 추가하고 sysctl -p를 사용하여 파일을 다시 읽으면 추가 파일 설명자를 사용할 수 있습니다.
fs.file-max = 65536 |
또한 다음과 같은 행을 /etc/security/limits.conf에 추가해야 합니다.
* soft nofile 65536 * hard nofile 65536 |