I have…
- [X ] Read the following guideline: Troubleshooting and Support | Squidex. I understand that my support request might get deleted if I do not follow the guideline.
- [X ] Used code blocks with ``` to format my code examples like JSON or logs properly.
I’m submitting a…
- Regression (a behavior that stopped working in a new release)
- Bug report
- [X ] Performance issue
- Documentation issue or request
Current behavior
the api is talking all my CPU suddenly and we the log file is like 2gig in less than 24h for squidex !!
Expected behavior
Minimal reproduction of the problem
Environment
App Name:
- Self hosted with docker
- [X ] Self hosted with IIS
- Self hosted with other version
- Cloud version
Version: [VERSION]
Browser:
- [X ] Chrome (desktop)
- Chrome (Android)
- Chrome (iOS)
- Firefox
- Safari (desktop)
- Safari (iOS)
- IE
- Edge
Others:
Hi,
there is not that much I can do to help you right now.
It is important that you get an insight into the system. There are several things you can do:
- Analyze the app logs. In the app dashboard there is a button to download a log file with requests being made. You can important that into excel or use the CLI (Automation Tools (CLI) | Squidex) to get a first understanding of the requests being made. Perhaps you have a loop in your client or a bot goes crazy on your website.
- Analyze the normal logs. Use a log file analyzer. Not sure what tools exists out there, but I would just create a free elastic account and import the logs to an index. Every log line is one json document. Then you can query the logs and create charts using kibana.
- Use a tool like datadog for application performance monitoring (APM): https://www.datadoghq.com/. Squidex supports the open telemetry protocol, you get a lot of insights about slow operations, that can help to narrow down the problem.
- Use a profiler to analyze the performance, I really like this one: https://www.jetbrains.com/. You don’t have to understand the Squidex internals, just keep it running for a while and send me the report.
We can have a chat on Monday, but you have to do your homework first, otherwise I cannot really help.