Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jyIUQ-0004EY-Cw for pgsql-general@arkaria.postgresql.org; Wed, 22 Jul 2020 17:25:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jyIUO-0005OG-1a for pgsql-general@arkaria.postgresql.org; Wed, 22 Jul 2020 17:25:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jyIUN-0005O9-Nz for pgsql-general@lists.postgresql.org; Wed, 22 Jul 2020 17:25:07 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jyIUL-0001tg-7K for pgsql-general@postgresql.org; Wed, 22 Jul 2020 17:25:06 +0000 Received: by mail-pl1-x642.google.com with SMTP id k4so1319599pld.12 for ; Wed, 22 Jul 2020 10:25:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:disposition-notification-to:date :user-agent:mime-version:content-language; bh=30QaSO/7BwACf0Dyz8qdE8WE2jN7aV1H7/m30NJu9M4=; b=HRVm+WpDPnCjodAz0A0ipHTIIxt6fgshwPvLQJh9MvFNrJkROnkxzzdE/vMfTNxtBI ztcmaPx1HreiIlPRZJEz68s1aRvZEGsnlOpICyKxXCpdDt0kjhOcPJPOFilJ1XRG9Qg+ zSuwEMbNvtDj5Ns9wJPh9EFVUzZFWCyPgC6ZW8aN3b2e8W2drDP5SLzvSSHsJCTFPC8Z DgMZHrvhoGKlWmBfAQVYV4jb1PiXZm7FLyawMQD48+cm5GWoAlj06+F5UUdX8ShxK1SS wHS/FVzUFxhIwPgUTRYc9e1gAqtDInD2DmalsqNhqdy/tWAsjBDk3HiJ65mkSlKOQ9x/ 0CJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id :disposition-notification-to:date:user-agent:mime-version :content-language; bh=30QaSO/7BwACf0Dyz8qdE8WE2jN7aV1H7/m30NJu9M4=; b=YSi0YLBsRthYFuRn/opyrzFoItqNcXemtlCBtnVMfyIlU0fhdJxxciHjHHwqe0gE1C mXkxEXLuGnXmomyDS/2M6zDNIGVETZzCMWjB0u9pte4ICw8fpnhxzA9iNIu2KAUaHR7W hp/4cfnjPQxFSwcpqnLTVU0OWYfWGlQwCSjrWTEnAHd2tCorIZC4f7AyTHJKdVHw2odI CDe4GssXUr5JvqPcIeyMOUDwecgPh2AbBmVBybZLC1xQFVIj5Mnovlv7MtcgD3anN8AF a0CskzGpXuEsQASHDiKEL3/RTMHA24kKuGCPUVJLfjVmge3SOtlrwV3xRRzH/H+qpAD7 GUnw== X-Gm-Message-State: AOAM5338432d5/Xp5aM4tN+MB790Wi0aGT8WePBqcIE+mh55GTaW0dnf Kw8kk1AZlEdNQLzSg6R6k4E= X-Google-Smtp-Source: ABdhPJyP6RFGEwDkK9A5NE47HupGXADfzuQpIkYzGYv6P1O4z0YbDff49KXSA6ehHdYLjBqRpGAqJA== X-Received: by 2002:a17:902:9349:: with SMTP id g9mr399927plp.313.1595438704198; Wed, 22 Jul 2020 10:25:04 -0700 (PDT) Received: from [10.0.9.18] ([118.137.79.174]) by smtp.gmail.com with ESMTPSA id g10sm170760pfr.164.2020.07.22.10.25.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Jul 2020 10:25:01 -0700 (PDT) To: pgsql-general@postgresql.org From: Surya Widyanto Subject: Slow or Cannot Connect to PostgreSQL Instance Service on Windows 10 Message-ID: <78b962c2-3f5e-9747-b945-f0899455817f@gmail.com> Disposition-Notification-To: Surya Widyanto Date: Thu, 23 Jul 2020 00:24:53 +0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------25F7122378373E9FD5F67748" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------25F7122378373E9FD5F67748 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi, I have PostgreSQL v12.3 (x64) installed on my Laptop running Windows 10 Home Single Language (64-bit). In two or three times since I fresh install the PostgreSQL and windows on 17-05-2020, 06:04:56 (GMT). By two or three times I mean, if this slow connection problem happen, than it wil occur in a view days in a row. Then it will return to normal with fast login/connection process. I've try to restart the laptop, restart the service but nothing give the sign to improve the slow login/connection process. I've also try to turn off the *log_hostname* config in *postgresql.conf* and try to turn off the *Windows Firewall, Windows Defender Real-Time Scanner* but nothing works to improve the slow login connection. I've also try to check the Postgres Log file but not much error shows in the log except for this error that appears a few time: 2020-07-22 14:43:22.312 +00 [13740] LOG:  could not receive data from client: An existing connection was forcibly closed by the remote host. This problem happens with all of the application such as *psql*, *pgAdmin*, *Navicat*, all with the same symptoms of slow login/connection to my PostgreSQL v12.3 (x64) service and if connected, then it will be easy to disconnected. If needed my laptop specs are: * Intel Core i7-9750H * 16GB of RAM * Samsung SSD 970 EVO Plus 2TB Is database size can affect this connection time required to start a database session? FYI one of my database has size of 209GB, but currently I'm not using or connect to that database. Thanks in advance. Regards, Surya --------------25F7122378373E9FD5F67748 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hi,

I have PostgreSQL v12.3 (x64) installed on my Laptop running Windows 10 Home Single Language (64-bit).
In two or three times since I fresh install the PostgreSQL and windows on 17-05-2020, 06:04:56 (GMT).
By two or three times I mean, if this slow connection problem happen, than it wil occur in a view days in a row. Then it will return to normal with fast login/connection process.

I've try to restart the laptop, restart the service but nothing give the sign to improve the slow login/connection process.

I've also try to turn off the log_hostname config in postgresql.conf and try to turn off the Windows Firewall, Windows Defender Real-Time Scanner but nothing works to improve the slow login connection.

I've also try to check the Postgres Log file but not much error shows in the log except for this error that appears a few time:
2020-07-22 14:43:22.312 +00 [13740] LOG:  could not receive data from client: An existing connection was forcibly closed by the remote host.

This problem happens with all of the application such as psql, pgAdmin, Navicat, all with the same symptoms of slow login/connection to my PostgreSQL v12.3 (x64) service and if connected, then it will be easy to disconnected.

If needed my laptop specs are:

  • Intel Core i7-9750H
  • 16GB of RAM
  • Samsung SSD 970 EVO Plus 2TB

Is database size can affect this connection time required to start a database session?
FYI one of my database has size of 209GB, but currently I'm not using or connect to that database.

Thanks in advance.

Regards,
Surya


--------------25F7122378373E9FD5F67748--