Hi,

I have create a durable queue with following arguments:
qpid.paging=True
durable=true
qpid.max_pages_loaded=10
qpid.page_factor=1

so this means my broker will keep 10 * 4028 = 4kb worth of messages (un
consumed) in the memory and offload the incoming messages to disk right?

So if when broker restarts, first it will load the same amount (size) fo
messages from disk to memory and processes them?

I do see my msgDepth is growing when i stop consumer but i do see this in
logs, so i am not sure if it is really offloading messages to disk or not.

2018-10-27 20:44:12 [Broker] error Message is larger than page size for
queue ax-q-group-001

2018-10-27 20:44:12 [System] debug Exception constructed: Message is larger
than page size for queue ax-q-group-001
(/builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/PagedQueue.cpp:137)

Also how does these --max-queue-size=1073741824 --max-queue-count=1000000
settings will affect for paged queues? i mean for paged queues it wont
reach the max-queue-size?

I have created paged queues using following arguments, qpid-config shows
its paged but in debug logs its says paging=false


queue.argument.qpid.policy_type=flow_to_disk
queue.argument.qpid.paging=true
queue.argument.qpid.max_pages_loaded=500
queue.argument.qpid.page_factor=5
queue.argument.qpid.max_size=1073741824
queue.argument.qpid.max_count=1000000
queue.argument.qpid.file_count=24
queue.argument.qpid.file_size=2000

[rganapavarapu@ip-10-17-8-245 ~]$ qpid-config queues
Queue Name                                Attributes
=================================================================
ax-q-axgroup-001-consumer-group-001       --durable --file-size=2000
--file-count=24 --max-queue-size=1073741824 --max-queue-count=1000000
--limit-policy=flow-to-disk --argument qpid.page_factor=5 --argument
qpid.paging=true --argument no-local=False --argument
qpid.max_pages_loaded=500


Here is the log it says true for the first time and then it says false,
also the other arguments seems to be different than what i have passed.

2018-10-27 22:10:22 [Security] debug ACL: Lookup for id:anonymous
action:create objectType:queue name:ax-q-axgroup-001-consumer-group-001
with params { durable=true autodelete=false exclusive=false alternate=
policytype=reject paging=true maxpages=500 maxpagefactor=5
maxqueuesize=1073741824 maxqueuecount=1000000 maxfilesize=2000
maxfilecount=24 }


2018-10-27 22:10:22 [Security] debug ACL: Lookup for id:anonymous
action:create objectType:queue name:ax-q-axgroup-001-consumer-group-001
with params { durable=true autodelete=false exclusive=false alternate=
policytype=reject paging=false maxqueuesize=104857600 maxfilesize=24
maxfilecount=8 }

How to make sure my queue is paged and the messages are offloading to disk
once the page size reached to configured?

Thanks,
Ram

Reply via email to