Repository navigation
Closed
Description
- I have tried with the latest STABLE version of my channel
- I have uploaded Diagnostics
- Diagnostics ID: A7F21FC2-03AA-406D-B83B-822BF4822BE7/20181123082253
Expected behavior
running local pg_restore into containerized postgres succeeds.
Actual behavior
postgres-log in container:
daidalos-postgres_1_36312229a8b2 | 2018-11-23 08:05:57.709 UTC [23] LOG: checkpoints are occurring too frequently (29 seconds apart)
daidalos-postgres_1_36312229a8b2 | 2018-11-23 08:05:57.709 UTC [23] HINT: Consider increasing the configuration parameter "max_wal_size".
daidalos-postgres_1_36312229a8b2 | 2018-11-23 08:06:23.628 UTC [23] LOG: checkpoints are occurring too frequently (26 seconds apart)
daidalos-postgres_1_36312229a8b2 | 2018-11-23 08:06:23.628 UTC [23] HINT: Consider increasing the configuration parameter "max_wal_size".
daidalos-postgres_1_36312229a8b2 | 2018-11-23 08:08:39.587 UTC [32] LOG: could not receive data from client: Connection reset by peer
daidalos-postgres_1_36312229a8b2 | 2018-11-23 08:08:39.587 UTC [32] CONTEXT: COPY debt, line 2861916
daidalos-postgres_1_36312229a8b2 | 2018-11-23 08:08:39.587 UTC [32] STATEMENT: COPY ...
daidalos-postgres_1_36312229a8b2 |
daidalos-postgres_1_36312229a8b2 | 2018-11-23 08:08:39.587 UTC [32] LOG: incomplete message from client
daidalos-postgres_1_36312229a8b2 | 2018-11-23 08:08:39.587 UTC [32] CONTEXT: COPY ...
daidalos-postgres_1_36312229a8b2 | 2018-11-23 08:08:39.587 UTC [32] STATEMENT: COPY ...
daidalos-postgres_1_36312229a8b2 |
daidalos-postgres_1_36312229a8b2 | 2018-11-23 08:08:39.587 UTC [32] ERROR: unexpected EOF on client connection with an open transaction
daidalos-postgres_1_36312229a8b2 | 2018-11-23 08:08:39.587 UTC [32] CONTEXT: COPY ...
daidalos-postgres_1_36312229a8b2 | 2018-11-23 08:08:39.587 UTC [32] STATEMENT: COPY ...
daidalos-postgres_1_36312229a8b2 |
daidalos-postgres_1_36312229a8b2 | 2018-11-23 08:08:39.592 UTC [32] FATAL: terminating connection because protocol synchronization was lost
daidalos-postgres_1_36312229a8b2 | 2018-11-23 08:08:39.592 UTC [32] LOG: could not send data to client: Broken pipe```
### Information
- Is it reproducible?
yes, every time i do a pg-restore
already did 1) full-reset and even 2) uninstall/reinstall. nothing did help.
- Is the problem new?
yes, since docker-for-mac 2.x
- Did the problem appear with an update?
yes, since docker-for-mac 2.x
- macOS Version:
macOS Mojave 10.14.1
### Diagnostic logs
Docker Desktop
Version 2.0.0.0-mac78 (28905)
Channel: stable
c404a62c3f
### Steps to reproduce the behavior
1. do a ~50gb pg-restore into a postgres-container
Reacted by Feek, Luis M, Isaac Gregson, Leon Smith, Mohamed Benaich, Oleksii Leonov, Yaroslav Nelin, Maxim Kondratiuk and Λlisue
Activity
iamfeek commentedon Nov 26, 2018
Dropping by to also mention that a colleague and I are also facing this issue.
We have the same exact setup the OP, only that our dataset is ~3gb.
radiospiel commentedon Nov 30, 2018
I see the same here, with a 1.5GB psql dump
hotzen commentedon Nov 30, 2018
we also did revert to Docker Community Edition 18.06.0-ce-mac70 2018-07-25, working flawlessly.
jlmorton commentedon Dec 5, 2018
I can confirm this too. Doing a pg_restore from an approximately 500mb compressed Postgres archive to a Postgres container causes networking to fail for all running Docker containers.
OS: Mojave
Docker Desktop: Version 2.0.0.0-mac81 (29211)
Docker Engine: Engine: 18.09.0
Networking: Bridged, default Docker Compose network
Mid-way through the pg_restore, connectivity will stop working for any running container.
Every new TCP connection attempt generates the following Docker error:
default 17:01:46.158917 -0800 com.docker.vpnkit Socket.Pipe.writev vms/0/connect: caught Broken pipe returning Eof
default 17:01:46.158981 -0800 com.docker.vpnkit Socket.Stream: caught Forwarder.Multiplexer.Make(Flow).Multiplexer_failed
Looking at Netstat, I see my pg_restore established connections, with one side waiting with data in the recv-Q, and one side waiting in the send-Q
tcp4 642111 0 127.0.0.1.5432 127.0.0.1.54145 ESTABLISHED
tcp4 0 343596 127.0.0.1.54145 127.0.0.1.5432 ESTABLISHED
Downgrading to 18.06.0-ce-mac70 did seem to resolve this problem.
davidoram commentedon Dec 18, 2018
I can confirm am getting the same issue with my setup.
Diagnostics ID: 2DED6122-3304-4B87-BC1F-C19C21C40D39/20181218221203
waTeim commentedon Feb 22, 2019
confirm this is still a problem with 2.0.0.3
hotzen commentedon Feb 22, 2019
thanks for confirming, was just thinking about giving it a try ;)
MarounMaroun commentedon Mar 11, 2019
Reproduces in 2.0.0.2.
docker-robott commentedon Jun 9, 2019
Issues go stale after 90d of inactivity.
Mark the issue as fresh with
/remove-lifecycle stalecomment.Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an
/lifecycle frozencomment.If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale
bbinet commentedon Jun 20, 2019
/remove-lifecycle stale
19 remaining items
radiospiel commentedon Jun 22, 2020
This is getting ridiculous. @docker pls add a button to the Mac client which lets us reopen the supposedly "stale" issues.
waTeim commentedon Jun 22, 2020
here is a bug the prevents Postgres operations introduced in version 2 100% reproducible has been around for almost a year now.
radiospiel commentedon Jun 22, 2020
@waTeim this was originally filed Nov 23, 2018, so more than one and a half year already
docker-robott commentedon Sep 20, 2020
Issues go stale after 90 days of inactivity.
Mark the issue as fresh with
/remove-lifecycle stalecomment.Stale issues will be closed after an additional 30 days of inactivity.
Prevent issues from auto-closing with an
/lifecycle frozencomment.If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale
radiospiel commentedon Oct 22, 2020
/remove-lifecycle stale
radiospiel commentedon Oct 22, 2020
/lifecycle frozen
radiospiel commentedon Oct 22, 2020
we'll see how long until someone @ docker actually does something to address this issue. I am still on 18.06, and won't update to a newer version that might or might not work.
kmandeville commentedon Oct 22, 2020
@radiospiel Me too! No idea what version they are even up to now. As soon as I upgraded from 18.06 (ce I think), it broke and I can't afford to have it not working. Never updated since
docker-robott commentedon Nov 21, 2020
Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked