Just so you know, if you hit tcpsndbuf you're going to see fairly random 'stalled' and hung connections, but as far as I undestand it this should only affect network performance. Were you seeing actual failures of the applications in question? <br>
<br>Keep in mind tcpsndbuf is accounted in low memory, you may want to make sure when activity picks up that you're not existing low memory (hard to guess without the context in which the containers are used).<br><br>
<div class="gmail_quote">On Wed, Jul 9, 2008 at 6:08 PM, Steve Wray <<a href="mailto:steve.wray@cwa.co.nz">steve.wray@cwa.co.nz</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Benoit Branciard wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Steve Wray a écrit :<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
No answers? Its been a while...<br>
<br>
We have a bunch of openvz VMs, nothing 'in production'. The host has 4G of RAM. I want all the VMs to have access to 4G of RAM and all the sockets and other stuff that they may need at any time; I don't have time to carefuly tune the parameters of all of them to just what they need and no more.<br>
<br>
I don't mind or care that they are over-committed I just want them to have max resources.<br>
<br>
</blockquote>
<br>
vzsplit -n 1 -f max-limits<br>
<br>
then for each container NNN:<br>
vzctl set NNN --applyconfig max-limits --save<br>
</blockquote>
<br>
<br></div>
Fantastic, thanks guys.<br>
<br>
The thing is that almost all of the time almost all of these VMs will be unused. But when they are used they can use a lot of resources.<br>
<br>
However, stopping and starting them as they are needed isn't an option. I need to have them all running at all times.<br>
<br>
Unfortunately, the applications running on them can behave quite mysteriously when things like tcpsndbuf hit a limit.<br>
<br>
And I've seen some very very strange behavior out of applications when these limits get hit... its been truly baffling sometimes!<div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a><br>
<a href="https://openvz.org/mailman/listinfo/users" target="_blank">https://openvz.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>