• Re: GlusterFS with replica 3

    From ^Bart@none@none.it to alt.os.linux on Sun Oct 26 21:25:51 2025
    From Newsgroup: alt.os.linux

    All depends on what you are doing, small amount cpu/ram works fine in
    lab environments as you usually don't have 300+ clients trying to write.

    My CEO found the solution, the issue of the Wordpress sync by glusterfs
    was... millions of small files made from Wordpress! :D

    If sometime we delete these files the cluster works well!

    We understood it because if we did a simple df -h on /var/wwww/ and the
    node went down!

    So... I'm sorry, glusterfs you wasn't the guilty! :D

    ^Bart
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to alt.os.linux on Sun Oct 26 20:56:16 2025
    From Newsgroup: alt.os.linux

    On Sun, 26 Oct 2025 21:25:51 +0100, ^Bart wrote:

    My CEO found the solution, the issue of the Wordpress sync by glusterfs was... millions of small files made from Wordpress! :D

    If sometime we delete these files the cluster works well!

    Maybe if you delete WordPress altogether, your site would work even
    better ...

    IrCOve been setting up WordPress for a client, and itrCOs funny how sluggish it is, immediately after you have got it going, before you have even done
    any actual work with it.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Joerg Walther@joerg.walther@magenta.de to alt.os.linux on Mon Oct 27 17:40:28 2025
    From Newsgroup: alt.os.linux

    Lawrence D|e-|Oliveiro wrote:

    IrCOve been setting up WordPress for a client, and itrCOs funny how sluggish >it is, immediately after you have got it going, before you have even done >any actual work with it.

    Shared hosting most likely? Usually it is possible to give your WP
    instance more CPU power for a couple of bucks.

    -jw-
    --
    And now for something completely different...
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to alt.os.linux on Mon Oct 27 21:15:21 2025
    From Newsgroup: alt.os.linux

    On Mon, 27 Oct 2025 17:40:28 +0100, Joerg Walther wrote:

    Lawrence DrCOOliveiro wrote:

    IrCOve been setting up WordPress for a client, and itrCOs funny how
    sluggish it is, immediately after you have got it going, before you
    have even done any actual work with it.

    Shared hosting most likely?

    Nope. Dedicated in-house VM, on pretty decent hardware (lots of RAM
    and disk, CPU cores in the dozens) under XCP-ng. There are other
    company intranet apps running on other VMs, written (by me) in both
    PHP and Python, and they all work much more snappily than WordPress.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From J.O. Aho@user@example.net to alt.os.linux on Tue Oct 28 09:10:17 2025
    From Newsgroup: alt.os.linux

    On 27/10/2025 22.15, Lawrence DrCOOliveiro wrote:
    On Mon, 27 Oct 2025 17:40:28 +0100, Joerg Walther wrote:

    Lawrence DrCOOliveiro wrote:

    IrCOve been setting up WordPress for a client, and itrCOs funny how
    sluggish it is, immediately after you have got it going, before you
    have even done any actual work with it.

    Shared hosting most likely?

    Nope. Dedicated in-house VM, on pretty decent hardware (lots of RAM
    and disk, CPU cores in the dozens) under XCP-ng.

    It's not that much about how much the host machine has, it's how much
    you assigned the VM and of course if you have over provisioned

    There are other
    company intranet apps running on other VMs, written (by me) in both
    PHP and Python, and they all work much more snappily than WordPress.

    Are they at the same size and as much db dependent as WP?
    Also the database may be the bottle neck, as I don't know anything of
    your setup it's difficult to just say what could be wrong...

    There are so much more that can be different in a VM compared to run it
    on bare metal, for example memcached had big issues some years ago when
    run in a VM, it just was extremely slow, on a smaller bare metal
    instance it was snappy as hell. The reason was how the memory was
    handled in the by the virtualization.
    --
    //Aho




    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to alt.os.linux on Tue Oct 28 23:09:55 2025
    From Newsgroup: alt.os.linux

    On Tue, 28 Oct 2025 09:10:17 +0100, J.O. Aho wrote:

    Are they at the same size and as much db dependent as WP?

    Database-dependent -- several of them are quite heavily so.

    Same size and complexity ... obviously not.
    --- Synchronet 3.21a-Linux NewsLink 1.2