Discussion:
100% spinning CPU when uploading (maybe over ftps?)
Charlie Allom
2013-03-28 15:09:32 UTC
Permalink
Hello,

We see some of our batch lftp processes spinning and we're not sure
why/when. We don't yet know if it's FTPS only.

I've built with debug and have the output here, can anyone see what
could be the issue? strace shows absolutely nothing - blank.

gdb: https://spodder.com/p/JBSFtJ6lPOHKTTEUO2Yfwdps

and: https://spodder.com/p/ayJVud2sIxA3xEC3Bq4SZ7hD

lsof: https://spodder.com/p/10w6SB96rrzVr4etXT1pSbpJD

batch command file: https://spodder.com/p/6Y7APYSUkW2An1lYrqbXDJnK

error log: https://spodder.com/p/4eVi7Fp0eHqGdAqkkTEX3pw0

version: https://spodder.com/p/BpFVjLA1BzvTr2B3e9YGoUmj

any advice?

C.
--
+442077294797 (Office)
+442031379505 (DDI)
http://mediasp.com/
Charlie Allom
2013-04-16 11:08:26 UTC
Permalink
"solved".
Post by Charlie Allom
We see some of our batch lftp processes spinning and we're not sure
why/when. We don't yet know if it's FTPS only.
We tuned our tcp buffers to be less aggressive and this issue went away.

These values are working for us:

net.ipv4.tcp_rmem=4096 87380 62500000
net.ipv4.tcp_wmem=4096 16384 62500000

C.
--
+442077294797 (Office)
+442031379505 (DDI)
http://mediasp.com/

Loading...