c++ - Why do large amounts of libcurl connections lock up my windows system? -


i've made simple app creates libcurl object , starts sending http messages. point them @ box on local network running netcat server. start 200 of these on windows machine. netcat server responds many of requests, though many going on misses majority of them due timeout.

you can find full source here, actual code being here. if poke around in there can see how build , run test app.

within few minutes system become unresponsive. forced hit power button access again. not respond telnet, remote debugging, rdp, though respond pings. not create crash dump.

the real problem here don't understand how catch while happening, don't know how debug it. i'm hoping knows correct way diagnose this.

i can avoid implementing qos type behavior. unless can measure locking system, i'm afraid i'll masking issue.

if start processes /belownormal seems reproduce faster.

i unable reproduce on same machine when in safe mode. unable reproduce on mac. i've disabled av/firewall, no difference. i've checked drivers, seem date. i've made happen on multiple machines different hardware configurations.

i've monitored metrics know check, cpu, ram, npp, ports, handles, threads, nothing seems alarming. i've started 600 not difference, don't think i'm hitting hard resource limit.

i've asked libcurl mailing list , claim libcurl shouldn't able this, though had no input on problem was.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -