Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CB455200BB5 for ; Sun, 6 Nov 2016 11:08:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C9D44160AFC; Sun, 6 Nov 2016 10:08:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 41B2B160AD0 for ; Sun, 6 Nov 2016 11:08:59 +0100 (CET) Received: (qmail 55973 invoked by uid 500); 6 Nov 2016 10:08:58 -0000 Mailing-List: contact log4net-dev-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET Dev" List-Id: Delivered-To: mailing list log4net-dev@logging.apache.org Received: (qmail 55964 invoked by uid 99); 6 Nov 2016 10:08:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2016 10:08:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 56AD32C0276 for ; Sun, 6 Nov 2016 10:08:58 +0000 (UTC) Date: Sun, 6 Nov 2016 10:08:58 +0000 (UTC) From: "Stefan Bodewig (JIRA)" To: log4net-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (LOG4NET-516) Slow email servers can cause SmtpAppender to slow down any system using it MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 06 Nov 2016 10:09:00 -0000 [ https://issues.apache.org/jira/browse/LOG4NET-516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Bodewig updated LOG4NET-516: ----------------------------------- Fix Version/s: (was: 1.2.15) > Slow email servers can cause SmtpAppender to slow down any system using it > -------------------------------------------------------------------------- > > Key: LOG4NET-516 > URL: https://issues.apache.org/jira/browse/LOG4NET-516 > Project: Log4net > Issue Type: Improvement > Components: Appenders > Affects Versions: 1.2.15 > Environment: Windows 7 & 10 > Reporter: john weidman > Labels: easyfix, features, performance > > When using log4net with an SmtpAppender if the email server that the messages are going to is under an excessive load and the messages back up all of the Log4Net logging slows down and makes the system unusable. > It seems like exposing the timeout value on the SmtpClient as a configurable option would allow code to continue, even if it does drop an email request. Otherwise the logging system can bring the system to a standstill. The default Timeout for SmtpClient is 100 sec. -- This message was sent by Atlassian JIRA (v6.3.4#6332)