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

Docker: high cron cpu load / wrong container time #2939

Closed
jdckr opened this issue May 2, 2020 · 7 comments · Fixed by #2943
Closed

Docker: high cron cpu load / wrong container time #2939

jdckr opened this issue May 2, 2020 · 7 comments · Fixed by #2943
Labels
Docker Everything related to Docker Important 🔥
Milestone

Comments

@jdckr
Copy link

jdckr commented May 2, 2020

Hi,
after updating my container to the newest version I am observing high cron cpu load.
When checking the container logs, the containers time looks really strange:

Result: success,
[Sun Jan 00 00:00:00.000000 1900] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations,
[Sat Feb 28 23:30:43.('''0( 1931] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND',
127.0.0.1 - - [04/May/1935:08:04:11 +0100] "GET /i/ HTTP/1.0" 200 5744 "-" "-", 

This does not happen when deploying freshrss/fresshrss:1.16.0-arm

Result: success,
[Sat May 02 12:14:34.769286 2020] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations,
[Sat May 02 12:14:34.769433 2020] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND',
127.0.0.1 - - [02/May/2020:12:15:01 +0200] "GET /i/ HTTP/1.0" 200 5681 "-" "-",
@Alkarex
Copy link
Member

Alkarex commented May 2, 2020

Hello,
So the date is wrong?
Which tag, more precisely? freshrss/freshrss:latest on amd64? Edit: sorry, you already wrote it

@Alkarex Alkarex added this to the 1.16.1 milestone May 2, 2020
@Alkarex
Copy link
Member

Alkarex commented May 2, 2020

Could you please show your docker run or docker-compose ?

@jdckr
Copy link
Author

jdckr commented May 2, 2020

My docker-compose looks like this:

version: "3"
services:
  freshrss:
    container_name: freshrss
    image: freshrss/freshrss:1.16.0-arm
    restart: unless-stopped
    ports:
      - "8080:80"
    volumes:
      - /home/pi/freshrss/data:/var/www/FreshRSS/data
    environment:
      - CRON_MIN='*/20'
      - TZ=Europe/Berlin

@Alkarex
Copy link
Member

Alkarex commented May 2, 2020

Hum, I cannot even build on Raspberry Pi at the moment. Seems to be the same issue than e.g. dotnet/dotnet-docker#1747
It looks like there are several bugs with Ubuntu 20.04. Will revert to 19.10 for now

Alkarex added a commit to Alkarex/FreshRSS that referenced this issue May 2, 2020
#Fix FreshRSS#2939
Revert FreshRSS#2925

Will upgrade back to 20.04 when Ubuntu bugs are fixed, e.g.
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1867675
Alkarex added a commit that referenced this issue May 2, 2020
* Revert to Ubuntu 19.10

#Fix #2939
Revert #2925

Will upgrade back to 20.04 when Ubuntu bugs are fixed, e.g.
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1867675

* Revert changelog
@Alkarex
Copy link
Member

Alkarex commented May 2, 2020

New Docker build in progress #2943

@Alkarex
Copy link
Member

Alkarex commented May 2, 2020

Could you please pull from Docker Hub and try again?

@jdckr
Copy link
Author

jdckr commented May 2, 2020

Works! Thanks 👍

@Alkarex Alkarex added the Docker Everything related to Docker label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docker Everything related to Docker Important 🔥
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants