Re: monit crash

2016-10-16 Thread Thomas Lau
I see, okay thanks, I will upgrade and test again.

On Mon, Oct 17, 2016 at 2:57 PM, Martin Pala  wrote:

> It is related to the IOException from your log - it was not catched.
>
>
> On 17 Oct 2016, at 08:51, Thomas Lau  wrote:
>
> mind to explain what's going on?
>
> On Mon, Oct 17, 2016 at 2:49 PM, Martin Pala 
> wrote:
>
>> Thanks for data. This problem was fixed in monit 5.7, please upgrade
>> monit.
>>
>> Best regards,
>> Martin
>>
>>
>> On 17 Oct 2016, at 08:45, Thomas Lau  wrote:
>>
>>  monit -V
>> This is Monit version 5.6
>> Copyright (C) 2001-2013 Tildeslash Ltd. All Rights Reserved.
>>
>>
>> Date: Tue Oct 11 13:59:46 log file:
>> [HKT Oct 11 13:59:06] error: M/Monit: cannot open a connection to
>> http://10.0.0.107:8080/collector -- Connection timed out
>> [HKT Oct 11 13:59:16] error: Sendmail: Error receiving data from the
>> mailserver 'gmailrelay.hk.domain.com' -- Resource temporarily unavailable
>> [HKT Oct 11 13:59:46] critical : IOException: Error receiving data from
>> the mailserver 'gmailrelay.hk.domain.com' -- Resource temporarily
>> unavailable
>>  raised in do_status at src/sendmail.c:119
>>
>>
>> 2016-10-17 14:29 GMT+08:00 Martin Pala :
>>
>>> Hello,
>>>
>>> please can you send the following informations?:
>>>
>>> 1.)  the coredump file
>>> 2.) the monit binary which generated the coredump
>>> 3.) which monit version it is? (monit -V)
>>> 4.) monit log file
>>>
>>>
>>> Best regards,
>>> Martin
>>>
>>>
>>> On 17 Oct 2016, at 03:24, Thomas Lau  wrote:
>>>
>>> Hi all,
>>>
>>> we got a crash on monit main process, here is the crash report:
>>>
>>> ProblemType: Crash
>>> Architecture: amd64
>>> Date: Tue Oct 11 13:59:46 2016
>>> DistroRelease: Ubuntu 14.04
>>> ExecutablePath: /usr/bin/monit
>>> ExecutableTimestamp: 1384665445
>>> ProcCmdline: /usr/bin/monit -c /etc/monit/monitrc
>>> ProcCwd: /
>>> ProcEnviron:
>>>  TERM=linux
>>>  PATH=(custom, no user)
>>> ProcMaps:
>>>  0040-0048 r-xp  08:02 296656
>>>   /usr/bin/monit
>>>  0068-00681000 r--p 0008 08:02 296656
>>>   /usr/bin/monit
>>>  00681000-00683000 rw-p 00081000 08:02 296656
>>>   /usr/bin/monit
>>>  00683000-00686000 rw-p  00:00 0
>>>  02315000-02357000 rw-p  00:00 0
>>>  [heap]
>>>  02357000-0238b000 rw-p  00:00 0
>>>  [heap]
>>>  7f837400-7f8374021000 rw-p  00:00 0
>>>  7f8374021000-7f837800 ---p  00:00 0
>>>  7f837c00-7f837c021000 rw-p  00:00 0
>>>  7f837c021000-7f838000 ---p  00:00 0
>>>  7f8383ccb000-7f8383ccc000 ---p  00:00 0
>>>  7f8383ccc000-7f83844cc000 rw-p  00:00 0
>>>  [stack:2355]
>>>  7f83844cc000-7f83844cd000 ---p  00:00 0
>>>  7f83844cd000-7f8384ccd000 rw-p  00:00 0
>>>  [stack:2343]
>>>  7f8384ccd000-7f8384ce4000 r-xp  08:02 2186
>>>   /lib/x86_64-linux-gnu/libresolv-2.19.so
>>>  7f8384ce4000-7f8384ee4000 ---p 00017000 08:02 2186
>>>   /lib/x86_64-linux-gnu/libresolv-2.19.so
>>>  7f8384ee4000-7f8384ee5000 r--p 00017000 08:02 2186
>>>   /lib/x86_64-linux-gnu/libresolv-2.19.so
>>>  7f8384ee5000-7f8384ee6000 rw-p 00018000 08:02 2186
>>>   /lib/x86_64-linux-gnu/libresolv-2.19.so
>>>  7f8384ee6000-7f8384ee8000 rw-p  00:00 0
>>>  7f8384ee8000-7f8384eed000 r-xp  08:02 16698
>>>  /lib/x86_64-linux-gnu/libnss_dns-2.19.so
>>>  7f8384eed000-7f83850ec000 ---p 5000 08:02 16698
>>>  /lib/x86_64-linux-gnu/libnss_dns-2.19.so
>>>  7f83850ec000-7f83850ed000 r--p 4000 08:02 16698
>>>  /lib/x86_64-linux-gnu/libnss_dns-2.19.so
>>>  7f83850ed000-7f83850ee000 rw-p 5000 08:02 16698
>>>  /lib/x86_64-linux-gnu/libnss_dns-2.19.so
>>>  7f83850ee000-7f838576c000 r--s  08:06 5165
>>>   /var/lib/sss/mc/passwd
>>>  7f838576c000-7f8385773000 r-xp  08:02 14966
>>>  /lib/x86_64-linux-gnu/libnss_sss.so.2
>>>  7f8385773000-7f8385972000 ---p 7000 08:02 14966
>>>  /lib/x86_64-linux-gnu/libnss_sss.so.2
>>>  7f8385972000-7f8385973000 r--p 6000 08:02 14966
>>>  /lib/x86_64-linux-gnu/libnss_sss.so.2
>>>  7f8385973000-7f8385974000 rw-p 7000 08:02 14966
>>>  /lib/x86_64-linux-gnu/libnss_sss.so.2
>>>  7f8385974000-7f838597f000 r-xp  08:02 16704
>>>  /lib/x86_64-linux-gnu/libnss_files-2.19.so
>>>  7f838597f000-7f8385b7e000 ---p b000 08:02 16704
>>>  /lib/x86_64-linux-gnu/libnss_files-2.19.so
>>>  7f8385b7e000-7f8385b7f000 r--p a000 08:02 16704
>>>  /lib/x86_64-linux-gnu/libnss_files-2.19.so
>>>  7f8385b7f000-7f8385b8 rw-p b000 08:02 16704
>>>  /lib/x86_64-linux-gnu/libnss_files-2.19.so
>>>  7f8385b8-7f8385b8b000 r-xp  08:02 16696
>>>  /lib/x86_64-linux-gnu/libnss_nis-2.19.so
>>>  7f8385b8b000-7f8385d8a000 ---p b000 08:02 16696
>>>  /lib/x86_64-linux-gnu/libnss_nis-2.19.so
>>>  7f8385d8a000-7f8385d8b000 r--p a000 08:02 16696
>>>  /lib/x86_64-linux-gnu/libnss_nis-2.19.so
>>>  7f8385d8b000-7f8385d8c000 rw-p b000 08:02 16696
>>>  /lib/x86_64-linux-gnu/libnss_nis-2.19.so
>>>  7f8385d8c000-7f8385da3000 r-xp  08:02

Re: monit crash

2016-10-16 Thread Martin Pala
It is related to the IOException from your log - it was not catched.


> On 17 Oct 2016, at 08:51, Thomas Lau  wrote:
> 
> mind to explain what's going on?
> 
> On Mon, Oct 17, 2016 at 2:49 PM, Martin Pala  > wrote:
> Thanks for data. This problem was fixed in monit 5.7, please upgrade monit.
> 
> Best regards,
> Martin
> 
> 
>> On 17 Oct 2016, at 08:45, Thomas Lau > > wrote:
>> 
>>  monit -V
>> This is Monit version 5.6
>> Copyright (C) 2001-2013 Tildeslash Ltd. All Rights Reserved.
>> 
>> 
>> Date: Tue Oct 11 13:59:46 log file:
>> [HKT Oct 11 13:59:06] error: M/Monit: cannot open a connection to 
>> http://10.0.0.107:8080/collector  -- 
>> Connection timed out
>> [HKT Oct 11 13:59:16] error: Sendmail: Error receiving data from the 
>> mailserver 'gmailrelay.hk.domain.com ' -- 
>> Resource temporarily unavailable
>> [HKT Oct 11 13:59:46] critical : IOException: Error receiving data from the 
>> mailserver 'gmailrelay.hk.domain.com ' -- 
>> Resource temporarily unavailable
>>  raised in do_status at src/sendmail.c:119
>> 
>> 
>> 2016-10-17 14:29 GMT+08:00 Martin Pala > >:
>> Hello,
>> 
>> please can you send the following informations?:
>> 
>> 1.)  the coredump file
>> 2.) the monit binary which generated the coredump
>> 3.) which monit version it is? (monit -V)
>> 4.) monit log file
>> 
>> 
>> Best regards,
>> Martin
>> 
>> 
>>> On 17 Oct 2016, at 03:24, Thomas Lau >> > wrote:
>>> 
>>> Hi all,
>>> 
>>> we got a crash on monit main process, here is the crash report:
>>> 
>>> ProblemType: Crash
>>> Architecture: amd64
>>> Date: Tue Oct 11 13:59:46 2016
>>> DistroRelease: Ubuntu 14.04
>>> ExecutablePath: /usr/bin/monit
>>> ExecutableTimestamp: 1384665445
>>> ProcCmdline: /usr/bin/monit -c /etc/monit/monitrc
>>> ProcCwd: /
>>> ProcEnviron:
>>>  TERM=linux
>>>  PATH=(custom, no user)
>>> ProcMaps:
>>>  0040-0048 r-xp  08:02 296656 
>>> /usr/bin/monit
>>>  0068-00681000 r--p 0008 08:02 296656 
>>> /usr/bin/monit
>>>  00681000-00683000 rw-p 00081000 08:02 296656 
>>> /usr/bin/monit
>>>  00683000-00686000 rw-p  00:00 0
>>>  02315000-02357000 rw-p  00:00 0  
>>> [heap]
>>>  02357000-0238b000 rw-p  00:00 0  
>>> [heap]
>>>  7f837400-7f8374021000 rw-p  00:00 0
>>>  7f8374021000-7f837800 ---p  00:00 0
>>>  7f837c00-7f837c021000 rw-p  00:00 0
>>>  7f837c021000-7f838000 ---p  00:00 0
>>>  7f8383ccb000-7f8383ccc000 ---p  00:00 0
>>>  7f8383ccc000-7f83844cc000 rw-p  00:00 0  
>>> [stack:2355]
>>>  7f83844cc000-7f83844cd000 ---p  00:00 0
>>>  7f83844cd000-7f8384ccd000 rw-p  00:00 0  
>>> [stack:2343]
>>>  7f8384ccd000-7f8384ce4000 r-xp  08:02 2186   
>>> /lib/x86_64-linux-gnu/libresolv-2.19.so 
>>>  7f8384ce4000-7f8384ee4000 ---p 00017000 08:02 2186   
>>> /lib/x86_64-linux-gnu/libresolv-2.19.so 
>>>  7f8384ee4000-7f8384ee5000 r--p 00017000 08:02 2186   
>>> /lib/x86_64-linux-gnu/libresolv-2.19.so 
>>>  7f8384ee5000-7f8384ee6000 rw-p 00018000 08:02 2186   
>>> /lib/x86_64-linux-gnu/libresolv-2.19.so 
>>>  7f8384ee6000-7f8384ee8000 rw-p  00:00 0
>>>  7f8384ee8000-7f8384eed000 r-xp  08:02 16698  
>>> /lib/x86_64-linux-gnu/libnss_dns-2.19.so 
>>>  7f8384eed000-7f83850ec000 ---p 5000 08:02 16698  
>>> /lib/x86_64-linux-gnu/libnss_dns-2.19.so 
>>>  7f83850ec000-7f83850ed000 r--p 4000 08:02 16698  
>>> /lib/x86_64-linux-gnu/libnss_dns-2.19.so 
>>>  7f83850ed000-7f83850ee000 rw-p 5000 08:02 16698  
>>> /lib/x86_64-linux-gnu/libnss_dns-2.19.so 
>>>  7f83850ee000-7f838576c000 r--s  08:06 5165   
>>> /var/lib/sss/mc/passwd
>>>  7f838576c000-7f8385773000 r-xp  08:02 14966  
>>> /lib/x86_64-linux-gnu/libnss_sss.so.2
>>>  7f8385773000-7f8385972000 ---p 7000 08:02 14966  
>>> /lib/x86_64-linux-gnu/libnss_sss.so.2
>>>  7f8385972000-7f8385973000 r--p 6000 08:02 14966  
>>> /lib/x86_64-linux-gnu/libnss_sss.so.2
>>>  7f8385973000-7f8385974000 rw-p 7000 08:02 14966  
>>> /lib/x86_64-linux-gnu/libnss_sss.so.2
>>>  7f8385974000-7f838597f000 r-xp  08:02

Re: monit crash

2016-10-16 Thread Thomas Lau
mind to explain what's going on?

On Mon, Oct 17, 2016 at 2:49 PM, Martin Pala  wrote:

> Thanks for data. This problem was fixed in monit 5.7, please upgrade monit.
>
> Best regards,
> Martin
>
>
> On 17 Oct 2016, at 08:45, Thomas Lau  wrote:
>
>  monit -V
> This is Monit version 5.6
> Copyright (C) 2001-2013 Tildeslash Ltd. All Rights Reserved.
>
>
> Date: Tue Oct 11 13:59:46 log file:
> [HKT Oct 11 13:59:06] error: M/Monit: cannot open a connection to
> http://10.0.0.107:8080/collector -- Connection timed out
> [HKT Oct 11 13:59:16] error: Sendmail: Error receiving data from the
> mailserver 'gmailrelay.hk.domain.com' -- Resource temporarily unavailable
> [HKT Oct 11 13:59:46] critical : IOException: Error receiving data from
> the mailserver 'gmailrelay.hk.domain.com' -- Resource temporarily
> unavailable
>  raised in do_status at src/sendmail.c:119
>
>
> 2016-10-17 14:29 GMT+08:00 Martin Pala :
>
>> Hello,
>>
>> please can you send the following informations?:
>>
>> 1.)  the coredump file
>> 2.) the monit binary which generated the coredump
>> 3.) which monit version it is? (monit -V)
>> 4.) monit log file
>>
>>
>> Best regards,
>> Martin
>>
>>
>> On 17 Oct 2016, at 03:24, Thomas Lau  wrote:
>>
>> Hi all,
>>
>> we got a crash on monit main process, here is the crash report:
>>
>> ProblemType: Crash
>> Architecture: amd64
>> Date: Tue Oct 11 13:59:46 2016
>> DistroRelease: Ubuntu 14.04
>> ExecutablePath: /usr/bin/monit
>> ExecutableTimestamp: 1384665445
>> ProcCmdline: /usr/bin/monit -c /etc/monit/monitrc
>> ProcCwd: /
>> ProcEnviron:
>>  TERM=linux
>>  PATH=(custom, no user)
>> ProcMaps:
>>  0040-0048 r-xp  08:02 296656
>> /usr/bin/monit
>>  0068-00681000 r--p 0008 08:02 296656
>> /usr/bin/monit
>>  00681000-00683000 rw-p 00081000 08:02 296656
>> /usr/bin/monit
>>  00683000-00686000 rw-p  00:00 0
>>  02315000-02357000 rw-p  00:00 0
>>  [heap]
>>  02357000-0238b000 rw-p  00:00 0
>>  [heap]
>>  7f837400-7f8374021000 rw-p  00:00 0
>>  7f8374021000-7f837800 ---p  00:00 0
>>  7f837c00-7f837c021000 rw-p  00:00 0
>>  7f837c021000-7f838000 ---p  00:00 0
>>  7f8383ccb000-7f8383ccc000 ---p  00:00 0
>>  7f8383ccc000-7f83844cc000 rw-p  00:00 0
>>  [stack:2355]
>>  7f83844cc000-7f83844cd000 ---p  00:00 0
>>  7f83844cd000-7f8384ccd000 rw-p  00:00 0
>>  [stack:2343]
>>  7f8384ccd000-7f8384ce4000 r-xp  08:02 2186
>> /lib/x86_64-linux-gnu/libresolv-2.19.so
>>  7f8384ce4000-7f8384ee4000 ---p 00017000 08:02 2186
>> /lib/x86_64-linux-gnu/libresolv-2.19.so
>>  7f8384ee4000-7f8384ee5000 r--p 00017000 08:02 2186
>> /lib/x86_64-linux-gnu/libresolv-2.19.so
>>  7f8384ee5000-7f8384ee6000 rw-p 00018000 08:02 2186
>> /lib/x86_64-linux-gnu/libresolv-2.19.so
>>  7f8384ee6000-7f8384ee8000 rw-p  00:00 0
>>  7f8384ee8000-7f8384eed000 r-xp  08:02 16698
>>  /lib/x86_64-linux-gnu/libnss_dns-2.19.so
>>  7f8384eed000-7f83850ec000 ---p 5000 08:02 16698
>>  /lib/x86_64-linux-gnu/libnss_dns-2.19.so
>>  7f83850ec000-7f83850ed000 r--p 4000 08:02 16698
>>  /lib/x86_64-linux-gnu/libnss_dns-2.19.so
>>  7f83850ed000-7f83850ee000 rw-p 5000 08:02 16698
>>  /lib/x86_64-linux-gnu/libnss_dns-2.19.so
>>  7f83850ee000-7f838576c000 r--s  08:06 5165
>> /var/lib/sss/mc/passwd
>>  7f838576c000-7f8385773000 r-xp  08:02 14966
>>  /lib/x86_64-linux-gnu/libnss_sss.so.2
>>  7f8385773000-7f8385972000 ---p 7000 08:02 14966
>>  /lib/x86_64-linux-gnu/libnss_sss.so.2
>>  7f8385972000-7f8385973000 r--p 6000 08:02 14966
>>  /lib/x86_64-linux-gnu/libnss_sss.so.2
>>  7f8385973000-7f8385974000 rw-p 7000 08:02 14966
>>  /lib/x86_64-linux-gnu/libnss_sss.so.2
>>  7f8385974000-7f838597f000 r-xp  08:02 16704
>>  /lib/x86_64-linux-gnu/libnss_files-2.19.so
>>  7f838597f000-7f8385b7e000 ---p b000 08:02 16704
>>  /lib/x86_64-linux-gnu/libnss_files-2.19.so
>>  7f8385b7e000-7f8385b7f000 r--p a000 08:02 16704
>>  /lib/x86_64-linux-gnu/libnss_files-2.19.so
>>  7f8385b7f000-7f8385b8 rw-p b000 08:02 16704
>>  /lib/x86_64-linux-gnu/libnss_files-2.19.so
>>  7f8385b8-7f8385b8b000 r-xp  08:02 16696
>>  /lib/x86_64-linux-gnu/libnss_nis-2.19.so
>>  7f8385b8b000-7f8385d8a000 ---p b000 08:02 16696
>>  /lib/x86_64-linux-gnu/libnss_nis-2.19.so
>>  7f8385d8a000-7f8385d8b000 r--p a000 08:02 16696
>>  /lib/x86_64-linux-gnu/libnss_nis-2.19.so
>>  7f8385d8b000-7f8385d8c000 rw-p b000 08:02 16696
>>  /lib/x86_64-linux-gnu/libnss_nis-2.19.so
>>  7f8385d8c000-7f8385da3000 r-xp  08:02 16692
>>  /lib/x86_64-linux-gnu/libnsl-2.19.so
>>  7f8385da3000-7f8385fa2000 ---p 00017000 08:02 16692
>>  /lib/x86_64-linux-gnu/libnsl-2.19.so
>>  7f8385fa2000-7f8385fa3000 r--p 00016000 08:02 16692
>>  /lib/x86_64-linux-gnu/libnsl-2.19.so
>>  7f8385fa3000-7f8385fa4000 rw-p 00017000 08:02 16692
>>  /lib/x86_64-linux-gnu/libnsl-2.19.so
>>  7f8385fa4000-7f8385fa6000 rw-p 00

Re: monit crash

2016-10-16 Thread Martin Pala
Thanks for data. This problem was fixed in monit 5.7, please upgrade monit.

Best regards,
Martin


> On 17 Oct 2016, at 08:45, Thomas Lau  wrote:
> 
>  monit -V
> This is Monit version 5.6
> Copyright (C) 2001-2013 Tildeslash Ltd. All Rights Reserved.
> 
> 
> Date: Tue Oct 11 13:59:46 log file:
> [HKT Oct 11 13:59:06] error: M/Monit: cannot open a connection to 
> http://10.0.0.107:8080/collector  -- 
> Connection timed out
> [HKT Oct 11 13:59:16] error: Sendmail: Error receiving data from the 
> mailserver 'gmailrelay.hk.domain.com ' -- 
> Resource temporarily unavailable
> [HKT Oct 11 13:59:46] critical : IOException: Error receiving data from the 
> mailserver 'gmailrelay.hk.domain.com ' -- 
> Resource temporarily unavailable
>  raised in do_status at src/sendmail.c:119
> 
> 
> 2016-10-17 14:29 GMT+08:00 Martin Pala  >:
> Hello,
> 
> please can you send the following informations?:
> 
> 1.)  the coredump file
> 2.) the monit binary which generated the coredump
> 3.) which monit version it is? (monit -V)
> 4.) monit log file
> 
> 
> Best regards,
> Martin
> 
> 
>> On 17 Oct 2016, at 03:24, Thomas Lau > > wrote:
>> 
>> Hi all,
>> 
>> we got a crash on monit main process, here is the crash report:
>> 
>> ProblemType: Crash
>> Architecture: amd64
>> Date: Tue Oct 11 13:59:46 2016
>> DistroRelease: Ubuntu 14.04
>> ExecutablePath: /usr/bin/monit
>> ExecutableTimestamp: 1384665445
>> ProcCmdline: /usr/bin/monit -c /etc/monit/monitrc
>> ProcCwd: /
>> ProcEnviron:
>>  TERM=linux
>>  PATH=(custom, no user)
>> ProcMaps:
>>  0040-0048 r-xp  08:02 296656 
>> /usr/bin/monit
>>  0068-00681000 r--p 0008 08:02 296656 
>> /usr/bin/monit
>>  00681000-00683000 rw-p 00081000 08:02 296656 
>> /usr/bin/monit
>>  00683000-00686000 rw-p  00:00 0
>>  02315000-02357000 rw-p  00:00 0  
>> [heap]
>>  02357000-0238b000 rw-p  00:00 0  
>> [heap]
>>  7f837400-7f8374021000 rw-p  00:00 0
>>  7f8374021000-7f837800 ---p  00:00 0
>>  7f837c00-7f837c021000 rw-p  00:00 0
>>  7f837c021000-7f838000 ---p  00:00 0
>>  7f8383ccb000-7f8383ccc000 ---p  00:00 0
>>  7f8383ccc000-7f83844cc000 rw-p  00:00 0  
>> [stack:2355]
>>  7f83844cc000-7f83844cd000 ---p  00:00 0
>>  7f83844cd000-7f8384ccd000 rw-p  00:00 0  
>> [stack:2343]
>>  7f8384ccd000-7f8384ce4000 r-xp  08:02 2186   
>> /lib/x86_64-linux-gnu/libresolv-2.19.so 
>>  7f8384ce4000-7f8384ee4000 ---p 00017000 08:02 2186   
>> /lib/x86_64-linux-gnu/libresolv-2.19.so 
>>  7f8384ee4000-7f8384ee5000 r--p 00017000 08:02 2186   
>> /lib/x86_64-linux-gnu/libresolv-2.19.so 
>>  7f8384ee5000-7f8384ee6000 rw-p 00018000 08:02 2186   
>> /lib/x86_64-linux-gnu/libresolv-2.19.so 
>>  7f8384ee6000-7f8384ee8000 rw-p  00:00 0
>>  7f8384ee8000-7f8384eed000 r-xp  08:02 16698  
>> /lib/x86_64-linux-gnu/libnss_dns-2.19.so 
>>  7f8384eed000-7f83850ec000 ---p 5000 08:02 16698  
>> /lib/x86_64-linux-gnu/libnss_dns-2.19.so 
>>  7f83850ec000-7f83850ed000 r--p 4000 08:02 16698  
>> /lib/x86_64-linux-gnu/libnss_dns-2.19.so 
>>  7f83850ed000-7f83850ee000 rw-p 5000 08:02 16698  
>> /lib/x86_64-linux-gnu/libnss_dns-2.19.so 
>>  7f83850ee000-7f838576c000 r--s  08:06 5165   
>> /var/lib/sss/mc/passwd
>>  7f838576c000-7f8385773000 r-xp  08:02 14966  
>> /lib/x86_64-linux-gnu/libnss_sss.so.2
>>  7f8385773000-7f8385972000 ---p 7000 08:02 14966  
>> /lib/x86_64-linux-gnu/libnss_sss.so.2
>>  7f8385972000-7f8385973000 r--p 6000 08:02 14966  
>> /lib/x86_64-linux-gnu/libnss_sss.so.2
>>  7f8385973000-7f8385974000 rw-p 7000 08:02 14966  
>> /lib/x86_64-linux-gnu/libnss_sss.so.2
>>  7f8385974000-7f838597f000 r-xp  08:02 16704  
>> /lib/x86_64-linux-gnu/libnss_files-2.19.so 
>>  7f838597f000-7f8385b7e000 ---p b000 08:02 16704  
>> /lib/x86_64-linux-gnu/libnss_files-2.19.so 
>>  7f8385b7e000-7f8385b7f000 r--p a000 08:02 16704  
>> /lib/x86_64-linux-gnu/libnss_files-2.19.so 

