[SOLVED] Http query saturation on CT

nico las

Active Member
Dec 12, 2016
25
0
41
43
Dear community,

I have a proxmox server (last version, Virtual Environment 4.4-5) and I have a CT on it with debian 8.

The CT saturate (apache timeout) after 150 http query / seconds, but I don't understand why because my load server are only 7%.

Could you help me to understand why please ?

Capture_d_e_cran_2017_01_24_a_14_36_54.png

Capture_d_e_cran_2017_01_24_a_14_37_27.png

Capture_d_e_cran_2017_01_24_a_14_37_45.png

Capture_d_e_cran_2017_01_24_a_14_38_45.png
 
No help about this ? I looking about ulimit but I don't know if is a right way... I know mysql, php, apache are their limit, and I already optimize this parts.
 
this depends largely on your apache config i think?
what limits do you have there ?
 
Thanks for your reply.

I don't know if is important but the ulimit -n command give me 65536 on proxmox server, and only 1024 on my CT.

You can find below some of my configuration where I looking for information about limit or max processus

/etc/apache2/envvars
## If you need a higher file descriptor limit, uncomment and adjust the
## following line (default is 8192):
#APACHE_ULIMIT_MAX_FILES='ulimit -n 65536'

/etc/apache2/apace2.conf
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

/etc/apache2/mods-enabled/mpm_prefork.conf
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxRequestWorkers: maximum number of server processes allowed to start
# MaxConnectionsPerChild: maximum number of requests a server process serves

<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxRequestWorkers 150
MaxConnectionsPerChild 0
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
 
MaxRequestWorkers 150

sounds like there is your limit?

but beware i am no specialist in apache tuning, so maybe those questions are better for people who know apache
 
Yes, I will try to increase this value. This subject has a lot of possibilities.
Thanks for you help
 

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!