Hangs upon exiting

General discussions here

Moderator: rgerhards

Google Ads


Hangs upon exiting

Postby eddieb » Thu Sep 29, 2016 9:20 pm

On Ubuntu 16.04.1 running
Code: Select all
rsyslogd 8.16.0, compiled with:
        PLATFORM:                               x86_64-pc-linux-gnu
        PLATFORM (lsb_release -d):
        FEATURE_REGEXP:                         Yes
        GSSAPI Kerberos 5 support:              Yes
        FEATURE_DEBUG (debug build, slow code): No
        32bit Atomic operations supported:      Yes
        64bit Atomic operations supported:      Yes
        memory allocator:                       system default
        Runtime Instrumentation (slow code):    No
        uuid support:                           Yes
        Number of Bits in RainerScript integers: 64

if I issue a stop I get
Code: Select all
9744.300605710:main thread    : main Q: EnqueueMsg advised worker start
9744.300724026:main thread    : Terminating main queue...                                                                                                 9744.300734161:main thread    : main Q: initiating worker thread shutdown sequence
9744.300739666:main thread    : main Q: trying shutdown of regular workers
9744.300766918:main thread    : sent SIGTTIN to worker thread 0x9b57a700
9744.300776037:main Q:Reg/w0  : wti 0x16756a0: worker awoke from idle processing
9744.300782296:main Q:Reg/w0  : DeleteProcessedBatch: we deleted 0 objects and enqueued 0 objects
9744.300786960:main Q:Reg/w0  : doDeleteBatch: delete batch from store, new sizes: log 0, phys 0
9744.300791987:main Q:Reg/w0  : regular consumer finished, iret=4, szlog 0 sz phys 0
9744.300797344:main Q:Reg/w0  : wti 0x16756a0: terminating worker terminateRet=5, bInactivityTOOccured=0
9744.300803075:main Q:Reg/w0  : DDDD: wti 0x16756a0: worker cleanup action instances
9744.300807699:main Q:Reg/w0  : wti 0x16756a0, action 0, ptr 0x7f1394004210
9744.300825960:main Q:Reg/w0  : wti 0x16756a0, action 1, ptr 0x7f1394038f80
9744.300835440:main Q:Reg/w0  : wti 0x16756a0, action 2, ptr 0x7f13940022a0
9744.300875784:main Q:Reg/w0  : wti 0x16756a0, action 3, ptr 0x7f1394004470
9744.300885088:main Q:Reg/w0  : wti 0x16756a0, action 4, ptr (nil)
9744.300890048:main Q:Reg/w0  : wti 0x16756a0, action 5, ptr (nil)
9744.300894505:main Q:Reg/w0  : wti 0x16756a0, action 6, ptr (nil)
9744.300898883:main Q:Reg/w0  : wti 0x16756a0, action 7, ptr (nil)
9744.300903665:main Q:Reg/w0  : wti 0x16756a0, action 8, ptr (nil)
9744.300908515:main Q:Reg/w0  : wti 0x16756a0, action 9, ptr (nil)
9744.300912910:main Q:Reg/w0  : wti 0x16756a0, action 10, ptr 0x7f13940023f0
9744.300918720:main Q:Reg/w0  : wti 0x16756a0, action 11, ptr 0x7f13940068f0
9744.300941837:main Q:Reg/w0  : wti 0x16756a0, action 12, ptr 0x7f13940504b0
9744.300951981:main Q:Reg/w0  : wti 0x16756a0, action 13, ptr 0x7f1394462e10
9744.301055305:main thread    : main Q:Reg: waiting 1499ms on worker thread termination, 1 still running
9745.800919600:main thread    : main Q:Reg: timeout waiting on worker thread termination
9745.800976996:main thread    : sent SIGTTIN to worker thread 0x9b57a700
9745.801024045:main thread    : main Q: regular shutdown timed out on primary queue (this is OK)
9745.801030518:main thread    : main Q: checking to see if we need to cancel any worker threads of the primary queue
9745.801035688:main thread    : sent SIGTTIN to worker thread 0x9b57a700, giving it a chance to terminate
9745.811204331:main thread    : cooperative worker termination failed, using cancellation...
9745.811246502:main thread    : wti 0x16756a0: canceling worker thread


Code: Select all
#rsyslogd -N1
rsyslogd: version 8.16.0, config validation run (level 1), master config /etc/rsyslog.conf
rsyslogd: command 'KLogPermitNonKernelFacility' is currently not permitted - did you already set it via a RainerScript command (v6+ config)? [v8.16.0 try http://www.rsyslog.com/e/2222 ]


Please advise.
eddieb
Avarage
 
Posts: 16
Joined: Wed Feb 20, 2013 10:11 am

Urgent Question?

  • Pulling out your Hair?
  • Wasting Time and Money?
  • Deadline Approaching?

Re: Hangs upon exiting

Postby eddieb » Mon Oct 03, 2016 9:48 pm

It works fine for shipping logs to desired services - it just doesn't exit cleanly. the issue only occurs when the attached conf file is in effect.

i tried with the firewall off, according to the suggestion in this other thread.

please advise.

PS: Question also available with bonus ServerFault points.
Attachments
60-loggingservices.zip
(1.02 KiB) Downloaded 45 times
eddieb
Avarage
 
Posts: 16
Joined: Wed Feb 20, 2013 10:11 am

Re: Hangs upon exiting

Postby alorbach » Tue Oct 04, 2016 6:43 am

Have you tried if the problem persist with rsyslog 8.21.0?:
http://www.rsyslog.com/downloads/download-v8-stable/

best regards,
Andre Lorbach
alorbach
Site Admin
 
Posts: 1627
Joined: Thu Feb 13, 2003 11:55 am

Re: Hangs upon exiting

Postby eddieb » Tue Oct 04, 2016 6:47 am

alorbach wrote:Have you tried if the problem persist with rsyslog 8.21.0?:
http://www.rsyslog.com/downloads/download-v8-stable/

unlikely that will solve the problem. it only occurs using the attached config AND .16 is the stable release for Ubuntu Trusty.

Thanks

best regards,
Andre Lorbach
eddieb
Avarage
 
Posts: 16
Joined: Wed Feb 20, 2013 10:11 am

Re: Hangs upon exiting

Postby eddieb » Fri Oct 07, 2016 2:30 pm

eddieb
Avarage
 
Posts: 16
Joined: Wed Feb 20, 2013 10:11 am

Google Ads



Return to General

Who is online

Users browsing this forum: No registered users and 0 guests

cron