Re: monit crash

2016-10-16 Thread Martin Pala
Hello,

please can you send the following informations?:

1.)  the coredump file
2.) the monit binary which generated the coredump
3.) which monit version it is? (monit -V)
4.) monit log file


Best regards,
Martin


> On 17 Oct 2016, at 03:24, Thomas Lau  wrote:
> 
> Hi all,
> 
> we got a crash on monit main process, here is the crash report:
> 
> ProblemType: Crash
> Architecture: amd64
> Date: Tue Oct 11 13:59:46 2016
> DistroRelease: Ubuntu 14.04
> ExecutablePath: /usr/bin/monit
> ExecutableTimestamp: 1384665445
> ProcCmdline: /usr/bin/monit -c /etc/monit/monitrc
> ProcCwd: /
> ProcEnviron:
>  TERM=linux
>  PATH=(custom, no user)
> ProcMaps:
>  0040-0048 r-xp  08:02 296656 
> /usr/bin/monit
>  0068-00681000 r--p 0008 08:02 296656 
> /usr/bin/monit
>  00681000-00683000 rw-p 00081000 08:02 296656 
> /usr/bin/monit
>  00683000-00686000 rw-p  00:00 0
>  02315000-02357000 rw-p  00:00 0  
> [heap]
>  02357000-0238b000 rw-p  00:00 0  
> [heap]
>  7f837400-7f8374021000 rw-p  00:00 0
>  7f8374021000-7f837800 ---p  00:00 0
>  7f837c00-7f837c021000 rw-p  00:00 0
>  7f837c021000-7f838000 ---p  00:00 0
>  7f8383ccb000-7f8383ccc000 ---p  00:00 0
>  7f8383ccc000-7f83844cc000 rw-p  00:00 0  
> [stack:2355]
>  7f83844cc000-7f83844cd000 ---p  00:00 0
>  7f83844cd000-7f8384ccd000 rw-p  00:00 0  
> [stack:2343]
>  7f8384ccd000-7f8384ce4000 r-xp  08:02 2186   
> /lib/x86_64-linux-gnu/libresolv-2.19.so 
>  7f8384ce4000-7f8384ee4000 ---p 00017000 08:02 2186   
> /lib/x86_64-linux-gnu/libresolv-2.19.so 
>  7f8384ee4000-7f8384ee5000 r--p 00017000 08:02 2186   
> /lib/x86_64-linux-gnu/libresolv-2.19.so 
>  7f8384ee5000-7f8384ee6000 rw-p 00018000 08:02 2186   
> /lib/x86_64-linux-gnu/libresolv-2.19.so 
>  7f8384ee6000-7f8384ee8000 rw-p  00:00 0
>  7f8384ee8000-7f8384eed000 r-xp  08:02 16698  
> /lib/x86_64-linux-gnu/libnss_dns-2.19.so 
>  7f8384eed000-7f83850ec000 ---p 5000 08:02 16698  
> /lib/x86_64-linux-gnu/libnss_dns-2.19.so 
>  7f83850ec000-7f83850ed000 r--p 4000 08:02 16698  
> /lib/x86_64-linux-gnu/libnss_dns-2.19.so 
>  7f83850ed000-7f83850ee000 rw-p 5000 08:02 16698  
> /lib/x86_64-linux-gnu/libnss_dns-2.19.so 
>  7f83850ee000-7f838576c000 r--s  08:06 5165   
> /var/lib/sss/mc/passwd
>  7f838576c000-7f8385773000 r-xp  08:02 14966  
> /lib/x86_64-linux-gnu/libnss_sss.so.2
>  7f8385773000-7f8385972000 ---p 7000 08:02 14966  
> /lib/x86_64-linux-gnu/libnss_sss.so.2
>  7f8385972000-7f8385973000 r--p 6000 08:02 14966  
> /lib/x86_64-linux-gnu/libnss_sss.so.2
>  7f8385973000-7f8385974000 rw-p 7000 08:02 14966  
> /lib/x86_64-linux-gnu/libnss_sss.so.2
>  7f8385974000-7f838597f000 r-xp  08:02 16704  
> /lib/x86_64-linux-gnu/libnss_files-2.19.so 
>  7f838597f000-7f8385b7e000 ---p b000 08:02 16704  
> /lib/x86_64-linux-gnu/libnss_files-2.19.so 
>  7f8385b7e000-7f8385b7f000 r--p a000 08:02 16704  
> /lib/x86_64-linux-gnu/libnss_files-2.19.so 
>  7f8385b7f000-7f8385b8 rw-p b000 08:02 16704  
> /lib/x86_64-linux-gnu/libnss_files-2.19.so 
>  7f8385b8-7f8385b8b000 r-xp  08:02 16696  
> /lib/x86_64-linux-gnu/libnss_nis-2.19.so 
>  7f8385b8b000-7f8385d8a000 ---p b000 08:02 16696  
> /lib/x86_64-linux-gnu/libnss_nis-2.19.so 
>  7f8385d8a000-7f8385d8b000 r--p a000 08:02 16696  
> /lib/x86_64-linux-gnu/libnss_nis-2.19.so 
>  7f8385d8b000-7f8385d8c000 rw-p b000 08:02 16696  
> /lib/x86_64-linux-gnu/libnss_nis-2.19.so 
>  7f8385d8c000-7f8385da3000 r-xp  08:02 16692  
> /lib/x86_64-linux-gnu/libnsl-2.19.so 
>  7f8385da3000-7f8385fa2000 ---p 00017000 08:02 16692  
> /lib/x86_64-linux-gnu/libnsl-2.19.so 
>  7f8385fa2000-7f8385fa3000 r--p 00016000 08:02 16692 

monit crash

2016-10-16 Thread Thomas Lau
Hi all,

we got a crash on monit main process, here is the crash report:

ProblemType: Crash
Architecture: amd64
Date: Tue Oct 11 13:59:46 2016
DistroRelease: Ubuntu 14.04
ExecutablePath: /usr/bin/monit
ExecutableTimestamp: 1384665445
ProcCmdline: /usr/bin/monit -c /etc/monit/monitrc
ProcCwd: /
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
ProcMaps:
 0040-0048 r-xp  08:02 296656
/usr/bin/monit
 0068-00681000 r--p 0008 08:02 296656
/usr/bin/monit
 00681000-00683000 rw-p 00081000 08:02 296656
/usr/bin/monit
 00683000-00686000 rw-p  00:00 0
 02315000-02357000 rw-p  00:00 0
 [heap]
 02357000-0238b000 rw-p  00:00 0
 [heap]
 7f837400-7f8374021000 rw-p  00:00 0
 7f8374021000-7f837800 ---p  00:00 0
 7f837c00-7f837c021000 rw-p  00:00 0
 7f837c021000-7f838000 ---p  00:00 0
 7f8383ccb000-7f8383ccc000 ---p  00:00 0
 7f8383ccc000-7f83844cc000 rw-p  00:00 0
 [stack:2355]
 7f83844cc000-7f83844cd000 ---p  00:00 0
 7f83844cd000-7f8384ccd000 rw-p  00:00 0
 [stack:2343]
 7f8384ccd000-7f8384ce4000 r-xp  08:02 2186
