[
https://issues.apache.org/jira/browse/TS-4909?focusedWorklogId=30202&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30202
]
ASF GitHub Bot logged work on TS-4909:
--------------------------------------
Author: ASF GitHub Bot
Created on: 05/Oct/16 20:00
Start Date: 05/Oct/16 20:00
Worklog Time Spent: 10m
Work Description: Github user jpeach commented on a diff in the pull
request:
https://github.com/apache/trafficserver/pull/1063#discussion_r82056583
--- Diff: iocore/net/UnixNetAccept.cc ---
@@ -280,6 +234,14 @@ NetAccept::do_blocking_accept(EThread *t)
return -1;
}
+ // Throttle accepts
+ if (!backdoor && (check_net_throttle(ACCEPT, now) ||
net_memory_throttle)) {
+ Debug("net_accept", "Too many connections or too much memory used,
throttling");
+ check_throttle_warning();
+ con.close();
--- End diff --
Add a metric for this case?
Issue Time Tracking
-------------------
Worklog Id: (was: 30202)
Time Spent: 40m (was: 0.5h)
> Throttling based on resident memory usage
> -----------------------------------------
>
> Key: TS-4909
> URL: https://issues.apache.org/jira/browse/TS-4909
> Project: Traffic Server
> Issue Type: Improvement
> Components: Core
> Reporter: Bryan Call
> Fix For: 7.1.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Add a feature to stop accepting connections if the resident memory is over a
> certain limit.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)