Tag Archives: Failure writing to local file

FTP upload file error: failure writing to local file

Original reference:

https://blog.csdn.net/stevendbaguo/article/details/52942594

https://www.cnblogs.com/linuxde/p/8719469.html

https://blog.csdn.net/zqtsx/article/details/24383755

In the process of using FTP, an error is reported in the FTP interface: 451 failure writing to local file and 227 entering passive mode

In fact, the fundamental problem is the first error, because when I checked the log, I found: SFTP server [10202]: error: process_ write: write failed

Generally speaking, there are two main reasons

(1) The disk is full

(2) The number of processes of the user has reached the limit, because the Linux system will limit the number of processes of each user in order to improve the utilization of system resources. You can use [ulimit – A] to view [ulimit – u 1-65535] to limit it