/lib/x86_64-linux-gnu/libresolv-2.19.so
 7f8384ce4000-7f8384ee4000 ---p 00017000 08:02 2186
/lib/x86_64-linux-gnu/libresolv-2.19.so
 7f8384ee4000-7f8384ee5000 r--p 00017000 08:02 2186
/lib/x86_64-linux-gnu/libresolv-2.19.so
 7f8384ee5000-7f8384ee6000 rw-p 00018000 08:02 2186
/lib/x86_64-linux-gnu/libresolv-2.19.so
 7f8384ee6000-7f8384ee8000 rw-p  00:00 0
 7f8384ee8000-7f8384eed000 r-xp  08:02 16698
 /lib/x86_64-linux-gnu/libnss_dns-2.19.so
 7f8384eed000-7f83850ec000 ---p 5000 08:02 16698
 /lib/x86_64-linux-gnu/libnss_dns-2.19.so
 7f83850ec000-7f83850ed000 r--p 4000 08:02 16698
 /lib/x86_64-linux-gnu/libnss_dns-2.19.so
 7f83850ed000-7f83850ee000 rw-p 5000 08:02 16698
 /lib/x86_64-linux-gnu/libnss_dns-2.19.so
 7f83850ee000-7f838576c000 r--s  08:06 5165
/var/lib/sss/mc/passwd
 7f838576c000-7f8385773000 r-xp  08:02 14966
 /lib/x86_64-linux-gnu/libnss_sss.so.2
 7f8385773000-7f8385972000 ---p 7000 08:02 14966
 /lib/x86_64-linux-gnu/libnss_sss.so.2
 7f8385972000-7f8385973000 r--p 6000 08:02 14966
 /lib/x86_64-linux-gnu/libnss_sss.so.2
 7f8385973000-7f8385974000 rw-p 7000 08:02 14966
 /lib/x86_64-linux-gnu/libnss_sss.so.2
 7f8385974000-7f838597f000 r-xp  08:02 16704
 /lib/x86_64-linux-gnu/libnss_files-2.19.so
 7f838597f000-7f8385b7e000 ---p b000 08:02 16704
 /lib/x86_64-linux-gnu/libnss_files-2.19.so
 7f8385b7e000-7f8385b7f000 r--p a000 08:02 16704
 /lib/x86_64-linux-gnu/libnss_files-2.19.so
 7f8385b7f000-7f8385b8 rw-p b000 08:02 16704
 /lib/x86_64-linux-gnu/libnss_files-2.19.so
 7f8385b8-7f8385b8b000 r-xp  08:02 16696
 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
 7f8385b8b000-7f8385d8a000 ---p b000 08:02 16696
 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
 7f8385d8a000-7f8385d8b000 r--p a000 08:02 16696
 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
 7f8385d8b000-7f8385d8c000 rw-p b000 08:02 16696
 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
 7f8385d8c000-7f8385da3000 r-xp  08:02 16692
 /lib/x86_64-linux-gnu/libnsl-2.19.so
 7f8385da3000-7f8385fa2000 ---p 00017000 08:02 16692
 /lib/x86_64-linux-gnu/libnsl-2.19.so
 7f8385fa2000-7f8385fa3000 r--p 00016000 08:02 16692
 /lib/x86_64-linux-gnu/libnsl-2.19.so
 7f8385fa3000-7f8385fa4000 rw-p 00017000 08:02 16692
 /lib/x86_64-linux-gnu/libnsl-2.19.so
 7f8385fa4000-7f8385fa6000 rw-p  00:00 0
 7f8385fa6000-7f8385faf000 r-xp  08:02 16691
 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
 7f8385faf000-7f83861ae000 ---p 9000 08:02 16691
 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
 7f83861ae000-7f83861af000 r--p 8000 08:02 16691
 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
 7f83861af000-7f83861b rw-p 9000 08:02 16691
 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
 7f83861b-7f83861b3000 r-xp  08:02 12620
 /lib/x86_64-linux-gnu/libdl-2.19.so
 7f83861b3000-7f83863b2000 ---p 3000 08:02 12620
 /lib/x86_64-linux-gnu/libdl-2.19.so
 7f83863b2000-7f83863b3000 r--p 2000 08:02 12620
 /lib/x86_64-linux-gnu/libdl-2.19.so
 7f83863b3000-7f83863b4000 rw-p 3000 08:02 12620
 /lib/x86_64-linux-gnu/libdl-2.19.so
 7f83863b4000-7f83863cd000 r-xp  08:02 172
 /lib/x86_64-linux-gnu/libaudit.so.1.0.0
 7f83863cd000-7f83865cc000 ---p 00019000 08:02 172
 /lib/x86_64-linux-gnu/libaudit.so.1.0.0
 7f83865cc000-7f83865cd000 r--p 00018000 08:02 172
 /lib/x86_64-linux-gnu/libaudit.so.1.0.0
 7f83865cd000-7f83865ce000 rw-p 00019000 08:02 172
 /lib/x86_64-linux-gnu/libaudit.so.1.0.0
 7f83865ce000-7f83865d8000 rw-p  00:00 0
 7f83865d8000-7f8386793000 r-xp  08:02 16701
 /lib/x86_64-linux-gnu/libc-2.19.so
 7f8386793000-7f8386992000 ---p 001bb000 08:02 16701
 /lib/x86_64-linux-gnu/libc-2.19.so
 7f8386992000-7f8386996000 r--p 001ba000 08:02 16701
 /lib/x86_64-linux-gnu/libc-2.19.so
 7f8386996000-7f8386998000 rw-p 001be000 08:0

Re: [monit] Crash on Ubuntu Hardy when service times out

2009-05-28 Thread James Le Cuirot
On Thu, 28 May 2009 23:23:35 +0200
Martin Pala  wrote:

> the described problem is fixed in CVS already, we'll release  
> monit-5.0.3 tomorrow.

Fantastic. Glad you guys are on top of these things. :)

Thanks,
James


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general


Re: [monit] Crash on Ubuntu Hardy when service times out

2009-05-28 Thread Martin Pala

Hi,

the described problem is fixed in CVS already, we'll release  
monit-5.0.3 tomorrow.


Workaround is to temporarily disable timeout and unmonitor statements  
in monitrc:


  #if  restarts within  cycles then timeout
  #if <...> then unmonitor


Thanks,
Martin



On May 28, 2009, at 11:04 PM, James Le Cuirot wrote:


Hi guys,

I'm not entirely sure how to reproduce this but it's happened a few
times to me today already. If a service times out then Monit aborts
with the following error. Any subsequent attempts to start Monit will
give this error and I cannot successfully start it again until I
delete /var/lib/monit/monit.state.

monit: gc.c:167: gc_event: Assertion
`pthread_mutex_destroy(&(*e)->mutex) == 0' failed.

There's nothing particularly unusual about my setup. I'm running the
64-bit version of Ubuntu Hardy. I'm using Monit 5.0.2, which I built
from source. I have boat loads of experience in compiling from source
so I don't think I messed up there. I'm using M/Monit but I doubt
that's related. I first noticed this when trying the example MySQL
configuration posted on the Monit wiki.

The only other thing that's worth mentioning is that it's a quad core
machine and the system is registering 8 CPUs due to hyperthreading
being enabled by default on Hardy. The error looks concurrency- 
related.


Regards,
James


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general




--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general


[monit] Crash on Ubuntu Hardy when service times out

2009-05-28 Thread James Le Cuirot
Hi guys,

I'm not entirely sure how to reproduce this but it's happened a few
times to me today already. If a service times out then Monit aborts
with the following error. Any subsequent attempts to start Monit will
give this error and I cannot successfully start it again until I
delete /var/lib/monit/monit.state.

monit: gc.c:167: gc_event: Assertion
`pthread_mutex_destroy(&(*e)->mutex) == 0' failed.

There's nothing particularly unusual about my setup. I'm running the
64-bit version of Ubuntu Hardy. I'm using Monit 5.0.2, which I built
from source. I have boat loads of experience in compiling from source
so I don't think I messed up there. I'm using M/Monit but I doubt
that's related. I first noticed this when trying the example MySQL
configuration posted on the Monit wiki.

The only other thing that's worth mentioning is that it's a quad core
machine and the system is registering 8 CPUs due to hyperthreading
being enabled by default on Hardy. The error looks concurrency-related.

Regards,
James


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general