Re: segfault at 0 ... error 4 in curl-loader
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2009-12-01 21:07:56
|
Hi bnoble, On Tue, Dec 1, 2009 at 10:42 PM, bnoble <bn...@gm...> wrote: > Hello, > > I receive the following error when attempting to run the 10k > configuration example, or any configuration which exceeds 1500-3000 > CLIENTS_NUM_MAX: > > curl-loader[3975]: segfault at 0 ip 0000000000440094 sp > 00007f96b17c2bc0 error 4 in curl-loader[400000+8a000] > > Sometimes it crashes immediately, sometimes it runs until ~3000 > clients are loaded. I have played with every conceivable sysctl > parameter with no luck. I have tried running the application with > four threads, I have adhered to every recommendation I could find. Am > I missing something obvious? I encountered similar problems with an > old Ubuntu VM previously; this, however, is not a VM instance. > > OS: OpenSuSE 11.1 > Linux 2.6.27.37-0.1-default #1 SMP 2009-10-15 14:56:58 +0200 x86_64 > x86_64 x86_64 GNU/Linux > Quad-core 2Ghz Xeon (Tylersburg) 4M cache with 8GB RAM > > Thanks. > Are you sure, that your sockets/open descriptors limit is sufficient? Please: 1. Compile it with debugging information $make clean; make debug=1 optimize=0 2. keep core allowed in your shell #ulimit -c unlimited 3. Run it till crash and get the core file 4. open the core and the curl-loader application by gdb debugger and explore the backtrace by bt command You might wish to send the trace to this list. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |