danny-avila / LibreChat

Enhanced ChatGPT Clone: Features Anthropic, AWS, OpenAI, Assistants API, Azure, Groq, o1, GPT-4o, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. Actively in public development.
https://librechat.ai/
MIT License
19.15k stars 3.19k forks source link

[Question]: Frequent restart of application #4102

Closed ss-gonda closed 2 months ago

ss-gonda commented 2 months ago

What is your question?

In api/server/index.js file, we have at the end process.exit for any unhandled exceptions. We have rolled it out to a larger audience (150+ active users). Now we are seeing that lot of places the process gets connectivity issues (mostly with Assistants) and in those cases the server is restarted. Is it possible that we remove this process.exit from the file to avoid this ? Because the system is not interrupted for users and they still get the response and answers but somehow the restarts are happening too frequent.

More Details

The deployment infra is on GCP

What is the main subject of your question?

No response

Screenshots

No response

Code of Conduct