Preventing mail server hang-up from impacting ITIM

Technote (troubleshooting)


Problem(Abstract)

By default, ITIM uses SUN's SMTP mail provider. It's possible that a successful connection to the SMTP mail provider might hang.

Cause

This is due to the default time-out values for the mail connection default to infinite.

Resolving the problem

If an attempt to connect to the mail server is unsuccessful (for whatever reason, mail server down, authentication error, etc.) the mail request is aborted and there is no impact to operations. If however, ITIM connects to the mail server and the mail server hangs while processing the request, additional mail requests will queue in the application and may eventually impact performance and availability.

To avoid the potential of the impact of a nonresponsive mail server, there are two parameters which may be specified in $ITIM_HOME/data/enRoleMail.properties that introduce time-out values to the mail traffic from ITIM to the mail server.

Each of the values defaults to infinite if the property is not explicitly stated:


mail.smtp.timeout Socket I/O timeout value in milliseconds
mail.smtp.connectiontimeout Socket connection timeout value in milliseconds.


A sample of how this might look in enRoleMail.properties implementing a 30-second timeout would be:

mail.smtp.timeout=30000
mail.smtp.connectiontimeout=30000

Product Alias/Synonym

TIM

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

IBM Security Identity Manager
Server

Software version:

All Versions

Operating system(s):

AIX, Linux, Solaris, Windows

Software edition:

Edition Independent

Reference #:

1212004

Modified date:

2005-07-15

Translate my page

Machine Translation

Content navigation