Re: [Vserver] [Re:] vcontext/login CPU usage at 100%
Hi, I also have this problem. Is there already a solution? My setup: # vserver-info Versions: Kernel: 2.6.20.11-vs2.2.0 VS-API: 0x00020200 util-vserver: 0.30.212; Dec 9 2006, 12:26:51 Features: CC: gcc, gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-20) CXX: g++, g++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-20) CPPFLAGS: '' CFLAGS: '-Wall -g -O2 -std=c99 -Wall -pedantic -W -funit-at-a-time' CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W -fmessage-length=0 -funit-at-a-time' build/host: i486-pc-linux-gnu/i486-pc-linux-gnu Use dietlibc: yes Build C++ programs: yes Build C99 programs: yes Available APIs: compat,v11,fscompat,v13,net,v21,oldproc,olduts ext2fs Source: e2fsprogs syscall(2) invocation: alternative vserver(2) syscall#: 273/glibc Paths: prefix: /usr sysconf-Directory: /etc cfg-Directory: /etc/vservers initrd-Directory: $(sysconfdir)/init.d pkgstate-Directory: /var/run/vservers vserver-Rootdir: /var/lib/vservers Assumed 'SYSINFO' as no other option given; try '--help' for more information. # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 3 model name : Intel(R) Pentium(R) 4 CPU 3.00GHz stepping: 4 cpu MHz : 2992.742 cache size : 1024 KB physical id : 0 siblings: 2 core id : 0 cpu cores : 1 fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pni monitor ds_cpl cid xtpr bogomips: 5989.51 clflush size: 64 processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 3 model name : Intel(R) Pentium(R) 4 CPU 3.00GHz stepping: 4 cpu MHz : 2992.742 cache size : 1024 KB physical id : 0 siblings: 2 core id : 0 cpu cores : 1 fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pni monitor ds_cpl cid xtpr bogomips: 5985.45 clflush size: 64 Thanks, Rúben Em Sab, Março 24, 2007 18:26, Luis escreveu: > Summary: > === > After a "vserver XX enter", if vcontext/login gets disconnected from its > terminal its CPU usage steadily increases to 100%. > === > > Description: > === > We are having exactly the same problem this guy had: > http://archives.linux-vserver.org/200701/0054.html > > Here is his description of the problem and how he managed to reproduce it: > >> First problem: >> In some situations my CPU was burning like hell for days before I >> noticed it. >> This was the vcontext/login process, the one running when using the >> command "vserver XX enter". >> If it happens that the process is disconnected from its terminal it >> eats all the CPU :-( >> >> Apparently it happens when the session is not ended properly >> (disconnections, etc) >> I could reproduce the problem as follow: >> * ssh to the server as normal user >> * sudo su - >> * vserver XX enter >> * now from another term, kill -9 on either of the two su processes >> ("su -" or "-su") >> At that point the session in the vserver ends but vcontext is still >> hooked to the current terminal so cpu is fine. >> * now quit the current terminal >> At that point vcontext is not hooked to any terminal (vps ax => "?" >> on the tty column) and using top you see it's running 100% cpu, ~ 80% >> system and 20% user. > > We can reproduce this problem following exactly the same steps. After > quitting the terminal, CPU usage steadily increases to 100%. > > Let us know if there's any other information that might be useful. Also, > if you can't reproduce the problem on your side, maybe we can help > debugging it from here. Anyway, let us know. > === > > Environment: > === > > Kernel > == > $ cat /proc/version > Linux version 2.6.20.1-vs2.2.0-rc15 ([EMAIL PROTECTED]) (gcc version > 3.4.6) #1 SMP Fri Mar 2 20:28:38 BRT 2007 > == > > CPU > == > $ cat /proc/cpuinfo > processor : 0 > vendor_id : AuthenticAMD > cpu family : 15 > model : 43 > model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ > stepping
Re: [Vserver] best timer freq to use?
On Friday 15 June 2007 13:33, Herbert Poetzl wrote: any thoughts on my other question on cfq? > On Thu, Jun 14, 2007 at 03:55:31PM -0400, Chuck wrote: > > also, have the vserver systems been tuned around a certain timer frequency? > > > > 100? or 1000? or in between somewhere? for best efficiency still allowing > > remote terminal responsiveness under extremely heavy loads? > > 100 will give better overall resource utilization > and allow the system to get slighly more work done, > 1000 OTOH, will increase responsiveness and reduce > latencies slightly, for the cost of slightly higher > overhead from the task switching ... > > usually 100 is more than fine for non interactive > systems and up to 50 guests, but you might want to > raise that to 250 or even 1000 for 100 and more > guest systems ... > > HTC, > Herbert > > > -- > > > > Chuck > > > > > > > > > > ___ > > Vserver mailing list > > Vserver@list.linux-vserver.org > > http://list.linux-vserver.org/mailman/listinfo/vserver > -- Chuck "...and the hordes of M$*ft users descended upon me in their anger, and asked 'Why do you not get the viruses or the BlueScreensOfDeath or insecure system troubles and slowness or pay through the nose for an OS as *we* do?!!', and I answered...'I use Linux'. " The Book of John, chapter 1, page 1, and end of book ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] best timer freq to use?
On Friday 15 June 2007 13:33, Herbert Poetzl wrote: > On Thu, Jun 14, 2007 at 03:55:31PM -0400, Chuck wrote: > > also, have the vserver systems been tuned around a certain timer frequency? > > > > 100? or 1000? or in between somewhere? for best efficiency still allowing > > remote terminal responsiveness under extremely heavy loads? > > 100 will give better overall resource utilization > and allow the system to get slighly more work done, > 1000 OTOH, will increase responsiveness and reduce > latencies slightly, for the cost of slightly higher > overhead from the task switching ... > > usually 100 is more than fine for non interactive > systems and up to 50 guests, but you might want to > raise that to 250 or even 1000 for 100 and more > guest systems ... thanks! > > HTC, > Herbert > > > -- > > > > Chuck > > > > > > > > > > ___ > > Vserver mailing list > > Vserver@list.linux-vserver.org > > http://list.linux-vserver.org/mailman/listinfo/vserver > -- Chuck "...and the hordes of M$*ft users descended upon me in their anger, and asked 'Why do you not get the viruses or the BlueScreensOfDeath or insecure system troubles and slowness or pay through the nose for an OS as *we* do?!!', and I answered...'I use Linux'. " The Book of John, chapter 1, page 1, and end of book ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] best timer freq to use?
On Thu, Jun 14, 2007 at 03:55:31PM -0400, Chuck wrote: > also, have the vserver systems been tuned around a certain timer frequency? > > 100? or 1000? or in between somewhere? for best efficiency still allowing > remote terminal responsiveness under extremely heavy loads? 100 will give better overall resource utilization and allow the system to get slighly more work done, 1000 OTOH, will increase responsiveness and reduce latencies slightly, for the cost of slightly higher overhead from the task switching ... usually 100 is more than fine for non interactive systems and up to 50 guests, but you might want to raise that to 250 or even 1000 for 100 and more guest systems ... HTC, Herbert > -- > > Chuck > > > > > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Debian guest on a Gentoo Host?
On Wed, Jun 13, 2007 at 06:44:35PM +0200, Benedikt Boehm wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > jepa kazol wrote: > > Hi guys, > > I am trying to move all of my gentoo servers to debian and for now I am > > trying to install a debian guest vserver on a gentoo host. But I > > couldn't find out how to do that. Is there anyone on this list did the > > job? Please share your experiences with me... > > emerge debootstrap '>=sys-cluster/util-vserver-0.30.213' hmm, actually I think the tools should download the debootstrap themselves, but of course, you can pre- install it as well ... best, Herbert > vserver build -m debootstrap -- -d etch -m > > -BEGIN PGP SIGNATURE- > Version: GnuPG v2.0.4 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFGcB7zmPFBzbX68WERApUrAJkBt2BM13bE7m8i3inasJM5I79YXwCfcYKj > 2EDDVhaZzSuF5Kz+SNiMjxY= > =OjkG > -END PGP SIGNATURE- > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver