cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1185 libcurl in LADP. apache progress cost so much time and CPU usage 98%. gdb show me the function 'Curl_llist_remove'

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Sat, 02 Feb 2013 18:21:04 +0000

- **milestone**: -->

---
** [bugs:#1185] libcurl in LADP. apache progress cost so much time and CPU usage 98%. gdb show me the function 'Curl_llist_remove'**
**Status:** open
**Labels:** Curl_llist_remove 
**Created:** Fri Feb 01, 2013 10:25 AM UTC by Cupenoruler
**Last Updated:** Fri Feb 01, 2013 10:25 AM UTC
**Owner:** nobody
env:    apache 2.2.22
        curl 7.28.1
        php 5.4.5
I'm using libcurl in LADP. I found the apache progress which named 'httpd' used 98% CPU. Then I used gdb attached the progress.
This situation lasted for 6 hours up to now. I readed the source of the function named 'Curl_llist_remove ()'.  I would think it's a infinite loop.
Er ~ ~ I'm sorry for my poor English and I'm a rookie. Oh! come on ~ please.  (^_^)
- - -
(gdb) bt
\#0  0x00002aaaac8ca6e0 in Curl_llist_remove () from /usr/local/app/program/lib/libcurl.so.4
\#1  0x00002aaaac8ca7a2 in Curl_llist_destroy () from /usr/local/app/program/lib/libcurl.so.4
\#2  0x00002aaaac8cab66 in Curl_hash_clean () from /usr/local/app/program/lib/libcurl.so.4
\#3  0x00002aaaac8a907a in Curl_global_host_cache_dtor () from /usr/local/app/program/lib/libcurl.so.4
\#4  0x00002aaaac8c7035 in curl_global_cleanup () from /usr/local/app/program/lib/libcurl.so.4
\#5  0x00002aaaac7985b9 in zm_shutdown_curl (type=-1375899824, module_number=0, tsrm_ls=0x2aaaac9ea380) at /usr/local/app/soft/php-5.4.5/ext/curl/interface.c:951
\#6  0x00002aaaab102587 in module_destructor (module=0x759d80) at /usr/local/app/soft/php-5.4.5/Zend/zend_API.c:2262
\#7  0x00002aaaab10ad02 in zend_hash_apply_deleter (ht=0x2aaaab79c220, p=0x759d20) at /usr/local/app/soft/php-5.4.5/Zend/zend_hash.c:650
\#8  0x00002aaaab10afa8 in zend_hash_graceful_reverse_destroy (ht=0x2aaaab79c220) at /usr/local/app/soft/php-5.4.5/Zend/zend_hash.c:687
\#9  0x00002aaaab0fd66a in zend_shutdown (tsrm_ls=0x839380) at /usr/local/app/soft/php-5.4.5/Zend/zend.c:823
\#10 0x00002aaaab0948f5 in php_module_shutdown (tsrm_ls=0x839380) at /usr/local/app/soft/php-5.4.5/main/main.c:2346
\#11 0x00002aaaab094955 in php_module_shutdown_wrapper (sapi_globals=<value optimized out>) at /usr/local/app/soft/php-5.4.5/main/main.c:2314
\#12 0x00002aaaab1b5331 in php_apache_child_shutdown (tmp=<value optimized out>) at /usr/local/app/soft/php-5.4.5/sapi/apache2handler/sapi_apache2.c:398
\#13 0x00002b9033340aed in run_cleanups (cref=0x5f3398) at memory/unix/apr_pools.c:2346
\#14 0x00002b903334156e in apr_pool_destroy (pool=0x5f3378) at memory/unix/apr_pools.c:809
\#15 0x000000000046e7ee in clean_child_exit (code=0) at worker.c:350
\#16 0x000000000046ea41 in child_main (child_num_arg=<value optimized out>) at worker.c:1292
\#17 0x000000000046ec21 in make_child (s=0x5b4d38, slot=0) at worker.c:1341
\#18 0x000000000046f822 in ap_mpm_run (_pconf=<value optimized out>, plog=<value optimized out>, s=<value optimized out>) at worker.c:1560
\#19 0x000000000042479d in main (argc=3, argv=0x7fff77d48d08) at main.c:753
- - -
---
Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/curl/bugs/1185/>
To unsubscribe from further messages, please visit <https://sourceforge.net/auth/prefs/>
Received on 2013-02-02

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET