# Nodejs based web application docker container work slow

**URL:** <https://forums.docker.com/t/nodejs-based-web-application-docker-container-work-slow/140892>\
**Category:** General\
**Tags:** docker\
**Created:** [April 17, 2024, 9:55am UTC](https://forums.docker.com/t/nodejs-based-web-application-docker-container-work-slow/140892 "2024-04-17T09:55:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sazalach](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@sazalach](https://forums.docker.com/u/sazalach)\
**Post date:** [April 17, 2024, 9:55am UTC](https://forums.docker.com/t/nodejs-based-web-application-docker-container-work-slow/140892/1 "2024-04-17T09:55:39Z")

</div>

Hi,

We are using docker container for our nodejs based application. This applications are web based.  
After few days run the containers we face the issue. Issue is Web application are taking too long time for loading. If we restart the container then applications are working faster. we have to do this after 3/4 days every time.

We need a co-operation regarding this issue.

Here is below docker stats report

NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS  
a.container 0.00% 115.9MiB / 11.57GiB 0.98% 454MB / 577MB 52.9MB / 0B 22  
b.container 0.02% 657.5MiB / 11.57GiB 5.55% 46.2GB / 23.4GB 7.56GB / 377kB 38  
c.container 0.00% 8.773MiB / 11.57GiB 0.07% 168MB / 32.4GB 158MB / 0B 7  
d.container 0.00% 4.477MiB / 11.57GiB 0.04% 105kB / 0B 1.73MB / 8.19kB 7

Client: Docker Engine - Community  
Version: 24.0.6

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/bluepuma77/32/32688_2.png) [@bluepuma77](https://forums.docker.com/u/bluepuma77)\
**Post date:** [April 18, 2024, 6:57am UTC](https://forums.docker.com/t/nodejs-based-web-application-docker-container-work-slow/140892/2 "2024-04-18T06:57:33Z")

</div>

Format code/config with 3 backticks to make it human readable.

Update Docker to latest version.

Share `Dockerfile` and `docker-compose.yml`.

You are sure it’s not an issue with your code? That your code does not behaves the same under production traffic without Docker?
