curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: curl sftp file upload blocking other threads

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 21 Nov 2022 15:32:01 +0100 (CET)

On Mon, 21 Nov 2022, treesa fairy joseph via curl-library wrote:

> I am using curl to upload files to a server using sftp. While the
> sftp is happening, no other threads are executing. So basically, a
> health check thread is not getting scheduled and another process,
> declares my process as dead. How to avoid this? This application runs
> on a cavium machine.

curl does nothing special to accomplish this. This is just how things work on
your system. You can probably either change the priority of the process
running curl or you could try maybe cap the transfer speed to see if it helps.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2022-11-21