View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001236 | bareos-core | director | public | 2020-04-27 09:40 | 2024-05-15 15:44 |
| Reporter | hostedpower | Assigned To | arogge | ||
| Priority | normal | Severity | minor | Reproducibility | sometimes |
| Status | closed | Resolution | suspended | ||
| Platform | Linux | OS | Debian | OS Version | 10 |
| Product Version | 19.2.7 | ||||
| Summary | 0001236: COPY from stdin failed: COPY terminated by new PQexec | ||||
| Description | This query seems to take several minutes sometimes: COPY batch FROM STDIN We get alerts in our monitoring about this long running query. Now we checked the logs and also see related errors: COPY from stdin failed: COPY terminated by new PQexec Is this a bug , something that needs finetuning or can it safely be ignored? | ||||
| Tags | No tags attached. | ||||
| We see even values like over 38min atm for this query: longest query: 2311s (38 minutes 31 seconds) | |
|
This happens when your PostgreSQL installation is slow on inserting. Did you tune your PostgreSQL installation? Take a look at https://pgtune.leopard.in.ua/ with "Data warehouse" for a good starting point. The PostgreSQL default configuration (just like with MySQL) is not optimized to work with production workloads. |
|
| we used that and configured quite some settings already :) | |
| This seems to happen still | |
|
This was reported for an end-of-life (EOL) version of Bareos. If you can reproduce this bug against a currently maintained version of Bareos please feel free to open a new issue against that version at https://github.com/bareos/bareos/issues Thank you for reporting this bug and we are sorry it could not be fixed. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-04-27 09:40 | hostedpower | New Issue | |
| 2020-04-28 10:13 | hostedpower | Note Added: 0003967 | |
| 2020-04-28 11:32 | arogge | Note Added: 0003968 | |
| 2020-04-28 11:33 | arogge | Assigned To | => arogge |
| 2020-04-28 11:33 | arogge | Status | new => feedback |
| 2020-04-28 16:24 | hostedpower | Note Added: 0003970 | |
| 2020-04-28 16:24 | hostedpower | Status | feedback => assigned |
| 2020-12-17 20:47 | hostedpower | Note Added: 0004072 | |
| 2024-05-15 15:44 | arogge | Status | assigned => closed |
| 2024-05-15 15:44 | arogge | Resolution | open => suspended |
| 2024-05-15 15:44 | arogge | Note Added: 0005940 |