Skip to content
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

100% CPU load inside petio container while nothing happening and nobody connected #801

Open
warlordattack opened this issue Nov 7, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@warlordattack
Copy link

warlordattack commented Nov 7, 2022

1/
Describe the bug
100% CPU load in the petio docker container while nobody connected and nothing happening
See screenshots

To Reproduce
Steps to reproduce the behavior:
On a synology ds918+ nas, inside docker, petio container always generating 100% cpu load while nobody is connected and nothing special happening

Expected behavior
No CPU load if no cron working and no user connected

My docker compose :
version: "3"
services:
srv_petio:
user: ${PUID}:${PGID}
container_name: ${C_PET}
image: ${C_PET_IMG}
restart: ${C_ALL_RESTART}
volumes:
- ${REP_APPDATA}/${C_PET}/logs:/app/logs
- ${REP_APPDATA}/${C_PET}/config:/app/api/config
environment:
- PUID=${PUID}
- PGID=${PGID}
- UMASK=${UMASK}
- TZ=${TZ}
network_mode: container:${C_GLU}

Image used : ghcr.io/petio-team/petio
All my RRR stack uses Gluetun container as vpn/killswitch.

2/
An other thing :
I tryed :
user: ${PUID}:${PGID}
and

  • PUID=${PUID}
  • PGID=${PGID}
    But the container generates read only files and does not seem to use the correct docker user i try to pass him.
    All my other containers accept correctly the docker user i pass to them.

3/
Sometimes my Plex become ureachable,
i can reach it directly on the ip/port, but petio can not, i don't know why.
In this situation when i open petio, the search tab displays instantly, but movies and shows tabs are stuck with infinite loading.
Would be nice to load films and movies without blocking because of plex, then try to load data related to plex asynchronousli without blocking the page for users.
When this happens i go to plex distant access page, i try the test button, first i have the green message (Plex totally awalable for external access) then 2 seconds later i have the red message (Plex unawalable outside local network).
OK : found response to this one, because of external attacks i limited access to my country IP only in synology firewall,
but my RRR stack uses vpn and other country, including petio.
So when petio (firewalled via other country) tryed to reach plex (behind synology firewall, limited to one country), petio could not reach plex. So i changed the firewall rule to allow all countries to reach plex port only.
Anything else is always IP limited to the main country source.
After firewall rule update, i have always the two other problems 1/ and 2/.

Screenshots
2022-11-07_104531
2022-11-07_104815
2022-11-07_104942

@warlordattack warlordattack added the bug Something isn't working label Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@warlordattack and others