Dynamic timeout period adjustment of service requests
First Claim
Patent Images
1. A computer system, comprising:
- one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage medium, and program instructions stored on at least one of the one or more tangible storage medium for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising a series of steps to dynamically time out a first process within a plurality of suspended processes running on a server computer to maintain throughput at the server computer by;
determining that a second process running on the server computer is attempting to suspend;
determining whether a number of the plurality of suspended processes plus one is less than a threshold value, wherein the threshold value includes a variable based on a maximum concurrent processes value;
in response to the determining, if the number of the plurality of suspended processes plus one is not less than the threshold value, selecting the first process within the plurality of suspended processes to prematurely time out;
timing out the selected first process;
in response to the timing out the selected first process, incrementing the number of the plurality of suspended processes; and
suspending the second process.
1 Assignment
0 Petitions
Accused Products
Abstract
According to one exemplary embodiment, a method for dynamically timing out a first process within a plurality of suspended processes is provided. The method may include determining that a second process is attempting to suspend. The method may also include determining if a number of suspended processes plus one is less than a threshold value. The method may then include selecting the first process within the plurality of suspended processes to prematurely time out based on determining that the number of suspended processes plus one is not less than the threshold value. The method may further include timing out the selected first process. The method may also include suspending the second process.
10 Citations
9 Claims
-
1. A computer system, comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage medium, and program instructions stored on at least one of the one or more tangible storage medium for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising a series of steps to dynamically time out a first process within a plurality of suspended processes running on a server computer to maintain throughput at the server computer by; determining that a second process running on the server computer is attempting to suspend; determining whether a number of the plurality of suspended processes plus one is less than a threshold value, wherein the threshold value includes a variable based on a maximum concurrent processes value; in response to the determining, if the number of the plurality of suspended processes plus one is not less than the threshold value, selecting the first process within the plurality of suspended processes to prematurely time out; timing out the selected first process; in response to the timing out the selected first process, incrementing the number of the plurality of suspended processes; and suspending the second process. - View Dependent Claims (2, 3, 4, 5, 6)
-
7. A computer program product, comprising:
one or more computer readable storage medium and program instructions stored on at least one of the one or more storage medium, the program instructions executable by a processor to dynamically time out a first process within a plurality of suspended processes running on a server computer to maintain throughput at the server computer, the program instructions comprising instructions to; determine that a second process running on the server computer is attempting to suspend; determine whether a number of the plurality of suspended processes plus one is less than a threshold value, wherein the threshold value includes a variable based on a maximum concurrent processes value; in response to the determining, if the number of the plurality of suspended processes plus one is not less than the threshold value, select the first process within the plurality of suspended processes to prematurely time out; time out the selected first process; in response to the timing out the selected first process, increment the number of the plurality of suspended processes; and suspend the second process. - View Dependent Claims (8, 9)
Specification