Hi Ray,
Many thanks, I’m currently currently checking it !

Regards,

De : Ray Satiro <[email protected]>
Envoyé : mercredi 10 septembre 2025 19:02
À : libcurl development <[email protected]>; Cristian Rodríguez 
<[email protected]>
Cc : Stephane Cruchon <[email protected]>; Gilles Lefèvre 
<[email protected]>; R&D Support <[email protected]>
Objet : Re: High CPU usage associated to busy loop in curl_timediff_us()

You don't often get email from [email protected]<mailto:[email protected]>. 
Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.
On 9/10/2025 10:57 AM, Stephane Cruchon via curl-library wrote:
We are no doing more than using Libcurl within a thread, executed inside a 
container in order to send many messages toward http AS.
By attaching to the process where we observed the described symptoms, we 
managed to retrieve several threads stuck in curl_timediff_us function ( bt 
full on thread )


#0  0x00007f844a387b1a in Curl_timediff_us () from 
/home/actility/lib/libcurl.so.4
No symbol table info available.
#1  0x00007f844a382923 in Curl_splay () from /home/actility/lib/libcurl.so.4
No symbol table info available.
#2  0x00007f844a382c40 in Curl_splayremove () from 
/home/actility/lib/libcurl.so.4
No symbol table info available.
#3  0x00007f844a3698cd in Curl_expire_ex () from /home/actility/lib/libcurl.so.4
No symbol table info available.
#4  0x00007f844a369ec4 in process_pending_handles () from 
/home/actility/lib/libcurl.so.4
No symbol table info available.
#5  0x00007f844a36b3c8 in multi_runsingle () from 
/home/actility/lib/libcurl.so.4
No symbol table info available.
#6  0x00007f844a36d2d9 in curl_multi_perform () from 
/home/actility/lib/libcurl.so.4

Something we do not experienced out of a container.



Please review the thread safety guidelines [1] and try the latest version [2]. 
Often when we get reports like this it is user error.

[1]: https://curl.se/libcurl/c/threadsafe.html
[2]: https://curl.se/download.html

[Logo]<https://www.actility.com/>       [Logo]
Stephane Cruchon
R&D team Manager Support
Buy hardware in ThingPark Market<https://market.thingpark.com/>, try (free) on 
ThingPark Community<https://community.thingpark.org/>, deploy with 
Actility<https://www.actility.com/>
[Banner]<https://www.actility.com/timeline-of-events/>

The content of this email is confidential and intended for the recipient 
specified in message only. It is strictly forbidden to share any part of this 
message with any third party, without a written consent of the sender. If you 
received this message by mistake, please reply to this message and follow with 
its deletion, so that we can ensure such a mistake does not occur in the 
future. Actility.
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to