added performance alert for address-in-use errors

This commit is contained in:
Arvid Norberg
2012-03-03 02:29:37 +00:00
parent 89554179f6
commit 5a8037dba2
4 changed files with 19 additions and 3 deletions

View File

@@ -6969,7 +6969,8 @@ upload or download rate performance.
download_limit_too_low,
send_buffer_watermark_too_low,
too_many_optimistic_unchoke_slots,
too_high_disk_queue_limit
too_high_disk_queue_limit,
too_few_outgoing_ports
};
performance_warning_t warning_code;
@@ -7039,6 +7040,12 @@ too_high_disk_queue_limit
portions of the cache before allowing peers to download any more, onto the disk write
queue. Either lower ``max_queued_disk_bytes`` or increase ``cache_size``.
too_few_outgoing_ports
This is generated if outgoing peer connections are failing because of *address in use*
errors, indicating that ``session_settings::outgoing_ports`` is set and is too small of
a range. Consider not using the ``outgoing_ports`` setting at all, or widen the range to
include more ports.
state_changed_alert
-------------------