-
Notifications
You must be signed in to change notification settings - Fork 501
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
no space left on device #22
Comments
Please run the I highly suspect that This happens because the docker default is Solutions:
Better use more than Because you have a productive environment, you might want to take a look at my post in issue #5 |
According to your posts in issue #5 you seem to have fixed your issue now. I suggested using docker-compose because it's easy to mess up calling The idea behind the In a nutshell One suggestions for your I gave two examples for |
I can confirm that usage of your recommented option "--shm-size" solves the problem. I got the "no space left on device" message during request of tile in zoom level "8". I increased shm-size to value of 1GB because 128MB was still to small. |
@stevo01 So the lack of shared memory can cause both "no space left on device" and "could not resize shared memory segment" errors? |
Yes, because it is the same error. See error message from @hugokoopmans first comment: renderd[121]: ERROR: failed to render TILE ajt 2 0-3 0-3 |
ok I have moved the tileserver to a dedicated virtual machine with better resources ( 4 cpu 16 GB RAM). In the setup above there where 8 more containers hungry for resources. Not sure if that caused issues. I included these options in docker-compose:
Seems to run fine now. |
Reading that, I just want to make sure to point out, that these go to different places inside the
services:
osm:
[...]
environment:
- THREADS=8
shm_size: 256M
[...] |
on docker-compose versio 3 the - THREADS=8 gives me:
|
It's hard to tell what's wrong without the Based on the error message the file doesn't contain valid YAML. I'd suspect that the indentation is wrong. Example that results in a similar error: version: '3'
services:
myservice:
image: alpine
environment:
- THREADS=8 # <- indentation error
shm_size: 256M
Correct indentation: version: '3'
services:
myservice:
image: alpine
environment:
- THREADS=8
shm_size: 256M
|
I'm facing this same error, on kubernetes. Any help will be deeply appreciated |
Looking for some tips to resolve the "no space left" issue as well. Setup CentOS 7 VM with Docker Commands:
Dockerfile: NOTE: I am using an edited version of the mapnik.xml file in which I request labels in English when they are available. The edits have been tested several times and so I don't have any reason to think they are causing the issue.
Contents of my custom PostgreSQL config (i.e. postgresql.custom.conf.tmpl):
Result Planet import fails with Here's an excerpt from the import container log:
And from the postgresql log inside the container (
I'll go ahead and increase my wal_max_size, but I checked the storage usage, and it looks like I still have over 500GB available. Output of
In case it's help, here's the output of
Any tips on how to resolve this space issue? Or on tuning my the configs? If necessary, I can increase my disk size to 3 of 4 T, but I'm not certain that's the issue. I should mention that I've completed a couple of full-planet imports using this same machine. However, with previous imports I was running into issues attempting to render several zoom levels of the planet. Hoping to resolve the render issues, I increased the shared memory and cache sizes for the import and run commands. To support these changes I am required tuning the PostgreSQL config. I've attempted to do so using using several suggestions given throughout this repository (and links provided in various issues). However, I'm not confident that my new config settings are appropriate. Thanks in advance for you assistance. |
I have used osmconvert to merged 6 countries to one pbf, imported this files into my test setup, all fine and running ok.
Now I replicate this on the production server, exact same setup, exact same procedure and I bump into this:
I copied the merged file over to the production server, checked de md5sum to make sure the file is not corrupted.
Import ran without issues, container stopped when done, same as on test setup.
I checked disk usage on the server space enough according to to OS:
What could be the case?
The text was updated successfully, but these errors were encountered: