Thanks Devin. I missed the detailed document for the queue parameters.

After I used queue.filename="msdqueue" and queue.spoolDirectory="/home/li
weip/work/results", my module and conf worked now.

I am using 8.4.0 stable release.


On Fri, Sep 19, 2014 at 6:23 PM, David Lang <[email protected]> wrote:

> What distro is this? my first guess would be a permission error (either
> simple permissions or SELinux permissions) are preventing rsyslog from
> creating the file.
>
> David Lang
>
>
> On Fri, 19 Sep 2014, Liwei Peng wrote:
>
>  Hi,
>>
>> I am using the following settings for my output module. When I sent large
>> number of messages to the queue, while I saw debug msg that the queue is
>> full, however, no disk file was created. Can you help on what's wrong?
>>
>> 0690.657186527:main thread    : action 1 queue:Reg: finalizing
>> construction
>> of worker thread pool (numworkerThreads 1)
>> 0690.657195816:main thread    : action 1 queue:Reg/w0: finalizing
>> construction of worker instance data (for 1 actions)
>> 0690.657204815:main thread    : action 1 queue:DAwpool: finalizing
>> construction of worker thread pool (numworkerThreads 1)
>> 0690.657208868:main thread    : action 1 queue:DAwpool/w0: finalizing
>> construction of worker instance data (for 1 actions)
>> 0690.657218995:main thread    : action 1 queue[DA]: starting queue
>> 0690.657223374:main thread    : action 1 queue[DA]: .qi file name is
>> '//home/liweip/work/results/mdsdqueue.qi', len 39
>> 0690.657226277:main thread    : action 1 queue[DA]: I am a child
>> 0690.657238325:main thread    : action 1 queue[DA]: clean startup, no .qi
>> file found
>> 0690.657241701:main thread    : action 1 queue[DA]: state -2040 reading
>> .qi
>> file - can not read persisted info (if any)
>> 0690.657251711:main thread    : Called LogMsg, msg: error starting up disk
>> queue, using pure in-memory mode
>> 0690.657399839:main thread    : action 1 queue: error -2036 creating disk
>> queue - giving up.
>>
>>
>> The debug log shows below
>>
>>
>> my queue settings:
>>
>> *.* action( type="omazuremds" template="fmt"
>>    queue.dequeuebatchsize="20"
>>    queue.type="fixedarray"
>>    queue.filename="/home/liweip/work/results/mdsdqueue"
>>    queue.highwatermark="100"
>>    queue.lowwatermark="20"
>>    queue.discardmark="10000"
>>    queue.maxdiskspace="5g"
>>    queue.size="1000"
>>    queue.saveonshutdown="on"
>>    action.resumeretrycount="5"
>>    action.resumeinterval = "1"
>> )
>> _______________________________________________
>> rsyslog mailing list
>> http://lists.adiscon.net/mailman/listinfo/rsyslog
>> http://www.rsyslog.com/professional-services/
>> What's up with rsyslog? Follow https://twitter.com/rgerhards
>> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
>> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
>> DON'T LIKE THAT.
>>
>>  _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to