crewAIInc / crewAI

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

Home Page:https://crewai.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When the CREWAI_STORAGE_DIR environment variable is used, the error "initialization: database is locked" occurs.

kyawthetkt opened this issue · comments

There is no such issue with default crew memory storage dir.However CREWAI_STORAGE_DIR is set, the "initialization: database is locked" error occurs.

`
version: '3.8'

services:
app:
build:
context: .
dockerfile: Dockerfile
environment:
- PYTHONDONTWRITEBYTECODE=1
- PYTHONUNBUFFERED=1
- CREWAI_STORAGE_DIR=/app/data-memory
ports:
- "${APP_PORT}:${APP_PORT}"
volumes:
- .:/app
- /NAS/110/data-memory:/app/data-memory
command: [ "gunicorn", "-w 4", "-b :${APP_PORT}", "run:app" ]
deploy:
resources:
limits:
memory: 13g
reservations:
memory: 13g`

I am closing it as the issue is caused by insufficient memory.