-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make check keeps CPU busy for over 2 hours #12
Comments
No it should take less than a minute, but on https://travis-ci.org/github/larsop/resolve-overlap-and-gap it takes around two minutes. I may have seen this when there is syntax error i the code maybe. You should find the error in Postgres log. |
I may have seen this when there is syntax error i the code maybe. You should find the error in Postgres log.
PostgreSQL log contains no error.
pg_stat_activity shows this query being active:
```
CALL resolve_overlap_gap_run(
('test_data.overlap_gap_input_t2','c1','geom',4258,false),
('test_topo_t2',0.00001),
resolve_overlap_data_clean_type_func(
49,
0,
null,
0,
10000,
120,
240,
40,
320
),
5,
4
);
```
What exact version of PostGIS are you using ? And PostgreSQL ?
|
Strage, I am running following 4 different versions (mac,centos (dell,huawei), ubuntu)
|
I'll try again with GEOS-3.8.1 and PostGIS-3.0.1 |
I just tried again:
And there it remains, indefinitely, keeping CPU busy. It's over 6 minutes now, at time of writing:
There must be something else going wrong with the way dataset is created maybe, possibly due to me running multiple times the command ? Any append-always instead of truncate-then-append way to fill dataset ? |
For reference, Travis runs:
|
I'm trying to understand what the test is supposed to do here.
The final call (resolve_overlap_gap_run) is the one which hangs my CPU. I shall note that the tester ALSO creates a third derivation of the table: |
I've simplified the tester script to be as follows:
Among the NOTICE messages I receive I find this:
It does seem to me that my setup makes the |
Found the culprit and reported upstream: larsop/postgres_execute_parallel#3 |
And provided a fix for the infinite loop: larsop/postgres_execute_parallel#4 |
So, now that the problem was found, let's see WHY dbconnect cannot connect.
This means that the only connection string is The The default, as I observed above, is NULL, which triggers an attempt, by the code of
As a result, there's only the dbname parameter. |
For the inability to determine connection string I filed larsop/postgres_execute_parallel#5 |
And here's a fix for that last problem: larsop/postgres_execute_parallel#6 |
Thats great. |
I've started
make check
before lunch break and it was still running and CPU spinning after over 2 hours. I think I'm going to kill it. Terminal output:And it's sitting there.
Relevant top(1) output (note 25% CPU means 100% of 1 core in my quadcore):
Is this expected behaviour ?
The text was updated successfully, but these errors were encountered: