Some connections are just hangin' KILL THEM
Jake has covered in the past how to see connections and their queries in postgres with
select * from pg_stat_activity;
It returns a pid column and now you can use that pid to do these processes harm.
select pg_terminate_backend(pid) from pg_stat_activity where THERES THAT QUERY GET IT
Tweet