[X] I have searched the existing issues and this bug is not already filed.
[x] My model is hosted on OpenAI or Azure. If not, please look at the "model providers" issue and don't file a new one here.
[X] I believe this is a legitimate bug, not just a question. If this is a question, please use the Discussions area.
Describe the issue
I'm encountering a SIGKILL error when starting my app after building it with Docker (targeting linux/amd64). The app works locally without issues, but during Docker-based startup, some specific imports from the graphrag package cause a SIGKILL, preventing the app from starting.
Problem Imports:
from graphrag.query.context_builder.entity_extraction import EntityVectorStoreKey
from graphrag.query.indexer_adapters import (
read_indexer_entities,
read_indexer_relationships,
read_indexer_reports,
read_indexer_text_units,
)
from graphrag.query.input.loaders.dfs import (
store_entity_semantic_embeddings,
)
from graphrag.query.structured_search.local_search.mixed_context import (
LocalSearchMixedContext,
)
from graphrag.vector_stores.lancedb import LanceDBVectorStore
Steps to reproduce
Build the Docker image targeting linux/amd64.
Start the app using the provided Docker entrypoint.
Observe the SIGKILL error during startup.
Expected Behavior:
The app should start without crashing or encountering a SIGKILL.
Environment:
Local environment: M1 Mac with Apple silicon, Works with Uvicorn without issues.
Docker environment: Fails on startup with SIGKILL.
Docker Target: linux/amd64
entrypoint:
objc[99375]: +[NSString initialize] may have been in progress in another thread when fork() was called.
objc[99375]: +[NSString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
[2024-09-30 16:50:32 +0200] [98453] [ERROR] Worker (pid:99375) was sent SIGABRT!
Do you need to file an issue?
Describe the issue
I'm encountering a SIGKILL error when starting my app after building it with Docker (targeting
linux/amd64
). The app works locally without issues, but during Docker-based startup, some specific imports from thegraphrag
package cause a SIGKILL, preventing the app from starting.Problem Imports:
Steps to reproduce
Expected Behavior: The app should start without crashing or encountering a SIGKILL.
Environment: Local environment: M1 Mac with Apple silicon, Works with Uvicorn without issues. Docker environment: Fails on startup with SIGKILL. Docker Target: linux/amd64 entrypoint:
Dependencies
GraphRAG Config Used
Logs and screenshots
Run in docker:
Run in gunicorn locally:
Additional Information