[pve-devel] [PATCH] increase max POST data limit to 64 KB

Thomas Lamprecht t.lamprecht at proxmox.com
Fri May 12 09:37:49 CEST 2017


this matches also our wbuf_max settings of our AnyEvent handle

Tested with 1000 parallel started dummy POST request with 64KB
payload, wh

It should not be too problematic to increase the limit

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---

I ran into problems when testing the "Bulk Actions" function with a lot (AFAIK
(tested in march) ~1000) CTs/VMs, imo this should still work.


 PVE/APIServer/AnyEvent.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/APIServer/AnyEvent.pm b/PVE/APIServer/AnyEvent.pm
index b2d58c5..0276619 100755
--- a/PVE/APIServer/AnyEvent.pm
+++ b/PVE/APIServer/AnyEvent.pm
@@ -47,7 +47,7 @@ use Data::Dumper;
 
 my $limit_max_headers = 30;
 my $limit_max_header_size = 8*1024;
-my $limit_max_post = 16*1024;
+my $limit_max_post = 64*1024;
 
 my $known_methods = {
     GET => 1,
-- 
2.11.0





More information about the pve-devel mailing list