I sometimes get an error when I want to login via ftp. The error is 500 OOPS: setuid
. I can't figure out why this happens sometimes, but sometimes it doesn't. I've se the limit of processes per user to unlimited, but this still happens. I'm running Fedora Core 10.
From the vsftpd wiki:
You can verify this by checking under what username vsftpd is running with
ps -ef | grep ftp
.Then log in as this user with the
su - [username, for example root]
command, and check the limit for the number of processes withulimit -u
.On my CentOS machine the root account was limited to 2047 processes.
Raise this number if needed with
ulimit -u [number of processes, for example 5000]
, or useulimited -u unlimited
for an unlimited number of processes.