Invention Grant
US09009710B2 Detecting deadlocked file transfer protocol upload connections and performing session self-recovery using information stored in a FIFO resource array 有权
检测死锁文件传输协议上传连接并使用存储在FIFO资源阵列中的信息执行会话自恢复

Detecting deadlocked file transfer protocol upload connections and performing session self-recovery using information stored in a FIFO resource array
Abstract:
A method and a device for file transfer protocol (FTP) deadlock detection and self recovery are provided by the disclosure in order to solve the sudden deadlock problem in the FTP upload task. The method includes: if a daemon determines that a deadlock occurs in an FTP upload task by a heartbeat detection mechanism, the socket resources used by the FTP upload task is recorded at the storage location in a socket resource cycle queue, and a process of ending the FTP upload task is started; determining whether the socket resource cycle queue is full, if it is not full, the socket resources used by the FTP upload task in the current deadlock is put into the socket resource cycle queue, otherwise, the earliest socket resources in the socket resource cycle queue are released, and the socket resources used by the FTP upload task in the current deadlock is put into the socket resource cycle queue.
Information query
Patent Agency Ranking
0/0