原文參考:
https://blog.csdn.net/stevendbaguo/article/details/52942594
https://www.cnblogs.com/linuxde/p/8719469.html
https://blog.csdn.net/zqtsx/article/details/24383755
在使用ftp過程中遇到的一個問題,ftp界面報錯:451 Failure writing to local file 和 227 Entering Passive Mode
其實根本的問題是第一個報錯,因為我查看日志的時候發現:sftp-server[10202]: error: process_write: write failed
一般來說,主要有兩個原因:
(1)磁盤滿了
(2)該用戶的進程數達到了限制,因為linux系統為了提高系統資源的利用率會對每個用戶的進程數進行限制,可以用 【ulimit -a】 來查看【ulimit -u 1-65535】來限制;