GithubHelp home page GithubHelp logo

Comments (9)

somerandow avatar somerandow commented on July 27, 2024

Could you provide your values.yaml?
My thought here is that the pod may be taking to long to bring up the webui.
I say this as there are other steps that should run after 30-config.

Typically I have seen this run slow on certain types of persistent volumes. (Namely NFS)
As a quick test, have you tried increasing initialDelaySeconds for both the readiness and liveness probes?
Also, I would try disabling persistence and seeing if the pod initializes properly.

from charts.

papanito avatar papanito commented on July 27, 2024

Typically I have seen this run slow on certain types of persistent volumes. (Namely NFS)

I use kadalu as storage backend

As a quick test, have you tried increasing initialDelaySeconds for both the readiness and liveness probes?

No, but I can try

Below my values file

image:
  repository: linuxserver/calibre-web
  tag: 0.6.8-ls74
  pullPolicy: IfNotPresent

strategyType: Recreate

probes:
  liveness:
    initialDelaySeconds: 60
    failureThreshold: 5
    timeoutSeconds: 10
  readiness:
    initialDelaySeconds: 60
    failureThreshold: 5
    timeoutSeconds: 10

nameOverride: ""
fullnameOverride: ""

dockerMods:
  ebookConversion:
    enabled: false
    image:
      repository: linuxserver/calibre-web
      tag: calibre

timezone: UTC
puid: 1001
pgid: 1001
umask: 22

service:
  type: ClusterIP
  port: 8083
  annotations: {}
  labels: {}

ingress:
  enabled: false
  annotations: {}
  path: /
  hosts:
    - chart-example.local
  tls: []

persistence:
  config:
    enabled: true
    accessMode: ReadWriteOnce
    size: 1Gi
    skipuninstall: false
  books:
    enabled: true
    accessMode: ReadWriteOnce
    size: 15Gi
    skipuninstall: false
  extraExistingClaimMounts: []

resources:
  limits:
    cpu: 100m
    memory: 128Mi
  requests:
    cpu: 100m
    memory: 128Mi

nodeSelector: {}
tolerations: []
affinity: {}
podAnnotations: {}
deploymentAnnotations: {}

from charts.

papanito avatar papanito commented on July 27, 2024

I've doubled the thresholds of the liveness-probe but the result is still the same

from charts.

somerandow avatar somerandow commented on July 27, 2024

Thanks for the info!

I used to use kadalu, can't remember if I had issues of this sort with it.

Can you try disabling persistence for the config pvc? Wondering if that narrows things down.

from charts.

papanito avatar papanito commented on July 27, 2024

Good hint, now it looks like this

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing... 
cp: cannot stat '/app/calibre-web/gdrive.db': No such file or directory
[cont-init.d] 30-config: exited 0.
[cont-init.d] 99-custom-scripts: executing... 
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

from charts.

somerandow avatar somerandow commented on July 27, 2024

Awesome! So I'm a bit fuzzy on gluster and its configuration options, but here's my 2 cents.
Even testing this just now on NFS, which I would expect to perform worse, I am able to get the pod to initialize in <5 sec.

2020-09-04T15:21:55.169435175Z [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
2020-09-04T15:21:55.346494477Z [s6-init] ensuring user provided files have correct perms...exited 0.
2020-09-04T15:21:55.348795838Z [fix-attrs.d] applying ownership & permissions fixes...
2020-09-04T15:21:55.360687524Z [fix-attrs.d] done.
2020-09-04T15:21:55.362577255Z [cont-init.d] executing container initialization scripts...
2020-09-04T15:21:55.365718249Z [cont-init.d] 01-envfile: executing... 
2020-09-04T15:21:55.380902819Z [cont-init.d] 01-envfile: exited 0.
2020-09-04T15:21:55.381962896Z [cont-init.d] 10-adduser: executing... 
2020-09-04T15:21:55.489444438Z 
2020-09-04T15:21:55.489487625Z -------------------------------------
2020-09-04T15:21:55.489498080Z           _         ()
2020-09-04T15:21:55.489506014Z          | |  ___   _    __
2020-09-04T15:21:55.489513117Z          | | / __| | |  /  \ 
2020-09-04T15:21:55.489519617Z          | | \__ \ | | | () |
2020-09-04T15:21:55.489528514Z          |_| |___/ |_|  \__/
2020-09-04T15:21:55.489537764Z 
2020-09-04T15:21:55.489546657Z 
2020-09-04T15:21:55.489557018Z Brought to you by linuxserver.io
2020-09-04T15:21:55.489566589Z -------------------------------------
2020-09-04T15:21:55.489585280Z 
2020-09-04T15:21:55.489594993Z To support LSIO projects visit:
2020-09-04T15:21:55.489601569Z https://www.linuxserver.io/donate/
2020-09-04T15:21:55.489607562Z -------------------------------------
2020-09-04T15:21:55.489613703Z GID/UID
2020-09-04T15:21:55.489622057Z -------------------------------------
2020-09-04T15:21:55.495395826Z 
2020-09-04T15:21:55.495432885Z User uid:    996
2020-09-04T15:21:55.495446929Z User gid:    994
2020-09-04T15:21:55.495456544Z -------------------------------------
2020-09-04T15:21:55.495463734Z 
2020-09-04T15:21:55.506729730Z [cont-init.d] 10-adduser: exited 0.
2020-09-04T15:21:55.508422348Z [cont-init.d] 30-config: executing... 
2020-09-04T15:21:55.562497041Z cp: cannot stat '/app/calibre-web/gdrive.db': No such file or directory
2020-09-04T15:21:57.868173886Z [cont-init.d] 30-config: exited 0.
2020-09-04T15:21:57.870644079Z [cont-init.d] 99-custom-scripts: executing... 
2020-09-04T15:21:57.891371391Z [custom-init] no custom files found exiting...
2020-09-04T15:21:57.892738348Z [cont-init.d] 99-custom-scripts: exited 0.
2020-09-04T15:21:57.894403345Z [cont-init.d] done.
2020-09-04T15:21:57.896055553Z [services.d] starting services
2020-09-04T15:21:57.939972160Z [services.d] done.

I would chalk this up to a storage related issue unfortunately. Are you seeing this issue with other pods/charts?
Unfortunately, I don't see many configuration options documented by Kadalu either.

from charts.

papanito avatar papanito commented on July 27, 2024

No I have not seen such issues yet. I've updated kadalu anyway maybe this helps. I will further look into it

from charts.

papanito avatar papanito commented on July 27, 2024

Mhh I will check with the kadalu guys, maybe they have a clue...

from charts.

papanito avatar papanito commented on July 27, 2024

@WojoInc thanks for your help.

Talked to the kadalu folks and the referred me to issue kadalu/kadalu#295. I've updated my kadalu csi to the latest version and it seed that already helped. At least pods are running. I will close this issue for now.

from charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.