Community discussions

MikroTik App
 
bogdano
just joined
Topic Author
Posts: 4
Joined: Tue May 30, 2023 4:32 pm

hap ax3 - extremely slow containers if ram limit is set

Tue May 30, 2023 4:51 pm

Hi all

I have a hAP AX3 running the latest stable RouterOS (v7.9.1).

I also have the latest stable container package (v7.9.1).

I am trying to run pihole as container (on external USB 3.1 flash drive).

However, the container is extremely slow:
- it takes about 30 minutes before the pihole admin page is available
- load is always reported by the pihole as being higher than 8
- all actions in the interface are painfully slow
- CPU usage on the hAP AX3 is very low (less than 10%, typically 1-3%)
This however only happens if I set a limit for container memory. No matter how high I set the limit (i have set it between 200 and 1000), as long as the limit is >0, the container is slow.

If I set the limit to 0, then the container starts in a matter of seconds.

Anyone experiencing similar issues? Is this a bug/known issue?

Thanks!
Bogdan
 
kaber420
just joined
Posts: 1
Joined: Thu Jun 01, 2023 5:36 am

Re: hap ax3 - extremely slow containers if ram limit is set

Thu Jun 01, 2023 5:44 am

you need to add the letter M
or maybe write 209715200 instead of 200M.
0=unlimited
200M = 209715200bytes
200 = 200bytes
 
bogdano
just joined
Topic Author
Posts: 4
Joined: Tue May 30, 2023 4:32 pm

Re: hap ax3 - extremely slow containers if ram limit is set

Sun Jun 04, 2023 11:35 pm

Hi
You are 100% right. I always assumes the limit was in M. But indeed, without the suffix i was actually setting the limit in bytes...
Thanks!!!!
 
petoKUBO
just joined
Posts: 2
Joined: Thu Sep 29, 2022 4:07 pm

Re: hap ax3 - extremely slow containers if ram limit is set

Mon Aug 21, 2023 5:52 pm

Hi,

I have the same problem, the container is extremely slow when I restart it.
When is newly created container adguard then it start very fast, but when I restarted it, it is extremely slow.

my ROS is v7.10
in container-config I am able to set only number, number and letter is not possible (60M)
when it is set to 0 - it start fast


anyone experiencing with this problem?
 
User avatar
cyrq
just joined
Posts: 6
Joined: Sat Mar 11, 2023 12:19 pm

Re: hap ax3 - extremely slow containers if ram limit is set

Tue Aug 22, 2023 10:10 pm

Just like stated before, you need to input the value in bytes.

Who is online

Users browsing this forum: No registered users and 0 guests