Domain(s) Showing Open and then Closed on MTA status screen, 820A errors in MTA logs

  • 3911387
  • 07-Oct-2007
  • 15-Jun-2012

Environment

Products:
Novell GroupWise 7 (Linux based)
Novell GroupWise 8
Novell GroupWise Message Transfer Agent
Novell GroupWise Post Office Agent
Novell Open Enterprise Server (Linux based)
Novell SUSE Linux Enterprise Server 9
Novell SUSE Linux Enterprise Server 10

Situation

Symptoms:
Error in /var/log/messages: kernel: open file rlimit 1024 reached for the uid X pid Y
Error: "HH:MM:SS <thread_number> RTR: <Domain_Name>: <message_ID>: Write Failed: /<volume>/<domain_dir>/mslocal/mshold/<hold_dir>/4/<file_name>
Error in MTA log file: "HH:MM:SS <thread_number> RTR: Error routing "" [820A]
Error in MTA log file: "HH:MM:SS <thread_number> RTR: Error routing <msg_ID>" [820A]
Last Closure Reason for the domain is "Cannot write files"
Domain MTA: SCA: Dom: I/O error while scanning input queue
Domain MTA: TCP/IP: Closed for inbound traffic
Error 820A on exiting MTA run with GUI
Domain MTA shows the domain being closed and opened in a loop

Resolution

Corrective Actions:
On a Linux system there is a default limit set on maximum number of opened files. In SuSE server systems it is usually 1024. The exact value can be found out by typing in terminal window"ulimit -a" command. In case of larger GroupWise systems where a number of links being opened among domains and Post Offices can be rather high, this hard limitation is reached very soon. Temporary solution is to run from terminal window the command"ulimit -n ", where a value 2000 or higher can be used. After that start GroupWise agents. This is a way to find out what value fits the best in given environment scenario. After that put this new limit value in a file limits.conf that is located in /etc/security directory.