No subject
Thu Mar 14 15:04:54 GMT 2013
is setting state->state to CONNECTION_STATE_IDLE (== 0) between
amqp_connection.c lines 234 and 245. The obvious suspect is consume_data
but unless things are already corrupted, it's hard to see what could be
happening.
If you can run your program in a debugger, try breaking on the abort and
examining state's memory at that time. It might give some clues as to what
is going wrong.
Does the problem occur when the message rate is high, or low, or is it not
correlated with either?
I should also mention I'm looking at git revision
31ecd4f52f17dbf9e189625cd1ba2ad08af29851. Which revision of the library are
you using?
Tony
--
Tony Garnock-Jones
tonygarnockjones at gmail.com
http://homepages.kcbbs.gen.nz/tonyg/
--001a11c1e89cc58e3a04e10119de
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On 8=
July 2013 09:17, Haster <span dir=3D"ltr"><<a href=3D"mailto:haster2004=
@yandex.ru" target=3D"_blank">haster2004 at yandex.ru</a>></span> wrote:<br=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex">
The problem is that I use only one thread in my program (only one thread<br=
>
works with connection to rabbitmq)<br></blockquote><div><br></div><div>Is t=
here only one thread in your program, or is there more than one thread but =
only one which uses librabbitmq? If there's more than one, perhaps anot=
her thread is chewing up memory somehow.<br>
=C2=A0<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I heard that on HP-UX TCP/IP stack protocol API is different to other UNIX<=
br>
SYSTEMS and to fix it I need use libxnet and _XOPEN_SOURCE_EXTENDED define<=
br>
directive.<br></blockquote><div><br></div><div>This doesn't sound like =
the problem, but I could be wrong.<br><br>From the error message you found =
in the logs, it looks to me like something is setting state->state to CO=
NNECTION_STATE_IDLE (=3D=3D 0) between amqp_connection.c lines 234 and 245.=
The obvious suspect is consume_data but unless things are already corrupte=
d, it's hard to see what could be happening.<br>
<br></div><div>If you can run your program in a debugger, try breaking on t=
he abort and examining state's memory at that time. It might give some =
clues as to what is going wrong.<br><br></div><div>Does the problem occur w=
hen the message rate is high, or low, or is it not correlated with either?<=
br>
</div><div><br></div><div>I should also mention I'm looking at git revi=
sion 31ecd4f52f17dbf9e189625cd1ba2ad08af29851. Which revision of the librar=
y are you using?<br><br></div><div>Tony<br></div></div>-- <br>Tony Garnock-=
Jones<br>
<a href=3D"mailto:tonygarnockjones at gmail.com" target=3D"_blank">tonygarnock=
jones at gmail.com</a><br><a href=3D"http://homepages.kcbbs.gen.nz/tonyg/" tar=
get=3D"_blank">http://homepages.kcbbs.gen.nz/tonyg/</a>
</div></div>
--001a11c1e89cc58e3a04e10119de--
More information about the rabbitmq-discuss
mailing list