Re: PostgreSQL not quitting on akonadictl stop?

Daniel Vrátil <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <42044917.fMDQidcC6G@brokkr>
On Friday, 12 April 2019 19:42:48 CEST Martin Steigerwald wrote:
> Hi!
> 
> % akonadictl stop
> 
> wait… wait… wait… wait…
> 
> % ps aux  | grep "[p]ostgres"
> martin   26084  0.0  0.1 213892 26660 ?        S    19:23   0:00
> /usr/lib/postgresql/11/bin/postgres -D
> /home/martin/.local/share/akonadi/db_data -k/tmp/akonadi-martin.wTqoXj -h
> martin   26088  0.0  0.0 213892  3948 ?        Ss   19:23   0:00 postgres:
> checkpointer martin   26089  0.0  0.0 213892  5816 ?        Ss   19:23  
> 0:00 postgres: background writer martin   26090  0.2  0.0 213892  9108 ?   
>     Ss   19:23   0:00 postgres: walwriter martin   26091  0.0  0.0 214300 
> 6528 ?        Ss   19:23   0:00 postgres: autovacuum launcher martin  
> 26092  0.0  0.0  68940  4872 ?        Ss   19:23   0:00 postgres: stats
> collector martin   26093  0.0  0.0 214292  6732 ?        Ss   19:23   0:00
> postgres: logical replication launcher
> 
> Anyone else seen this?
> 
> It goes away with a SIGTERM on "/usr/lib/postgresql/11/bin/postgres"
> process.
> 
> Are these left over processes that PostgreSQL would reuse when being
> started again by "akonadictl stop"? Or would I risk PostgreSQL running
> *twice* when starting Akonadi again?

Works for me just fine. Can you check if the Akonadi Server maybe crashes on 
shutdown, which would prevent it from stopping the DB server?

> 
> Thanks,


-- 
Daniel Vrátil
www.dvratil.cz | [email protected]
IRC: dvratil on Freenode (#kde, #kontact, #akonadi, #fedora-kde)

GPG Key: 0x4D69557AECB13683
Fingerprint: 0ABD FA55 A4E6 BEA9 9A83 EA97 4D69 557A ECB1 3683
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEECr36VaTmvqmag+qXTWlVeuyxNoMFAly3LGsACgkQTWlVeuyx
NoP82w//Q9ZbFbLrt5aspvJXPb+wcOaJgawbTfHA4t51H5Rr8bxfOu2lCEryxvZ0
KQhFdfsB0bMNJWSiyN/kyn4F6R6MUbrFa+XOGlXXUNZLyx7V3l3qvs4M2R1qODre
5y9mAZEWFMNck0/RRbKEP6Dgl1fjw3hSJ2f5hkwFchJbz388n49lxKjQCyrcLuHv
vfUUVMrKnbHh0GPxzo+NZ2Epshm4X3eaaXM5Xus7qvEZiSsLB36zIEVVQ0X8byZ8
q20rkLPFgwVpG9E3iPfN5lrA7pg485zbP7gMD392EdBSlY7528I/HD/pmFP7AmyN
m18+oVOXJROQ889e+68wN7JLEkQJ5sTjFkOAVdPF2wjC2yV4716UyrHNvxg7lHuX
9x1o8aw2DoDS3JFjT2QVutBoNDGXCCS3AMg+easR9zDWx/3nIsaaj0mXLoE5/5Qn
pIGFvWANvIjwpzCRJj2ptlG1I5JHADWCodTdH+rQ/62gl0XdqdpVak/8T027scFw
962u2esOEsEefLE8Z4dbszcX7no89oMsXG4WhlBD4Ow7T0ftqiz79tBGcCN9RiK7
e9wLhfAuuQYNbxoxoYmHn2GCQNwWIfG12lLKpqds5KtNduOg/BV9b37XniOWTVRs
qPyk3uZyeDymc1fgQ11KNIHuSit2yrhVhHuxGzSLckj9pSdoGOM=
=k4LI
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.