I always use OpenLiteSpeed on all servers, all is okay, 2,2GB ram max usage on 20! wordpress sites: https://prnt.sc/1qoeh5q

I must installed on 1 server (ARM Oracle) because OLS not support their REHL system. Nginx with 3 wordpress site eat 4,4GB ram: https://prnt.sc/1qoejyb

Newer db MariaDB is on Nginx, what I make bad? Why eat so much ram? Cleaning ram not help, on all WP sites are same security (Wordfence, All in one security, BBQ... etc), there no difference.
Only fresh new sites what 3-4 day started are on Nginx, so not much visiting 5-10 users daily.
How optimize memory usage? When I ad a few more sites, no ram available...

Hello, I don't really understand the habits of AAPanel users using AAPanel forum, is it that you often upload images to https://prnt.sc/? I have to open another website to view this image to solve the problem.
The difference between OpenLiteSpeed and Nginx, MySQL 5.7 and Mariadb 10.5 will cause the problem of memory convenience you mentioned, we suggest you use

free -h
yum install htop -y && htop

Use the htop command to see the difference in memory usage between your servers

    aapanel_power

    Is a fast image uploader and you get only 1 link to open: https://prnt.sc/1qomdwn
    No package for this RHEL

    (Ad: Oracle Linux, which is 100% application binary compatible with Red Hat Enterprise Linux), and it´s not compatible... 😃

      Stealth I completely agree with aapanel_power. It's not convenient. Why would I click on a link and go to another site instead of just looking at the image. BTW you can just press Ctrl+V to insert image directly on the forum.

      Anybody tips? Start only 1 site to import 4042 XML products:

      Still not know why use anybody Nginx... When I start 3 site import/update products, no 10GB ram left or what?

        Stealth Start only 1 site to import 4042 XML products

        I think it is normal when you import products. What is cpu and ram after import, when everything is normal ?

        Moment, yet importing second site, must wait, 1000+ products left:

        This is the usage from TOP while importing:

        And what happens if you disable some ( or all ) of the WP plugins?
        Like Wordfence, All in one security. Disable them and check again. How many plugin's do you have active? These security plugins were famous for eating recources, but maybe that changed over the years.

        I have 11 WP sites on that server with ngninx. Each WP site is using about 20 plugins and Generatepress theme. Caching done with Fastcgi no problems.

        Can you test disabling plugins and see if that helps? You could also try to install the Query Monitor plugin ( by John Blackbourn) to see if there are heavy queries, Just some suggestions.

          10-15 plugin on 1 site.

          I deleted 3 site, moved to old OLS server. This is terrible... Nginx is only good for Proxy to Apache, I think Apache not eat so much memory like Nginx...

          But did you test disabling all plugins ?
          I find it a bit to easy to say that ngninx is terrible without looking further. Even when you use just 3 plugins, when one of them is scripted poor, the result can be slow site's.
          I also run ngninx, but don't have those problems. It is not so hard to make WP slow with the wrong plugins/themes. The opposite is also true 🙂
          Anyway, I wish you luck with testing

            Can´t be a bad plugin, because before on OLS server max use of ram is 2GB. Same good plugins, always updated.

            JimmyBobsa Can you share your Nginx settings?

            JimmyBobsa what version of nginx are you using? and what type of database?
            You don't provide solutions just by showing off. I think it's not good enough to share in this forum.
            If you want to share, give us your settings. I think that is a good thing in the discussion forum.

              ady0651 If you want to share, give us your settings

              Fair enough 🙂
              I didn't show the screen for showing off, just to let Tommyboy see that ngninx is not crap per definition

              All settings are standard. Things I did -
              Follow this guide here
              https://www.aapanel.com/forum/d/593-how-to-enable-fastcgi-cache-for-wordpress-with-aapanel

              In WP are NO caching plugins, but I use plugins autoptimize, Async JavaScript. Installed on VPS- Redis and fastcgi. Also the plugin WPS Hide Login to prevent bruteforce as much as possible. At the moment using PHP7.3 because I find that ( in real world ) it is the fastest. With 7.4 and 8 I get worse results
              Theme only use GeneratePress pro because it is fast out of the box with lots of options.
              VPS is from Hetzner Germany, I think they are speedy at low cost.
              So, no special configurations. Pretty much all standard.

                JimmyBobsa Well like this is good enough in the discussion. Oh, so I'm using nginx version 1.17, it seems quite ok, because on nginx versions 1.19 and 1.21 it takes up a lot of memory, I also experienced it. Maybe have to try the version below again, like you bro.

                  1.21 using like on photos. Eat a lot of memory yes... I go try switch lower, but is secure?

                    Stealth I didn't change the nginx version and stick with 1.21, but I minimized max_childern in the php optimization settings. On the initial setup of my 2/4gb vps max_childern 80 and I changed to 50 it pretty much reduces memory consumption.
                    Referring to the following website https://serverpilot.io/docs/how-to-change-the-php-fpm-max_children-setting
                    20 = 20,000 visitors means that by setting 50 = maybe 50,000 visitors 🙂