pcp
[Top] [All Lists]

Re: [pcp] MySQL PMDA silently exits

To: chandana@xxxxxxxxxxxxx
Subject: Re: [pcp] MySQL PMDA silently exits
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 17 Apr 2013 01:47:54 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <516E0306.1070701@xxxxxxxxxxxxx>
References: <516E0306.1070701@xxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: Psb/E9wsWVup3qEFQpubhQNjGhyfLw==
Thread-topic: MySQL PMDA silently exits

----- Original Message -----
> All,
> 
> I have a problem where the MySQL pmda silently dies, and I can't see why.
> 
> I have given below the PMCD and PMDA logs, and I cant see any useful
> failure signatures.
> ...
> MYSQL PMDA dies - PMCD log
> ==========================
> 
> [Wed Apr 17 10:44:56] pmcd(26050) Info: PMNS file "DEFAULT" is unchanged
> [Wed Apr 17 11:40:13] pmcd(26050) Info: pmcd caught SIGTERM from
> pid=23541 uid=0
> [Wed Apr 17 11:40:14] pmcd(26050) Info: CleanupAgent ...
> Cleanup "process" agent (dom 71): terminated, exit(0)
> [Wed Apr 17 11:40:14] pmcd(26050) Info: CleanupAgent ...
> Cleanup "mysql" agent (dom 66): terminated, exit(1)
> [Wed Apr 17 11:40:14] pmcd(26050) Info: pmcd Shutdown
> 
> Log finished Wed Apr 17 11:40:14 2013
> 
> PMDA log
> =========
> Log for pmdamysql on guinness-a.m4u.com.au started Wed Apr 17 10:44:56 2013
> 
> [Wed Apr 17 10:44:56] pmdamysql(21980) Warning: cannot find the user pcp
> to switch to

(erm, thats a bit of a worry - how did you get into that state?  I don't
think that'll be the cause of the problem here though)

> [Wed Apr 17 10:45:01] pmdamysql(21980) Info: MySQL connection established
> 
> 
> Log finished Wed Apr 17 11:40:13 2013
> 

So, the last line suggests pmdamysql is shutting itself down cleanly,
as does the pmcd.log line above.

Its odd that pmcd shuts down within a second of pmdamysql too - this
all looks a bit like a regular clean shutdown (service pmcd stop) -
are you sure pmdamysql exited inappropriately here?

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>