Have two identical servers.
1. One with proxmox 8.x (lets call it CT-A)
2. One with Ubuntu 20.04 LTS (And call this Dedi-B)
Have a web based app running nginx+php-fpm (mysql is on other server).
Now problem is that if I use LXC CT (CT-A) on for that App on proxmox server with same amount as host node and plenty of RAM (our web app needs really small ram) then CT is eating all CPU and constantly doing 100%, while if we send same traffic with same (nginx+ fpm) config to 2nd server (Dedi-B ie. Dedicated ubuntu server), there is hardly 2-5% cpu usage.
Both servers are on same DC, exactly same HW config, remote mysql server is also in same DC. Have tried really lots of combination but just con't find where is the issue. All servers are communicating with each other on private lan and have full 1 gbit link. Mysql server has no load issue to rule out if sql might causing slow responses,
There are no errors in PHP logs, fpm or nginx logs either.
I know that there could be some performance loss when using virtualization but should be neglible. Here I am not even sure if its virtualization or something else.
Suggestion are welcome to point to right direction or where to start looking to find exact reason for the load. I am ready to start with basic troubleshooting as that would eliminate the chances of human error.
1. One with proxmox 8.x (lets call it CT-A)
2. One with Ubuntu 20.04 LTS (And call this Dedi-B)
Have a web based app running nginx+php-fpm (mysql is on other server).
Now problem is that if I use LXC CT (CT-A) on for that App on proxmox server with same amount as host node and plenty of RAM (our web app needs really small ram) then CT is eating all CPU and constantly doing 100%, while if we send same traffic with same (nginx+ fpm) config to 2nd server (Dedi-B ie. Dedicated ubuntu server), there is hardly 2-5% cpu usage.
Both servers are on same DC, exactly same HW config, remote mysql server is also in same DC. Have tried really lots of combination but just con't find where is the issue. All servers are communicating with each other on private lan and have full 1 gbit link. Mysql server has no load issue to rule out if sql might causing slow responses,
There are no errors in PHP logs, fpm or nginx logs either.
I know that there could be some performance loss when using virtualization but should be neglible. Here I am not even sure if its virtualization or something else.
Suggestion are welcome to point to right direction or where to start looking to find exact reason for the load. I am ready to start with basic troubleshooting as that would eliminate the chances of human error.