# US 11,308,028 B2 · Predicting and deleting idle remote sessions in a distributed file system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,308,028 B2
- Document ID: US11308028B2
- Status: Granted
- Kind: B2
- Application number: 16/725,498
- Filed: 2019-12-23
- Published: 2021-06-24
- Granted: 2022-04-19
- Earliest claimed: 2019-12-23
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Tejas Anil Vaykole; Pratik Rupala; Kaushik Gupta
- Web page: https://patentgrep.com/patent/US11308028B2

## CPC

- G06F 16/122: {using management policies (point-in-time backing up or restoration of persistent data G06F11/1446; file migration policies for HSM systems G06F16/185)}
- G06F 16/1844: {Management specifically adapted to replicated file systems}
- G06F 16/1734: {Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs}
- G06F 16/182: Distributed file systems
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques are provided for predicting and deleting idle remote sessions in a distributed file system. In an example, a server that serves a plurality of server message block (SMB) sessions analyzes with linear regression techniques those sessions to determine which sessions will become idle. In some examples, the server can then proactively close a SMB session that it predicts that an administrator would choose to close after a given idle period of time, or recommend to an administrator that the SMB session can be closed.

## Claims

### Claim 1

A system, comprising:
a processor; and
a memory that stores executable instructions that, when executed by the processor, facilitate performance of operations, comprising:
in response to receiving first user action data indicative of listing idle server message block (SMB) sessions that are served by a computing cluster, performing, with a prediction model, a linear regression on information about the SMB sessions to determine idle SMB sessions of the SMB sessions;
providing identified SMB sessions in a user interface in a precedence order based on the linear regression, wherein the precedence order indicates a recommended order to close the identified SMB sessions;
in response to receiving second user action data from the user interface indicative of taking an action with respect to a SMB session of the identified SMB sessions, updating, with the prediction model, the linear regression to produce an updated linear regression; and
storing the updated linear regression for the prediction model in the memory.

### Claim 2 (depends on 1)

The system of claim 1, wherein the performing the linear regression about the SMB sessions to determine the idle SMB sessions comprises:
determining that an administrator is likely to close the SMB session by a determined idle time with a confidence above a defined threshold.

### Claim 3 (depends on 1)

The system of claim 1, wherein the operations further comprise:
closing the SMB session in response to the determining that the SMB session is idle.

### Claim 4 (depends on 1)

The system of claim 1, wherein the operations further comprise:
presenting an indication that the SMB session is idle in the user interface.

### Claim 5 (depends on 4)

The system of claim 4, wherein the operations further comprise:
closing the SMB session in response to receiving user input directed to the user interface indicative of closing the SMB session.

### Claim 6 (depends on 4)

The system of claim 4, wherein the presenting the indication that the SMB session is idle in the user interface comprises:
displaying a session ID for the SMB session in the user interface.

### Claim 7 (depends on 1)

The system of claim 1, wherein the information about the SMB sessions comprises an active time for the SMB session.

### Claim 8

A method, comprising:
performing, by a system comprising a processor, a linear regression on information about a first server message block (SMB) session to determine that the first SMB session is idle;
providing a list of SMB sessions that comprises the first SMB session in a user interface, based on the linear regression;
in response to receiving user action data from the user interface indicative of taking an action with respect to the list of SMB sessions, updating the linear regression to produce an updated linear regression; and
storing, by the system, the updated linear regression in a computer memory.

### Claim 9 (depends on 8)

The method of claim 8, wherein the information about the first SMB session comprises an idle time for the first SMB session.

### Claim 10 (depends on 8)

The method of claim 8, wherein the information about the first SMB session comprises a number of dependent SMB sessions of the first SMB session.

### Claim 11 (depends on 8)

The method of claim 8, wherein the information about the first SMB session comprises a number of open files of the first SMB session.

### Claim 12 (depends on 8)

The method of claim 8, wherein the information about the first SMB session comprises a type of a first lock held by the first SMB session.

### Claim 13 (depends on 8)

The method of claim 8, wherein the information about the first SMB session comprises a previous user action taken with regard to a plurality of SMB sessions comprising the first SMB session and a second SMB session.

### Claim 14 (depends on 13)

The method of claim 13, wherein the previous user action taken with regard to the plurality of SMB sessions comprises a time at which an administrator has indicated to close the second SMB session of the plurality of SMB sessions.

### Claim 15

A non-transitory computer-readable medium comprising instructions that, in response to execution, cause a system comprising a processor to perform operations, comprising:
performing a linear regression on information about a group of server message block (SMB) sessions to determine that a first SMB session of a group of SMB sessions is idle;
providing information about the group of SMB sessions in a user interface, based on the linear regression;
in response to receiving action data at the user interface indicative of an action to perform with respect to a first SMB session of the group of SMB sessions, updating the linear regression to produce an updated linear regression; and
storing the updated linear regression in a memory.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise:
utilizing some of the information about the first SMB session and about a second SMB session of the group of SMB sessions to determine that the first SMB session is idle.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the performing the linear regression about the group of SMB sessions to determine that the first SMB session is idle comprises:
determining that an administrator is likely to close the first SMB session by a determined idle time with a confidence above a predetermined threshold.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise:
closing the first SMB session in response to the performing the linear regression.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise:
presenting an indication that the first SMB session is idle in a computer user interface.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the operations further comprise:
closing the first SMB session in response to receiving user input directed to the computer user interface indicative of closing the first SMB session.
