XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. florent
    3. Posts
    Offline
    • Profile
    • Following 0
    • Followers 2
    • Topics 0
    • Posts 765
    • Groups 3

    Posts

    Recent Best Controversial
    • RE: XOA - Memory Usage

      @acebmxer said:

      @florent

      I didnt setup ssh on work XOA i just set the password but need to reboot it for it to work. The tunnel is still open if you dont mind doing it otherwise I will need to reboot xoa to get in myself.

      I can do it on monday

      posted in Xen Orchestra
      florentF
      florent
    • RE: XOA - Memory Usage

      @acebmxer
      If you are ok, you can do a heap memory export ( not that you will probably have to restart the xoa after to free the memory)

      If you can do it, and we will collect the memory file on monday ( or when you are ready) , and see if this is a new cause or the return of an old one

      posted in Xen Orchestra
      florentF
      florent
    • RE: Error while scanning disk

      @poddingue there is a cache system that keep the disk open a few minutes, we will rework it in the near future, it should improve the situation on these errors ( at the cost of being a little slower )

      posted in Backup
      florentF
      florent
    • RE: Xen Orchestra has stopped updating commits

      ping @julienxovates I think we can change thie behavior ( accepting a xo-server start even if a zombie process is still running)

      posted in Xen Orchestra
      florentF
      florent
    • RE: CR backup with retention > 4

      florent said:

      @McHenry yes

      your replicated VMmaye be a little slower, and removing these snapshot can lead to a big and slow coalesce, but these tradeoff can be worth it for replication

      we will try to clarify it for the 6.5 version ( end of may )

      ping @julienxovates

      posted in Backup
      florentF
      florent
    • RE: Xen Orchestra has stopped updating commits

      @ducatijosh my bet is that xo-server was still not completly stoppe,d thus was serving the old code . As strange as it seems, it you start a second xo-server, it won't fail, but only show a warningin the logs

      a full reboot really restart xo-server

      posted in Xen Orchestra
      florentF
      florent
    • RE: CR backup with retention > 4

      @McHenry yes

      your replicated VMmaye be a little slower, and removing these snapshot can lead to a big and slow coalesce, but these tradeoff can be worth it for replication

      we will try to clarify it for the 6.5 version ( end of may )

      posted in Backup
      florentF
      florent
    • RE: CR backup with retention > 4

      @McHenry said:

      oo many snapshots

      the warning limit is 3
      this make sense for a VM used for daily production, but we should maybe don't apply the same limit on replicated VM

      posted in Backup
      florentF
      florent
    • RE: Backups with qcow2 enabled

      @acebmxer the connectnbdclient error won't be in the task log, but in the system log

      qcow2 backup need NBD

      posted in Backup
      florentF
      florent
    • RE: Backups with qcow2 enabled

      @acebmxer said:

      connectNbdClientIfPossible

      yes connectNbdClientIfPossible is the nearest error message from the real cause
      Now, why does it fails ?

      nbd should be enabled on the network used for backups , do you have a default backup network defined ?

      xo must have at least one VIF on this network

      posted in Backup
      florentF
      florent
    • RE: Backups with qcow2 enabled

      @acebmxer do you have something in the xo logs ( journalct probably ) ?

      posted in Backup
      florentF
      florent
    • RE: XOA - Memory Usage

      @MajorP93 said:

      @florent Thanks!
      I did not have time (yet) to look into the heap export due to weekend being in between.
      I will update to current master and provide you with the heap export in the following days.
      Best regards

      no problem , the sooner we'll have these exports, the sooner we will be able to indentify what is leaking in your usage, since we already plugged the leaks we reproduced in our labs

      posted in Xen Orchestra
      florentF
      florent
    • RE: XOA - Memory Usage

      we merge the code into master ( including the code to allow a heap memory export )

      posted in Xen Orchestra
      florentF
      florent
    • RE: XOA - Memory Usage

      @MajorP93 I am not sure of which branch.
      can you switch to https://github.com/vatesfr/xen-orchestra/pull/9725

      then

      when running this branch :

      wait for the memory to fill
      find the process running xo ( dist/cli.mjs )
      send signal : kill -SIGUSR2
      a file is created in `/tmp/xo-server-${process.pid}-${Date.now()}.heapsnapshot` 
      

      Note that these exports can contain sensitive data. This will freeze you xo from a few seconds to 2 minutes, and the memory consumption after will be higher after, but this will be very usefull to identify exactly what is leaking

      The file will be a few hundred MB

      fbeauchamp opened this pull request in vatesfr/xen-orchestra

      closed fix(xo-server): TLSSocket memory leak — stoppable + http-server-plus incompatibility #9725

      posted in Xen Orchestra
      florentF
      florent
    • RE: Backups with qcow2 enabled

      @acebmxer did you enabled NBD on the network ( in the pool view ? ) is it a network accessible by the xo ?

      posted in Backup
      florentF
      florent
    • RE: Backups with qcow2 enabled

      @acebmxer you need to enable NBD on the backup to ensure ti works with qcow2

      we 'll check for the progress bar

      posted in Backup
      florentF
      florent
    • RE: XOA - Memory Usage

      maybe a good news ?
      d8d2e80c-a644-4bd6-88b5-090edf1c3a6b-image.jpeg

      is completely stable since yesterday's patch

      posted in Xen Orchestra
      florentF
      florent
    • RE: XOA - Memory Usage

      @MajorP93 I think there are multiple issue for memory . Pillow and acebmxer uses proxy , so the backup memory is handled differently

      are you using XO from source or a xoa ? would you be ok to export a memory heap ?

      posted in Xen Orchestra
      florentF
      florent
    • RE: XOA - Memory Usage

      that's better but it still grew during the night
      50dbd90c-5235-4b0d-be4c-279d8281d3b2-image.jpeg
      (and the process did an aout of memory when I asked for a memory dump)

      I reduced the memory allocated to the rest api and will continue monitoring

      posted in Xen Orchestra
      florentF
      florent
    • RE: XOA - Memory Usage

      @ph7
      a9ebbee8-7a34-4469-8f48-8b76af15adf6-image.jpeg
      let's call it a day

      @acebmxer after 3 hours the consumption was slightly rising, so we also deployed the latest rest api patch which is already on master : https://github.com/vatesfr/xen-orchestra/commit/0fef765ce6b4bc96b28e6af9be3d3dba3fa7dc1e

      0 MathieuRA committed to vatesfr/xen-orchestra
      fix(rest-api): fix memory-leak on subscription (#9707)
      posted in Xen Orchestra
      florentF
      florent