IIRC filecursor will only be used for non-persistent messages and messages sent to a topic with no durable subscriber: i.e. for any messages that can’t be stored in the message store. Is it possible you are using persistent messages ?
> On 3 Feb 2016, at 05:58, fengcanyue <153133...@qq.com> wrote: > > hi: > I have one producer and one consumer, producer is fast,but consumer is > slower. > so i wish memroyLimit is reached,the message will store to disk . > but the fileCursor don not work well. The MemoryPercentUsage has reached > 100,but i don not find file under tmp_storage/ > > who can tell me why? > > my xml config is as follow: > <policyEntry topic=">" producerFlowControl="true" > memoryLimit="5mb" > > <pendingSubscriberPolicy> > <fileCursor /> > </pendingSubscriberPolicy> > </policyEntry> > systemUsage is as follows: > <systemUsage> > <systemUsage> > <memoryUsage> > <memoryUsage limit="100 mb"/> > </memoryUsage> > <storeUsage> > <storeUsage limit="100 gb"/> > </storeUsage> > <tempUsage> > <tempUsage limit="50 gb"/> > </tempUsage> > </systemUsage> > </systemUsage> > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/How-fileCursor-works-AMQ5-9-1-tp4706865.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.