On Tue, Jan 10, 2017 at 1:28 PM, Edmundo Robles <edmu...@sw-argos.com>
wrote:

> ok, then  is  better kill one by one!
>
> On Tue, Jan 10, 2017 at 12:16 PM, Melvin Davidson <melvin6...@gmail.com>
> wrote:
>
>>
>>
>> On Tue, Jan 10, 2017 at 1:07 PM, Edmundo Robles <edmu...@sw-argos.com>
>> wrote:
>>
>>> I have a lot of parse waiting can  i kill that process safely?  if
>>> restart postgresql will have problems at recovery?
>>>
>>> On Tue, Jan 10, 2017 at 12:02 PM, Melvin Davidson <melvin6...@gmail.com>
>>> wrote:
>>>
>>>>
>>>>
>>>> 2017-01-10 12:58 GMT-05:00 Edmundo Robles <edmu...@sw-argos.com>:
>>>>
>>>>> whe i do a ps -fea | grep postgres this is the  output
>>>>> ostgres 11436  2467  0 11:41 ?        00:00:01 postgres: argos_admin
>>>>> vacia 127.0.0.1(54880) idle
>>>>>
>>>>> postgres 19648  2467  0 11:46 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(60858) idle
>>>>>
>>>>> postgres 19649  2467  0 11:46 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(60859) idle
>>>>>
>>>>> postgres 19653  2467  0 11:46 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(60863) idle
>>>>>
>>>>> postgres 19656  2467  0 11:46 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(60866) idle
>>>>>
>>>>> postgres 19657  2467  0 11:46 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(60867) idle
>>>>>
>>>>> postgres 20253  2467  0 11:46 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(32961) idle
>>>>>
>>>>> postgres 21280  2467  0 11:47 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(33804) idle
>>>>>
>>>>> postgres 21692  2467  0 11:48 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(33840) idle
>>>>>
>>>>> postgres 21817  2467  0 11:48 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(33948) idle
>>>>>
>>>>> postgres 21819  2467  0 11:48 ?        00:00:01 postgres: argos_admin
>>>>> vacia 127.0.0.1(33949) idle
>>>>>
>>>>> postgres 21823  2467  0 11:48 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(33953) idle
>>>>>
>>>>> postgres 21825  2467  0 11:48 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(33955) idle
>>>>>
>>>>> postgres 21844  2467  0 11:48 ?        00:00:01 postgres: argos_admin
>>>>> vacia 127.0.0.1(33974) idle
>>>>>
>>>>> postgres 22576  2467  0 11:49 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(34604) idle
>>>>>
>>>>> postgres 22713  2467  0 11:49 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(34673) idle
>>>>>
>>>>> postgres 22811  2467  0 11:49 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(34718) SELECT waiting
>>>>>
>>>>> postgres 22825  2467  0 11:49 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(34512) idle
>>>>>
>>>>> postgres 22828  2467  0 11:49 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(34515) idle
>>>>>
>>>>> postgres 22903  2467  0 11:49 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(34578) idle
>>>>>
>>>>> postgres 22925  2467  0 11:49 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(34600) idle
>>>>>
>>>>> postgres 22926  2467  0 11:49 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(34601) idle
>>>>>
>>>>> postgres 22928  2467  0 11:49 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(34604) idle
>>>>>
>>>>> postgres 22929  2467  0 11:49 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(34605) idle
>>>>>
>>>>> postgres 22939  2467  0 11:49 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(34614) idle
>>>>>
>>>>> postgres 23510  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(34953) idle
>>>>>
>>>>> postgres 23511  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(34954) idle
>>>>>
>>>>> postgres 23512  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(34955) idle
>>>>>
>>>>> postgres 23516  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(34957) idle
>>>>>
>>>>> postgres 23520  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(34959) idle
>>>>>
>>>>> postgres 23549  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(34980) SELECT waiting
>>>>>
>>>>> postgres 23584  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(35002) idle
>>>>>
>>>>> postgres 23612  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(35006) idle
>>>>>
>>>>> postgres 23623  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(35227) idle
>>>>>
>>>>> postgres 23638  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(35231) idle
>>>>>
>>>>> postgres 23644  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(35017) idle
>>>>>
>>>>> postgres 23658  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(35025) idle
>>>>>
>>>>> postgres 23663  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(35244) SELECT waiting
>>>>>
>>>>> postgres 23674  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(35249) idle
>>>>>
>>>>> postgres 23685  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(35254) idle
>>>>>
>>>>> postgres 23726  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(35056) idle
>>>>>
>>>>> postgres 23731  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(35275) idle
>>>>>
>>>>> postgres 23734  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(35060) SELECT waiting
>>>>>
>>>>> postgres 23736  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(35280) idle
>>>>>
>>>>> postgres 23747  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(35067) idle
>>>>>
>>>>> postgres 23756  2467  0 11:50 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(35071) SELECT waiting
>>>>>
>>>>> postgres 23773  2467  0 11:51 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(35296) SELECT waiting
>>>>>
>>>>> postgres 23788  2467  0 11:51 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(35086) idle
>>>>>
>>>>> postgres 23794  2467  0 11:51 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(35090) SELECT waiting
>>>>>
>>>>> postgres 24298  2467  0 11:51 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(35567) SELECT waiting
>>>>>
>>>>> postgres 24300  2467  0 11:51 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(35351) SELECT waiting
>>>>>
>>>>> postgres 24376  2467  0 11:51 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(35407) idle
>>>>>
>>>>> postgres 25341  2467  0 11:53 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(36129) SELECT waiting
>>>>>
>>>>> postgres 27028  2467  0 11:54 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37151) SELECT waiting
>>>>>
>>>>> postgres 27032  2467  0 11:54 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37370) idle
>>>>>
>>>>> postgres 27038  2467  0 11:54 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37156) SELECT waiting
>>>>>
>>>>> postgres 27042  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37375) idle
>>>>>
>>>>> postgres 27047  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37161) SELECT waiting
>>>>>
>>>>> postgres 27052  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37381) idle
>>>>>
>>>>> postgres 27057  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37167) idle
>>>>>
>>>>> postgres 27064  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37386) SELECT waiting
>>>>>
>>>>> postgres 27069  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37172) idle
>>>>>
>>>>> postgres 27076  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37392) SELECT waiting
>>>>>
>>>>> postgres 27081  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37178) idle
>>>>>
>>>>> postgres 27086  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37397) idle
>>>>>
>>>>> postgres 27093  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37184) idle
>>>>>
>>>>> postgres 27096  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37403) idle
>>>>>
>>>>> postgres 27103  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37188) SELECT waiting
>>>>>
>>>>> postgres 27108  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37407) idle
>>>>>
>>>>> postgres 27113  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37192) SELECT waiting
>>>>>
>>>>> postgres 27118  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37411) idle
>>>>>
>>>>> postgres 27120  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37196) idle
>>>>>
>>>>> postgres 27125  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37417) idle
>>>>>
>>>>> postgres 27134  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37202) idle
>>>>>
>>>>> postgres 27136  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37421) idle
>>>>>
>>>>> postgres 27140  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37206) SELECT waiting
>>>>>
>>>>> postgres 27212  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37429) idle
>>>>>
>>>>> postgres 27215  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37214) idle
>>>>>
>>>>> postgres 27221  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37434) SELECT waiting
>>>>>
>>>>> postgres 27227  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37220) idle
>>>>>
>>>>> postgres 27230  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37439) idle
>>>>>
>>>>> postgres 27237  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37224) idle
>>>>>
>>>>> postgres 27242  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37443) idle
>>>>>
>>>>> postgres 27251  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37232) SELECT waiting
>>>>>
>>>>> postgres 27258  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37453) idle
>>>>>
>>>>> postgres 27263  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37238) SELECT waiting
>>>>>
>>>>> postgres 27265  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37457) SELECT waiting
>>>>>
>>>>> postgres 27276  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37246) idle
>>>>>
>>>>> postgres 27280  2467  0 11:55 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37465) idle
>>>>>
>>>>> postgres 27995  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(37718) idle
>>>>>
>>>>> postgres 28001  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia ::1(37939) SELECT waiting
>>>>>
>>>>> postgres 28697  2467 22 11:56 ?        00:00:03 postgres: argos_admin
>>>>> vacia 127.0.0.1(38326) SELECT
>>>>>
>>>>> postgres 28850  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38472) PARSE waiting
>>>>>
>>>>> postgres 28856  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38476) PARSE waiting
>>>>>
>>>>> postgres 28859  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38479) SELECT waiting
>>>>>
>>>>> postgres 28860  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38480) PARSE waiting
>>>>>
>>>>> postgres 28862  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38482) PARSE waiting
>>>>>
>>>>> postgres 28863  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38483) PARSE waiting
>>>>>
>>>>> postgres 28864  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38484) PARSE waiting
>>>>>
>>>>> postgres 28865  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38485) PARSE waiting
>>>>>
>>>>> postgres 28866  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38486) PARSE waiting
>>>>>
>>>>> postgres 28867  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38487) PARSE waiting
>>>>>
>>>>> postgres 28868  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38488) PARSE waiting
>>>>>
>>>>> postgres 28869  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38489) PARSE waiting
>>>>>
>>>>> postgres 28870  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38490) PARSE waiting
>>>>>
>>>>> postgres 28873  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38493) PARSE waiting
>>>>>
>>>>> postgres 28874  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38494) PARSE waiting
>>>>>
>>>>> postgres 28876  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38496) PARSE waiting
>>>>>
>>>>> postgres 28877  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38497) PARSE waiting
>>>>>
>>>>> postgres 28880  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38500) PARSE waiting
>>>>>
>>>>> postgres 28881  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38501) SELECT waiting
>>>>>
>>>>> postgres 28882  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38502) PARSE waiting
>>>>>
>>>>> postgres 28884  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38503) PARSE waiting
>>>>>
>>>>> postgres 28885  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38504) PARSE waiting
>>>>>
>>>>> postgres 28887  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38505) PARSE waiting
>>>>>
>>>>> postgres 28888  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38506) PARSE waiting
>>>>>
>>>>> postgres 28889  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38507) PARSE waiting
>>>>>
>>>>> postgres 28890  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38508) PARSE waiting
>>>>>
>>>>> postgres 28891  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38509) PARSE waiting
>>>>>
>>>>> postgres 28892  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38510) PARSE waiting
>>>>>
>>>>> postgres 28893  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38511) PARSE waiting
>>>>>
>>>>> postgres 28894  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38512) PARSE waiting
>>>>>
>>>>> postgres 28896  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38514) PARSE waiting
>>>>>
>>>>> postgres 28899  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38517) PARSE waiting
>>>>>
>>>>> postgres 28900  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38519) PARSE waiting
>>>>>
>>>>> postgres 28903  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38520) PARSE waiting
>>>>>
>>>>> postgres 28904  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38521) PARSE waiting
>>>>>
>>>>> postgres 28905  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38522) PARSE waiting
>>>>>
>>>>> postgres 28910  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38525) PARSE waiting
>>>>>
>>>>> postgres 28912  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38527) PARSE waiting
>>>>>
>>>>> postgres 28918  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38532) PARSE waiting
>>>>>
>>>>> postgres 28920  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38533) PARSE waiting
>>>>>
>>>>> postgres 28921  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38534) PARSE waiting
>>>>>
>>>>> postgres 28922  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38535) PARSE waiting
>>>>>
>>>>> postgres 28924  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38537) PARSE waiting
>>>>>
>>>>> postgres 28927  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38540) PARSE waiting
>>>>>
>>>>> postgres 28928  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38541) PARSE waiting
>>>>>
>>>>> postgres 28929  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38542) PARSE waiting
>>>>>
>>>>> postgres 28930  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38543) PARSE waiting
>>>>>
>>>>> postgres 28931  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38544) PARSE waiting
>>>>>
>>>>> postgres 28932  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38545) PARSE waiting
>>>>>
>>>>> postgres 28933  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38546) PARSE waiting
>>>>>
>>>>> postgres 28934  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38547) PARSE waiting
>>>>>
>>>>> postgres 28935  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38548) PARSE waiting
>>>>>
>>>>> postgres 28936  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38549) PARSE waiting
>>>>>
>>>>> postgres 28938  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38551) PARSE waiting
>>>>>
>>>>> postgres 28940  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38553) PARSE waiting
>>>>>
>>>>> postgres 28942  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38555) PARSE waiting
>>>>>
>>>>> postgres 28947  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38558) PARSE waiting
>>>>>
>>>>> postgres 28948  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38559) PARSE waiting
>>>>>
>>>>> postgres 28949  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38560) PARSE waiting
>>>>>
>>>>> postgres 28950  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38561) PARSE waiting
>>>>>
>>>>> postgres 28951  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38562) PARSE waiting
>>>>>
>>>>> postgres 28952  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38564) PARSE waiting
>>>>>
>>>>> postgres 28957  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38568) PARSE waiting
>>>>>
>>>>> postgres 28961  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38570) PARSE waiting
>>>>>
>>>>> postgres 28965  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38575) PARSE waiting
>>>>>
>>>>> postgres 28967  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38577) PARSE waiting
>>>>>
>>>>> postgres 28968  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38578) PARSE waiting
>>>>>
>>>>> postgres 28969  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38579) PARSE waiting
>>>>>
>>>>> postgres 28970  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38580) PARSE waiting
>>>>>
>>>>> postgres 28971  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38581) PARSE waiting
>>>>>
>>>>> postgres 28974  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38582) PARSE waiting
>>>>>
>>>>> postgres 28975  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38583) PARSE waiting
>>>>>
>>>>> postgres 28977  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38585) PARSE waiting
>>>>>
>>>>> postgres 28978  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38586) PARSE waiting
>>>>>
>>>>> postgres 28979  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38587) PARSE waiting
>>>>>
>>>>> postgres 28980  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38588) PARSE waiting
>>>>>
>>>>> postgres 28981  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38589) PARSE waiting
>>>>>
>>>>> postgres 28982  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38590) PARSE waiting
>>>>>
>>>>> postgres 28983  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38591) PARSE waiting
>>>>>
>>>>> postgres 28984  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38592) PARSE waiting
>>>>>
>>>>> postgres 28986  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38594) PARSE waiting
>>>>>
>>>>> postgres 28987  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38595) PARSE waiting
>>>>>
>>>>> postgres 28988  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38596) PARSE waiting
>>>>>
>>>>> postgres 28991  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38599) PARSE waiting
>>>>>
>>>>> postgres 28992  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38600) PARSE waiting
>>>>>
>>>>> postgres 28993  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38601) PARSE waiting
>>>>>
>>>>> postgres 28995  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38603) PARSE waiting
>>>>>
>>>>> postgres 28999  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38605) PARSE waiting
>>>>>
>>>>> postgres 29002  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38608) PARSE waiting
>>>>>
>>>>> postgres 29003  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38609) PARSE waiting
>>>>>
>>>>> postgres 29005  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38611) PARSE waiting
>>>>>
>>>>> postgres 29013  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38615) SELECT waiting
>>>>>
>>>>> postgres 29046  2467  0 11:56 ?        00:00:00 postgres: argos_admin
>>>>> vacia 127.0.0.1(38634) SELECT waiting
>>>>>
>>>>> root     29071  6468  0 11:56 pts/2    00:00:00 grep postgres
>>>>>
>>>>>
>>>>> On Tue, Jan 10, 2017 at 11:56 AM, Edmundo Robles <edmu...@sw-argos.com
>>>>> > wrote:
>>>>>
>>>>>> how can i  detect and cancel the process??
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>>
>>>> Perhaps this scripts will help:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *SELECT c.datname,       c.pid as pid,       c.client_addr,
>>>> c.usename as user,       c.query,       CASE WHEN c.waiting =
>>>> TRUE            THEN 'BLOCKED'            ELSE 'no'        END as
>>>> waiting,      l.pid as blocked_by,          c.query_start,
>>>> current_timestamp - c.query_start as duration   FROM pg_stat_activity c
>>>> LEFT JOIN pg_locks l1 ON (c.pid = l1.pid and not l1.granted)  LEFT JOIN
>>>> pg_locks l2 on (l1.relation = l2.relation and l2.granted)  LEFT JOIN
>>>> pg_stat_activity l ON (l2.pid = l.pid)  LEFT JOIN pg_stat_user_tables t ON
>>>> (l1.relation = t.relid) WHERE pg_backend_pid() <> c.pidORDER BY
>>>> datname,         query_start;*
>>>>
>>>> --
>>>> *Melvin Davidson*
>>>> I reserve the right to fantasize.  Whether or not you
>>>> wish to share my fantasy is entirely up to you.
>>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>
>> *Your best option is to look at the blocking process and decide if you
>> need to kill that. *
>>
>> *If you kill a process, the query or transactions will be rolled back.*
>>
>> *If you restart postgres, then ALL transactions in progress get rolled
>> back and you have to wait *
>>
>> *for all WAL files to get processed until last complete checkpoint.*
>>
>> --
>> *Melvin Davidson*
>> I reserve the right to fantasize.  Whether or not you
>> wish to share my fantasy is entirely up to you.
>>
>
>
>
> --
>
>
*Why not just kill the blocking process first? Then everything else will
proceed.*

-- 
*Melvin Davidson*
I reserve the right to fantasize.  Whether or not you
wish to share my fantasy is entirely up to you.

Reply via email to