pveproxy has peformance problem with keep alive connection

languanghao

New Member
Feb 28, 2015
16
0
1
When many people use novnc, the api server(web gui, novnc) will not response for new connection. But the novnc alreay opend still working, and the command 'pveproxy status' shows the service is running.

After edit the /usr/share/perl5/PVE/Service/pveproxy.pm, change the 'max_workers' option, pveproxy can accept more connection.

Code:
my %daemon_options = (
    max_workers => 3, # change it to 7
    restart_on_error => 5,
    stop_wait_time => 15,
    leave_children_open_on_reload => 1,
    setuid => 'www-data',
    setgid => 'www-data',
    pidfile => '/var/run/wayproxy/wayproxy.pid',
);

Also I metioned :
Proxmox VE 3.0 completely replaces Apache2 with a new event driven API server (pveproxy). This allows efficient support for HTTP keep-alive.

Maybe the pveproxy can not hold keep alive connection very well?

Is there a way to repalces pveproxy with nginx?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!