Re: ZFS + PostgreSQL

Andrej Sossi <[email protected]> Thu, 4 Dec 2014 10:04:53 +0100
Newsgroups gmane.os.freebsd.italian.esperti
Organization DOTCOM S.R.L.
Message-ID <[email protected]>
On 04. 12. 2014 08:08, Andrea Venturoli wrote:
> On 12/03/14 22:54, Andrej Sossi wrote:
>
>> Spegnendo l'applicativo non tutti i processi di PostgreSQL vengono
>> stoppati ma rimangono in uno stato di attesa.
>
> "select * from pg_stat_activity;" cosa dice?
>
>   bye
>      av.

verificando la vista pg_stat_activity vedo che ci sono parecchie 
connessioni (10 fino a 20) nello stato 'idle in transaction' e 
tipicamente solo poche (fino a 5) nello stato 'active', le rimanenti 
rimangono in 'idle'.
Cioè non sembra che PostgreSQL sia impegnato tanto sulla CPU.

iostat -t da -C -w 1 -x

Durante il rallentamento del sistema mi dava la colonna %b mediamente 
intorno a 20 o 30 con sporadici (molto sporadici) picchi intorno al 100 
per 1 o due secondi.

-- 
Cordiali saluti
Sossi Andrej
-------------------------
DOTCOM Information technology

Via Machiavelli, 28
34132 - Trieste (TS)
Italy

tel: +39 040 9828090
fax: +39 040 0641954
E-mail: [email protected]
----------------------------

Ai sensi del D.lgs n. 196 del 30.06.03 (Codice Privacy) si precisa che 
le informazioni contenute in questo messaggio sono riservate e ad uso 
esclusivo del destinatario. Qualora il messaggio in parola Le fosse 
pervenuto per errore, La preghiamo di eliminarlo senza copiarlo e di non 
inoltrarlo a terzi, dandocene gentilmente comunicazione. Grazie

This message, for the D.lgs n. 196 / 30.06.03 (Privacy Code), may 
contain confidential and/or privileged information. If you are not the 
addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose or take any action based on this message or any 
information herein. If you have received this message in error, please 
advise the sender immediately by reply e-mail and delete this message. 
Thank you for your cooperation.

_______________________________________________
Esperti mailing list
[email protected]
http://mailman.gufi.org/mailman/listinfo/esperti