-
-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] very slow response time #2355
Comments
this error is related to php-fpm so check the setting and change it in /etc/php-fpm.d/www.conf or something like this
|
@0xcryp70 as I said, I'm using docker based leantime, therefore the php-fpm setting you are talking about would then be inside the container. I found it inside the container under Nevertheless, for testing purposes I quickly changed that and the setting is now active: |
as you see it didn't change in the error it says pm.max_children setting (5) means = 5 ( default ) |
I restarted the container, so basically I added Right now, another warning came up: |
anyway, there are a lot of ways to change this config inside the container, you can add a command for search and replace the config or you can change it inside the container and commit a new image or you can add this change to the docker file and generate the new image |
as I see you only need to optimize your nginx and PHP and there is no big deal |
use this configs:
you can use gzip and cache for nginx too
I hope these help you |
I somehow had the feeling that it is not leantime but podman-compose. I still don't know why or how, but somehow I always end up having issues with this one component. So I deleted everything, just using podman I manually created the pod, the two containers and leantime is as fast as I would expect it. So somehow podman-compose must have screwed up something with the network. It just utilises podman itself so nothing really magical about it but still, when doing it manually, it works fine. Oh man, I'm sorry for wasting your time, thanks a lot. I hope your useful optimisations can still help someone out there. |
@leonidas-o were you able to update this configuration within the docker container? How did you achieve it? These warnings seem to be very simple to run into on a vanilla docker compose installation. Do you think we should just update the default configuration to address this issue? |
@johncadengo I've used the |
I have the same issue. Is it possible to fix it within the docker container/compose? |
Hi. Do you mind sharing how to use this file? I don't find this file in the docker compose. Is it simply to place this file on the host and mount it to config/custom.ini in the docker? |
I created a Dockerfile to solve this problem according to the advices in above comments. I posted it here for futural references.
|
If you have problems with the installation please use our community forum
What set up are you using
Describe the bug
Running in a VM (3Gb RAM, 2 Cores), installed docker based leantime 3.0.7 and running behind a reverse proxy (traefik). It takes literally forever (~10s) until the site loads. After using the admin account to log-in, every click inside leantime takes around ~15s. When the dashboard is fully loaded and I click on the notifications thunder icon (top right), the MyToDos section disappears every time/ starts to reload.
The only message I see is in the container logs (
podman logs leantime
):To Reproduce
Steps to reproduce the behavior:
Expected behavior
Website response time in milliseconds and not seconds.
I think traefik as reverse proxy can be ruled out as it is used for other applications and none of them has any performance issues at all.
Leantime Version
3.0.7
Server
Apache, nginx, IIS etc
docker.io/leantime/leantime:latest
reverse-proxy: traefik 3
PHP / MySQL Version
docker.io/library/mysql:8.0
Additional context
Rocky Linux 9.3 (Blue Onyx)
podman version: 4.6.1
podman-compose version 1.0.6
I'm seeing the following logs:
The text was updated successfully, but these errors were encountered: