Skip to content

glib : error creating thread #1897

@utagawal

Description

@utagawal

I have launched the container using these parameters :

docker run --name tileserver-gl -d --init --restart=unless-stopped -m 14g --memory-swap=22g --memory-reservation=10g --cpus=6 --ulimit nofile=65536:65536 --pids-limit=150 -e NODE_ENV=production -e NODE_OPTIONS="--max-old-space-size=11264" -e LIBGL_ALWAYS_SOFTWARE=1 -e UV_THREADPOOL_SIZE=6 -v /var/data:/data -p 8080:8080 maptiler/tileserver-gl:v5.5.0-pre.7 --fetch-timeout 20000

For the record :

free -h
total used free shared buff/cache available
Mem: 29Gi 13Gi 15Gi 227Mi 624Mi 15Gi
Swap: 8.0Gi 3.1Gi 4.9Gi

I have these (new) errors in the docker logs :

GET /data/terrain-rgb/13/5238/3180.webp 404 9 - 0.442 ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/terrain-rgb/12/2619/1589.webp 404 9 - 0.428 ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/terrain-rgb/12/2619/1590.webp 404 9 - 0.335 ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/planet/13/4074/2800.pbf - - - - ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/planet/14/8528/5624.pbf - - - - ms
GET /data/planet/14/8146/5598.pbf - - - - ms
GET /data/planet/14/8146/5599.pbf - - - - ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/planet/14/8147/5598.pbf - - - - ms
GET /data/planet/14/8147/5600.pbf - - - - ms
GET /data/planet/14/8146/5600.pbf - - - - ms
GET /data/planet/14/8145/5600.pbf - - - - ms
GET /data/planet/14/8147/5599.pbf - - - - ms
GET /data/planet/14/8145/5599.pbf - - - - ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/planet/14/8148/5599.pbf - - - - ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/planet/14/8148/5598.pbf - - - - ms
GET /data/planet/14/8148/5600.pbf - - - - ms
Renderer timeout - destroying hung renderer
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/planet/14/8144/5599.pbf - - - - ms
Renderer timeout - destroying hung renderer
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/planet/14/8144/5600.pbf - - - - ms
GET /data/planet/14/8145/5598.pbf - - - - ms
GET /data/planet/14/8144/5598.pbf - - - - ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /styles/utagawavtt/15/16944/11863.png - - - - ms
GET /styles/utagawavtt/15/16944/11862.png - - - - ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /styles/utagawavtt/15/16944/11864.png - - - - ms
GET /styles/utagawavtt/15/16945/11864.png - - - - ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/planet/14/8149/5599.pbf - - - - ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/planet/14/8149/5598.pbf - - - - ms
GET /data/planet/14/8149/5600.pbf - - - - ms
GET /data/planet/13/4073/2800.pbf - - - - ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/planet/13/4072/2799.pbf - - - - ms
GET /data/planet/13/4074/2799.pbf - - - - ms
GET /data/terrain-rgb/14/10477/6360.webp 404 9 - 0.507 ms
GET /data/planet/13/4072/2800.pbf - - - - ms
Renderer timeout - destroying hung renderer
Renderer timeout - destroying hung renderer
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/terrain-rgb/14/10476/6360.webp 404 9 - 0.444 ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/planet/13/4074/2801.pbf - - - - ms
GET /data/planet/13/4075/2801.pbf - - - - ms
GET /data/terrain-rgb/13/5238/3179.webp 404 9 - 0.404 ms
GET /data/planet/13/4075/2799.pbf - - - - ms
Renderer timeout - destroying hung renderer
GET /data/terrain-rgb/13/5239/3180.webp 404 9 - 0.476 ms
GET /data/terrain-rgb/13/5239/3179.webp 404 9 - 0.473 ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/planet/13/4074/2800.pbf - - - - ms
GET /data/planet/14/8146/5598.pbf - - - - ms
GET /data/planet/14/8146/5599.pbf - - - - ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/planet/14/8147/5598.pbf - - - - ms
GET /data/planet/14/8146/5600.pbf - - - - ms
GET /data/planet/14/8147/5600.pbf - - - - ms
GET /data/planet/14/8145/5600.pbf - - - - ms
GET /data/planet/14/8147/5599.pbf - - - - ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/planet/14/8145/5599.pbf - - - - ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)
GET /data/planet/14/8148/5599.pbf - - - - ms
GET /data/planet/14/8148/5598.pbf - - - - ms
Sharp error: Error: glib: Error creating thread: Resource temporarily unavailable
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at Object. (file:///usr/src/app/src/serve_rendered.js:728:15)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions