Re: [Proftpd-user] mod_sftp slowness - how can I track this down

"John Stoffel" <[email protected]> Fri, 19 Feb 2021 09:28:38 -0500
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
>>>>> "Michel" == Michel van der List <[email protected]> writes:

Michel> On 2/17/21 7:11 AM, Michel van der List wrote:
>> Just browsing directories. I send a few follow ups that
>> indicate that the fsio module (or it's interaction with RedHat
>> 8) may be the issue. I'll look into that more today.

Michel> OK, tracked down the issue. The interaction with the local
Michel> password file is just *very* slow. Reducing it to a single
Michel> entry (from about 600) makes my problem go away. This will
Michel> allow me to mitigate the issue on the upgraded production
Michel> system. I'll look at the code a bit to see what changed and if
Michel> I can make sense of it.

Sorry for dropping off the face of the earth, but glad you found a
root cause.  But... that's also a strange issue to have, since the
password DB access should be pretty damn fast, even with a local DB.

Going from 600 down to 1 entry (but I assume you left all the other
system passwd entries?) shouldn't make a difference, unless there's
just no caching what so ever of the passwd DB.

Are you using a dedicated proftpd only password file?

John


_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html