Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eP4Ok-0001ws-7l for pgsql-performance@arkaria.postgresql.org; Wed, 13 Dec 2017 10:36:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eP4Oj-0007sV-BQ for pgsql-performance@arkaria.postgresql.org; Wed, 13 Dec 2017 10:36:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eP4Oj-0007sL-4f for pgsql-performance@lists.postgresql.org; Wed, 13 Dec 2017 10:36:21 +0000 Received: from mx1.mailbox.org ([80.241.60.212]) by magus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eP4Og-0003yO-AV for pgsql-performance@postgresql.org; Wed, 13 Dec 2017 10:36:20 +0000 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 132004784E; Wed, 13 Dec 2017 11:36:15 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id raD7xwVvmnWW; Wed, 13 Dec 2017 11:36:13 +0100 (CET) Message-ID: <1513161371.5128.3.camel@cybertec.at> Subject: Re: CPU 100% usage caused by unknown postgres process.. From: Laurenz Albe To: Dinesh Chandra 12108 , "pgsql-performance@postgresql.org" Date: Wed, 13 Dec 2017 11:36:11 +0100 In-Reply-To: <68dd64b2a09f4fd8afe9582a4e23641e@cyient.com> References: <68dd64b2a09f4fd8afe9582a4e23641e@cyient.com> Organization: Cybertec Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Dinesh Chandra 12108 wrote: > My CPU utilization is going to 100% in PostgreSQL because of one unknown process /x3303400001 is running from postgres user. > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 19885 postgres 20 0 192684 3916 1420 S 99.3 0.1 5689:04 x3303400001 > > The same file is automatically created in Postgres Cluster also. I am using Postgresql-9.3. > > Kindly suggest how can I resolve this issue. I don't know, but the same problem has been reported on Stackoverflow: https://stackoverflow.com/q/46617329/6464308 If your queries look similar, then you might indeed be the victim of an attack. Figure out where the function and the executable come from. In case of doubt, disconnect the server from the network. Yours, Laurenz Albe