OpenVZ Forum


Home » General » Support » Network Hanging
icon5.gif  Network Hanging [message #3025] Mon, 08 May 2006 18:54 Go to next message
nihilist is currently offline  nihilist
Messages: 2
Registered: May 2006
Location: Toronto
Junior Member

I've got OpenVZ running on Gentoo, and I'm using Gentoo VPSs within it. Basically, I want to test out some software, but don't have a play system, nor do I bork my happy system.

Everything installed properly, all seems to be well. I first used SSH to connect to the VPS, and started to sync the local package management system with the main Gentoo one. After a few seconds, it hung. Killed the SSH connection, too. Had to restart the VPS to get SSH back. The second time I used vzctl enter to get a handle to the system. I ran the sync again, this time it succeeded. After that, I started an upgrade to bring the VPS up to date with the newer packages. This is when I started to notice the network problem.

Whenever I try to download files, it just hangs. I can CTRL-C the app, and try again. It'll snag a little bit more, then hang.

Here's an example of what I see (using wget):
Length: 28,254,232 (27M), 27,383,223 (26M) remaining [application/x-tar]
6% [+>                                   ] 1,845,163     --.--K/s  ETA 3:15:27


Any ideas?
Re: Network Hanging [message #3033 is a reply to message #3025] Tue, 09 May 2006 14:57 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

First of all, check output of /proc/user_beancounters.
Are there any failcounters (last column) for your VPS?


http://static.openvz.org/userbars/openvz-developer.png
Re: Network Hanging [message #3044 is a reply to message #3025] Tue, 09 May 2006 18:14 Go to previous messageGo to next message
nihilist is currently offline  nihilist
Messages: 2
Registered: May 2006
Location: Toronto
Junior Member

I didn't get a chance to check, and I applied a patch found in the bug tracker. Things working quite nicely now.

Except for Java. Java routinely hits the limits of privvmpages.
Re: Network Hanging [message #3046 is a reply to message #3044] Tue, 09 May 2006 18:24 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

which kernel version do you use?
if 2.6.16 then make sure that the following patches are applied:
http://git.openvz.org/?p=linux-2.6-openvz;a=commitdiff;h=500 ee5bfbc05a66477171729c638f3089f2fe876
http://git.openvz.org/?p=linux-2.6-openvz;a=commitdiff;h=e89 d47180be67cab080620479e4525ab133ff69b

also increase your privvmpages limit if needed.


http://static.openvz.org/userbars/openvz-developer.png

[Updated on: Tue, 09 May 2006 18:24]

Report message to a moderator

Previous Topic: Directories read-only in one VPS, read-write in another?
Next Topic: VPS with no barrir and no limit
Goto Forum:
  


Current Time: Tue Nov 19 07:55:24 GMT 2024

Total time taken to generate the page: 0.03056 seconds