[00:01] Edgan (edgan@proton.cygnusx-1.org) joined #vserver. [00:01] hi Edgan! [00:01] Bertl: Hello [00:10] what brings you here? [00:25] nathan_: any news? [00:30] Bertl, still running crashing stuff [00:30] so it is stable with the modifications, right? [00:31] only started a few minutes go, seems to be [00:31] the // IMHO stuff [00:37] Bertl, did you say you sorted the -1 issue out? [00:37] hmm, well, I said, I (guess I) know what it is, but we have to do some testing ... [00:37] ok [00:38] well i just loaded up all the tests with the console coming to my house [00:38] so they will leave my other box alone [00:38] worst case i lose this testing box [00:38] 16:39:52 up 2:24, 6 users, load average: 530.56, 387.93, 133.04 [00:38] SCHED_RR shells are the best [00:38] box seems to be doing fine [00:39] dam [00:39] load! [00:39] nathan, what the heck are you doing? [00:39] browsing the web, what? whats wrong? [00:39] lol [00:39] Bertl: how can I help you with memory limit? so it will be available for vs1.22 and 1.3.x. [00:39] nathan, want my cpuslam.sh? [00:39] it's guaranteed for 1000 load avg [00:40] infowolfe, does it test vserver or just the main context? [00:40] nathan, it'll slam the cpu of... well, anything that has ssh-keygen :-D [00:40] how you "stop" it is killall -9 ssh-keygen :-D [00:40] infowolfe, ah, i want more context switches than that :) [00:40] thanks though [00:41] well, get into the context, and run 500 ssh-keygens :-D [00:41] noel: hmm, if you volunteer to do some testing, I can do a patch very quick ... [00:41] with -b 8192 -t rsa -f /dev/null [00:41] infowolfe, i need processes dying quickly and respawning [00:41] not cpu bound processes [00:41] Bertl: sure. i'm testing. later also on sparc [00:41] infowolfe: nathan is using kilelr ... [00:41] killer I mean ... [00:42] i'll have to take a look at it [00:42] hmm, you 'should' wait for vs1.3.3 ;) [00:42] otherwise your vserver box will be down in a minute (at most) [00:42] Bertl, id say this box is solid with the stuff we are testing [00:42] okay [00:43] ah, custom made vserver stress-testing [00:43] Bertl, btw what about the ip code? you confident in that or do we want to do some strss testing as well? [00:43] just let me update the patch a 1.3.2.5 ... [00:43] i use cpuslam to burn in processors :-D [00:43] nathan_: and you can think about a ip stress testing variant [00:43] ok [00:44] i have to go get some bananas, ill leave this running and ill be back in about 20m [00:44] oki, cu later, and thanks for testing ;) [00:44] noel: you have some time for mem limits? [00:46] Bertl: yes. its the reason why I'm asking. Its a feature which I would like to have and I want help testing. [00:46] okay, I just meant right now? right? [00:47] Bertl: yes. If you have the time. we are in the same timezone afaik and I have time until 1 or 2 o'clock.:) [00:47] great ... [00:47] so lets start ... [00:47] Bertl: :) [00:49] Bertl: have a runing 2.4.23-vs1.22 testbox (sadly all my testmachines (one i386, one sparc and one sparc64) are not available from the internet, but if I get a feature working I will reproduce it on sparc) [00:52] sounds good to me ... [00:54] http://vserver.13thfloor.at/Experimental/delta-2.4.23-vs1.3.2-vs1.3.2.5.diff [00:55] this is a patch ontop of vs1.3.2 ... we will use this as a basis for the mem limits ... [00:56] ah. ok. I will have to build 1.3.2 with this delta... [00:56] yes, and an additional memory limit patch, I'm currently working on ... [00:57] but in the meantime you could test this version (1.3.2.5) on sparc, if possible ... [00:57] Bertl, if you can give me a pointer on what software i should use to get a kernel up quick for testing, let me know and i'll test in parallel [00:57] hmm, you need a compiler (gcc 2.95/2.96 preferred) [00:58] gnumake, ncurses, a .config file for your machine ... [00:58] Bertl... that's not what i'm talking about [00:58] lol [00:58] what should be used as the virtual machine... [00:58] ahh .. I'm using QEMU and currently trying to fix bochs, because of the SMP emulation ... [00:59] bochs has smp emulation? [00:59] well, sort of .... [00:59] Bertl: sorry. the 2 sparc are only at work and I have no access to them via the net. I will take the sparc32 with me on monday so I can test more often. [00:59] ah okay, np ... TIA ... [01:00] Bertl, i'm lost, give me a little time, i'm trying to get a gentleman that i'm working doing some vserver automation for to send me a dual p3 [01:00] and i can get a sparc from work also [01:00] (both running gentoo to make sure that we're not having problems with using the latest glibc/gcc) [01:01] and i'll probably dual-boot the sparc with gentoo/aurora (since they're the most stable 2 i've seen on sparc... ps i don't like debian) [01:01] hmm, what we will need soon are special test cases, or automated scripts which do some regression/stability tests ... [01:01] bertl, when i get the hardware, i'll give you net access [01:02] and you can directly do whatever you want... [01:02] hmm, thanks, but that wasn't what I meant ... [01:02] ok [01:02] what did you mean then? [01:03] that we will need to do some automated testing scripts/tools/etc ... [01:03] oh, well, if it can be written in bash, i can do it :-D [01:03] hmm, sounds good, you know my testme.sh bash virus? [01:04] nope [01:04] http://vserver.13thfloor.at/Stuff/testme.sh [01:04] reading it now [01:05] it's a basic function test for vserver .. can be extended easily ... [01:05] why'd you call it a virus? [01:06] definitely cute... [01:06] because the first person I asked to run it, believed that it would do something bad ... [01:06] LMFAO [01:06] they obviously didn't read it [01:07] altogether, very pretty... it's what i've come to expect from you Bertl... [01:07] very... efficient [01:07] hmm, thanks ... [01:08] the fact that it includes help... VERY nice... i usually don't allow help features, you have to read it to use it (or be me :-p) [01:08] Action: infowolfe thinks it keeps his boss from doing stupid things with his scripts [01:22] ozan (~ozan@dsl81-215-18120.adsl.ttnet.net.tr) joined #vserver. [01:22] hi ozan! [01:23] hello ... [01:23] what up ? [01:23] well, we are stress testing vserver ... [01:24] umm cool [01:24] and it seems, we fixed some race issues on SMP ... [01:26] super... i was tring to install rh9.0 :) [01:26] may be you can help.. [01:26] with RH 9.0 installation? [01:26] i am using the install-rh9.0 name minimum .. on a debian woody .. [01:28] but rpm gives dep errors.. i added --nodeps but this time gived "need xmb space" for a lot of packages... [01:33] hmm, which tools? what version? [01:33] util-vserver-0.26 [01:34] script is install-rh9.0 [01:34] my kernel is 2.4.23-vs1.1.6 [01:35] hmm, enrico usually favours the apt-get-rpm solution for installation ... [01:35] apt-get-rpm ? [01:35] but I haven't tried the install-rh9.0 script yet ... [01:36] you mean apt-get rpm ? i got rpm installed v4.0.3 [01:36] nope, there is an apt based rpm installation tool somewhere ... [01:36] umm time to google .. [01:37] it basically does the same apt-get does but with rpms ... [01:38] umm you mean , apt-rpm , like debootstrap ... first install apt-rpm then do thinks with it .. umm sounds nine [01:38] ahh, savannah is up again ... [01:38] http://savannah.nongnu.org/projects/util-vserver [01:38] IIRC he has some docu there ... [01:40] noel: we are getting somewhere, you can start preparing some memory test scenarios ... [01:41] compile problem with 1.3.2.5: [01:41] gcc -D__KERNEL__ -I/usr/src/linux-2.4.23-vs1.3.2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -iwithprefix include -DKBUILD_BASENAME=array -c -o array.o array.c [01:41] array.c: In function `proc_pid_stat': [01:41] array.c:398: request for member `vx_initpid' in something not a structure or union [01:41] make[3]: *** [array.o] Error 1 [01:41] make[3]: Leaving directory `/usr/src/linux-2.4.23-vs1.3.2/fs/proc' [01:41] make[2]: *** [first_rule] Error 2 [01:41] make[2]: Leaving directory `/usr/src/linux-2.4.23-vs1.3.2/fs/proc' [01:41] make[1]: *** [_subdir_proc] Error 2 [01:41] hmm ... let me verify ... [01:43] hmm okay, please replace the . in current->vx_info.vx_initpid by a -> [01:43] tanjix (ViRu_@pD904A06C.dip.t-dialin.net) left irc: [01:44] Edgan (edgan@proton.cygnusx-1.org) left #vserver (Client exiting). [01:45] ok.... [01:46] now I have this line: current->vx_info->vx_initpid == ppid) [01:46] yup ... [01:47] that should work ... [01:50] compile... [02:12] maybe I need a fast machine if I test more often;) ok. ready 2.4.23-vs1.3.2 [02:12] you do not need to recompile everything if you patch the 'next' patch (memory limits) ... just a make dep; and then make bzImage ... [02:14] :) jepp. but its still a slow k6. [02:14] vendor_id: AuthenticAMD [02:14] model name: AMD-K6(tm) 3D processor [02:15] cpu MHz: 400.917 [02:15] model name : AMD-K6(tm) 3D+ Processor [02:15] stepping : 1 [02:15] cpu MHz : 400.917 [02:16] see the "+";) [02:16] umm apt worked nice :) [02:16] hey great ... [02:16] thanks for the light Bertl [02:17] maybe you could add that somewhere on linux-vserver.org? [02:18] yes of course .. i will re check the deps .. there is some rpms hadto install first ..may be i can write a little script for it... [02:18] ive never cut so many bananas in my life [02:18] ok bert what do you have for me [02:18] 18:19:42 up 4:04, 6 users, load average: 860.92, 388.31, 328.50 [02:18] box is solid [02:18] cool ... [02:19] try do adapt the killer for ipv4 root testing ;) [02:19] ok [02:19] where did you think it was risky? [02:20] well, basically adding ip_root to the process, adds that info to /proc ... so same issue there ... [02:20] ñok [02:20] so its really the proc access you are worried about? [02:21] jup ... [02:21] k [02:21] ill hack something up and then go make some beef jerky [02:28] make it so, #1 ... [02:28] noel, I'm almost done ... a few minutes ... [02:33] sure. take your time. [02:34] yeah, I decided not to rediff the patch, but to redo it from scratch ... [02:43] what is the difference between vserver and usermode linux? [02:44] micah: UML has for every instance its own kernel. [02:45] and no shared resources, like files, memory, etc ... [02:45] what is the benefit of sharing resources if you want them separated for security anyways? [02:46] not trying to troll, just trying to understand :) [02:46] Bertl: btw. I was able to successfully md+lvm my drives, thanks for the help earlier [02:50] micah-> `mount --bind` for one [02:55] micah: no problem .. ur welcome [02:55] if you put two or more vservers on a shared partition, you can share about 80% of the vserver installation, leaving each vserver at a size of 20-30MB (without customer data) [03:00] Bertl, like a rock [03:00] Bertl, spawning new context, setting root, exit. [03:00] about 20 processes doing that infinitely, about 10 processes catting /proc/*/status [03:00] 19:01:53 up 4:46, 5 users, load average: 331.30, 123.96, 75.62 [03:00] looks good ... [03:02] can a vserver support it's on IPTables rules? [03:02] kungfuftr, no [03:02] question@all how should limits be presented in /proc//? [03:03] subdirectory for things to be limited (ie: cpu, mem, etc.) an a file within each for each vserver which just holds a value [03:03] hmm, that would pretty blow procfs I guess ... [03:04] we have about 12 possible limits defined, currently ... [03:04] Action: nathan_ hasnt even looked at the limits [03:04] I was thinking about something more like /proc/meminfo ... [03:05] maybe /proc//limits [03:05] xid? [03:05] xid = context id ;) [03:05] Bertl, isnt /proc/xid going to collide namespaces with /proc/pid? [03:05] is /proc/ the current fashion? [03:05] or were you going to clarify it? [03:06] hmm, actually it's /proc/virtual/ ... sorry ... [03:06] oh ok [03:06] Bertl, is this just going to be a getter or a setter too? [03:06] ah by the way, you can test those proc entries ... [03:06] this is only for reading, setting is done via syscall command [03:07] well... how bout /proc/virtual//limits/ (all files with values) [03:07] Bertl, if its just for reading why not just use one file per xid that is easily parsed? [03:08] nathan_-> becuase there's already a level of seperation for each [03:08] iirc [03:08] hmm, kungfuftr: what are your arguments _agains_ a /proc/virtual//limit file similar to /proc/meminfo [03:09] s/agains/against/ [03:10] Bertl-> it requires parsing... having a seperate file for each different limit makes it a lot simplier to code [03:10] hmm but in that case, we would need three files for each limit ... [03:11] how so? [03:11] hmm wrong, four files ... [03:11] we define a min/soft/hard and current [03:11] nah... seperated values [03:12] 0 300 350 119 [03:12] and then you need a tool to display them at one page, which is the only thing you probably do with that interface ... [03:19] hmm, okay, any other opinions? [03:20] perhaps a numeric value setup for caps? [03:21] writeable? [03:21] please elaborate ... [03:22] so let's say CAP_NET_RAW is xxxx(0/1)xx boolean... you can echo "xxxx1xx" to turn it on or "xxxx0xx": to turn it off [03:22] hhhmmm... is the sort of thing that sysctl would be perfect for [03:22] tell me if i'm pasting black again [03:22] hmm, you can't turn a capability 'on' [03:22] (no pun intended) [03:23] sorry... forgive my lack of coding skill :-( [03:23] capabilities are remove only ;) [03:23] even if your xid is 0? [03:24] and you have CAP_SYS_ADM? [03:24] infowolfe-> you turn it off by setting the limits to 0 [03:25] well, actually it depends on CAP_SETPCAP which allows to transfer them ... [03:25] but what would you use that interface for? [03:26] I mean what would you be able to do, what you can't do with the current one? [03:26] like "echo 1 > /proc/sys/net/ipv4/ip_forward" ? [03:26] i guess it wouldn't work, since you can't add capabilities on the fly anyway [03:26] (perhaps a security issue?) [03:28] okay noel, we got something to test ... [03:28] :) [03:28] brand new, never tested before ... [03:29] yeah. [03:30] just a final check on my side ... [03:30] sure. [03:32] http://vserver.13thfloor.at/Experimental/patch-2.4.23-vs1.3.x-ml0.08.diff [03:33] but I expect it to be 'not perfect' ;) [03:34] patching file fs/binfmt_elf.c [03:34] patching file fs/binfmt_som.c [03:34] patching file fs/exec.c [03:34] patching file fs/proc/array.c [03:34] Hunk #1 FAILED at 395. [03:34] 1 out of 1 hunk FAILED -- saving rejects to file fs/proc/array.c.rej [03:34] can't find file to patch at input line 183 [03:34] Perhaps you used the wrong -p or --strip option? [03:34] The text leading up to this was: [03:34] -------------------------- [03:34] |diff -NurpP --minimal linux-2.4.23-vs1.3.2.5/fs/proc/virtual.c linux-2.4.23-vs1.3.2.5-ml0.05/fs/proc/virtual.c [03:34] |--- linux-2.4.23-vs1.3.2.5/fs/proc/virtual.c Sat Jan 3 23:10:10 2004 [03:34] |+++ linux-2.4.23-vs1.3.2.5-ml0.05/fs/proc/virtual.c Sun Jan 4 01:26:55 2004-------------------------- [03:34] first is clear. its the manual change. but then? [03:35] hmm, you didn't forget the 1.3.2 patch? [03:35] args. wrong dir...:( sorry. [03:35] yes you are right. [03:38] applied and compiling... [03:41] ahh, rss seems wrong, but vm looks okay ... [03:43] the line in kernel/fork.c:154 is wrong ... [03:44] mm->rss = 0; [03:44] should be that ... [03:44] instead of the vm_rss... stuff [03:45] ok checking... [03:47] again. you mean s/mm->rss/vm_rss? right now its mm->rss = 0; [03:48] if it's mm->rss = 0, then you forgot to apply the ml0.08 patch ... [03:50] args. sorry for so stupid. I was in the wrong kernel dir again.:( [03:51] no problem .. you get used to it after working with 1000+ kernels ;) [03:51] oh then I have so kernel to do.:) [03:52] 154 is: vx_rsspages_sub(mm, mm->rss); [03:52] yeah, that change was wrong .. so put back in mm->rss = 0; again [03:52] got to go, by all [03:52] cu ozan! [03:52] cu ozan [03:52] ozan (~ozan@dsl81-215-18120.adsl.ttnet.net.tr) left irc: Quit: bzzt [03:53] hmm as a matter of fact, it looks really good now ... [03:54] nathan: please could you adapt the killer to query the 'new' /proc/virtual//* files ... [03:58] okay, I'm going to release 1.3.2.5 as 1.3.3 ... [03:59] Bertl, yep [03:59] :) [03:59] ahh, maybe we should test the changes on the ck1 kernel too ;) [04:00] that would actually allow a whole new class of races (using preemtion ;) [04:00] which ulimit is now possible: -l -m or -v [04:01] neither nor ... [04:01] this version only does accounting ... [04:01] ah ok. [04:01] the limits are there, but set to unlimited ... [04:01] Bertl, you want me to do it with your new 1.3.3 or with the one i am running now? [04:02] nathan_: what? [04:02] Bertl, query the /proc/virtual/*/* files [04:02] hmm, that would be a GoodThing in any case ... [04:02] you could test on vs1.3.2.5 + ml ... or you could 'just' test on ck-1 + 1.3.2.5 [04:03] ck1 would be interesting, as it should improve the scheduling ... [04:04] O(1) and preemtion enabled ... [04:05] noel: you are booted with the 'new' kernel? [04:05] Bertl, a series of deferred deletes but stable so far [04:05] Bertl: yepp. its runing. [04:06] okay start a server ... [04:06] then look into /proc/virtual//* [04:06] already done. the usuabl 3 vserver are runing. [04:06] Unable to handle kernel NULL pointer dereference at virtual address 00000010 [04:06] printing eip: [04:06] c015b54a [04:06] # cat /proc/virtual/101/limit [04:06] VM: 00014910/-1 [04:06] VML: 00000000/-1 [04:06] RSS: 00005925/-1 [04:07] >>EIP; c015b54a <===== [04:07] >>ebx; c57c7388 <_end+533bec4/383abb9c> [04:07] >>ecx; c015bd30 [04:07] >>edx; dc2c7fa0 <_end+1be3cadc/383abb9c> [04:07] >>esi; f6bde654 <_end+36753190/383abb9c> [04:07] >>ebp; dc2c7f68 <_end+1be3caa4/383abb9c> [04:07] hmm, stupid leading zeros ... well change that pretty soon ... [04:07] >>esp; dc2c7f50 <_end+1be3ca8c/383abb9c> [04:07] Trace; c015bd30 [04:07] Trace; c015bead [04:07] Trace; c015bd30 [04:07] Trace; c0109283 [04:08] hmm, interresting, this is killer on /proc/virtual? [04:08] or what oops am I looking at? [04:08] Bertl, this is killer+ipv4root with another series of processes catting /proc/virtual/*/* [04:08] that oops came up from bash [04:08] Process bash (pid: 2586, stackpage=dc2c7000) [04:09] ah okay, so the /proc/virtual/*/* isn't protected ... [04:09] this is on the 1.3.2.5 right? [04:09] Bertl, this is on whatever we have created over the past two days [04:09] hehe [04:10] I was actually supsecting this, because there are no locks IIRC in that code, yet ... [04:11] so maybe we should fix that one too ... [04:13] ok guys. its 2.15 here and I'm going to bed. testing will be continued. thx. [04:13] thank you ... [04:14] and have a good night ... cu [04:16] is anyone awake? [04:17] i'd like to figure out if there's a way for me to use find to find anything that is a hardlinke [04:17] hardlink* [04:17] hmm, well that would be hard .... [04:18] you can find inodes with more than one links ... with -nlink [04:41] Bertl-> there's another good reason to seperate limits into seperate files... you can symlink them [04:42] hmm, what application would that have? [04:43] say you have different 'types' of customers that have different levels of limits... you could then symlink the limits to preset files like "mem.basic, mem.medium, mem.advanced", etc. [04:44] that wouldnt work [04:44] oh yeah... there's a 'current' value too [04:44] hmm, I don't even understand what you are talking about ;( [04:44] much better off writing userspace tools to manage 'profiles' of customers [04:45] Bertl, ln -s /etc/mem.medium /proc/virtual//mem [04:45] Bertl, obviously wouldn work but i think thats what he thinks would work [04:45] that isn't possible with any proc entry ... [04:45] never was, never will be ... [04:46] as bert already said too, the proc interface isnt going to be used as a setter either way. [04:46] fir nought [04:47] monako (~monako@ts1-a109.Perm.dial.rol.ru) joined #vserver. [04:47] hi monako! [04:48] nathan_: I see a problem with the proc entries locking scheme ... [04:48] Bertl, the lack thereof or with the one you are working on? [04:49] what if an app decides to 'hold' a proc inode, there is no callback, when the inode is released ... [04:49] hmm [04:49] Bertl, doesnt the kernel manage that for us by deferring the delete? [04:50] yep, that _is_ the problem ... [04:50] if I pass a reference to the vx_info, and get() it, there will be no put() [04:51] Bertl, so process X keeps /proc/virtual//status open, gets destroyed while it is still held by X is the situation we are talking about? [04:51] yep, when/how would I release it ,.,, [04:52] hmm [04:52] I see two possible workarounds: [04:52] a) only pass the context id, not the vx_info ... [04:52] b) detect that this inode is deleted (somehow) and do not use the data ... [04:54] seems to be the xid would be easiest implementation? [04:54] yup, everything is available ... [04:54] but I'm not sure the semantics are correct ... [04:54] consider an app, grabbing xid=100 .. [04:55] context is destroyed and recreted ... [04:55] return values will be from the new context ... [04:55] yea [04:56] hmm [04:56] container structure for proc only? [04:56] nvermind wouldnt work now that i see what its reading [04:57] hmm [04:57] might be an ugly hack [04:57] but we could do a and b [04:58] delect the change of vx_info based on the one fetched with xid and the one we held in state [04:58] hmm, nope that has to many 'bad' cases, and races ... [04:59] maybe I should move the vx_info stuff to the inode ... [05:02] hmm, I guess I go for a) and wait for the bug reports ;) [05:03] Bertl, wouldnt we be better off reporting that its a dirty report by also passing the old vx_info? [05:03] we still output the new one, we just use it as a flag to detect if its dirty [05:04] old and new could be the same address ... very likely they are ... [05:04] ah thats true [05:05] no, as long as we stay on one page, the read is atomic ... [05:05] so this should be sufficient ... [05:11] hmm, actually we run into that issue with every struct which uses an xid ... and there are many of them ;) [05:16] actually I have a better idea, but that will be left for the next devel version ... [05:18] tanjix (ViRu_@c-180-201-87.n.dial.de.ignite.net) joined #vserver. [05:26] okay, here the result of two days work ;) [05:26] http://vserver.13thfloor.at/Experimental/delta-2.4.23-vs1.3.2-vs1.3.2.6.diff [05:26] nathan_: please could you give it a spin? [05:27] that version should withstand the proc probing ... [05:34] yep [05:34] so im going with that against 1.3.2 and thats it? [05:35] yeah [05:38] k building [05:53] booting it [05:59] null oops [06:00] okay, so it 'is' stable for existing tests ... [06:01] >>EIP; c015b54a <===== [06:01] >>ebx; f57dc328 <_end+35350e64/383abb9c> [06:01] >>ecx; c015bd30 [06:01] >>edx; f5959fa0 <_end+354ceadc/383abb9c> [06:01] >>esi; f59ec8c4 <_end+35561400/383abb9c> [06:01] >>ebp; f5959f68 <_end+354ceaa4/383abb9c> [06:01] >>esp; f5959f50 <_end+354cea8c/383abb9c> [06:01] Trace; c015bd30 [06:01] Trace; c015bead [06:01] Trace; c015bd30 [06:01] Trace; c0109283 [06:02] ah okay I misinterpreted you message ... [06:02] oh i see, i was confused by your response :) [06:02] could you put c015b54a through addr2line? [06:03] yep [06:04] /usr/src/newbert/linux-2.4.23/fs/readdir.c:27 [06:06] this is the result of banging on /proc/virtual/*/* right? [06:08] yep [06:11] hmm, don't see how this would be vserver related ... [06:16] monako (~monako@ts1-a109.Perm.dial.rol.ru) left #vserver (×ÓÅÍ ÐÏËÁ ... good bye all ...). [06:19] hmm [06:23] maybe we are 'just' triggerring some proc races, with the dynamically (dis)appearing entries [06:26] nathan_: remove the entire buffer += sprint() stuff from one of the proc entries in virtual.c [06:27] and replace it by some sprintf("test") ... [06:27] then bang on that entry only ... this way we do not have any vserver related race condition (no vx_info) [06:32] ok [07:17] hmm, any results yet? [07:28] sorry i was eating [07:28] building it now [07:28] np [07:29] by the way, the 'usual' proc locking is done via de->owner (module inc/dec) [07:29] which doesn't apply to the 'current' vserver use ... [07:30] so either I'm missing something utterly important, or we are triggering a procfs issue ... [07:34] no oops yet [07:34] lots of deferred delets [07:36] hmm, in that case we are missing something, and it has to be in the find_vx_info() part ... [07:37] im going to stress the other proc files i didnt modify [07:40] hmm not oopsing [07:41] how long did it take last time? [07:41] not very long [07:41] less than a minute id say [07:43] and which entry did you modify? [07:44] Topic changed on #vserver by Bertl!~herbert@MAIL.13thfloor.at: http://linux-vserver.org/ || latest stable 1.22, devel 1.3.3 [07:45] status [07:52] hmm, wait a minute ... [07:53] doing the vx_proc_create within the spinlock isn't such a good idea, what do you think? [07:54] looking [07:55] you think one is needed there? [07:55] oh i read that wrong [07:56] I guess I'll change the entire proc stuff once again, and do something dynamic like for the proc/ [07:56] what issue do you see with the spinlock and vx_proc_create? [07:57] vx_proc_create calls create_proc_read_entry, which for sure does some allocation/etc, which might sleep ... [07:57] holding a lock there, isn't such a good idea ... [07:58] yea i dont know about the details of create_proc_*() functions [07:58] me neither, but I assume there might be some bad stuff ... [07:58] couldnt you actually free the spinlock and do the vx_proc_create? [07:59] well, now, that the vx_proc_create() doesn't really use the vx_info, only the vx_id ... it would be possible to change that completely ... [08:22] hmm, no, that needs to become dynamic ... we'll do that tomorrow ... [08:23] thanks for helping and testing this stuff ... [08:29] if you _still_ want to do some testing, I would suggest stressing the ck1 release with preemtion enabled, but avoiding the /proc/virtual/* stuff, we know that this is sub-optimal, maybe removing the vx_proc_create() vx_proc_destroy() calls completely ... [08:30] good night from my side ... cu nathan! [08:30] Nick change: Bertl -> Bertl_zZ [10:33] noel- (~noel@pD9FFAD99.dip.t-dialin.net) joined #vserver. [10:41] noel (~noel@p50859D8A.dip.t-dialin.net) left irc: Ping timeout: 504 seconds [11:47] pflanze (~chris@ethlife-a.ethz.ch) left irc: Ping timeout: 480 seconds [12:13] cunio (~chatzilla@host-193-42-229-159.gazeta.pl) joined #vserver. [12:14] Hi [12:27] JonB (~jon@129.142.112.33) joined #vserver. [13:19] Simon (~sgarner@apollo.quattro.net.nz) joined #vserver. [13:21] Nick change: noel- -> noel [13:21] serving (~serving@213.186.190.33) left irc: Ping timeout: 512 seconds [13:36] Simon (~sgarner@apollo.quattro.net.nz) left irc: Quit: so long, and thanks for all the fish [13:54] stubbsd (~stubbsd@public2-birk1-6-cust242.manc.broadband.ntl.com) joined #vserver. [14:15] loger joined #vserver. [14:25] Nick change: Bertl_zZ -> Bertl [14:25] hi all! [14:26] hi cunio! [14:27] hey Bertl [14:29] hi jon! [14:33] Bertl, JonB: Hi [14:33] hi virtuoso! [14:33] I hope everyone is testing 1.3.3, right? ;) [14:34] What's 1.3.3? [14:34] Just kidding. :) [14:34] Bertl: relax man, i just got home, i havent gotten arround to move my current desktop to my newserver, and the oldserver to the vserver testmachine [14:35] hey, I just got up, I'm relaxed &-) [14:36] Bertl: just dont relax all your muscles, right [14:38] Would you guys like to visit Linux Summit on february in Helsinki? [14:39] sure [14:40] hmm, yeah, why not? [14:40] though i see more need to Bertl to come than me [14:40] Great. Also a nice chance to meet you. :) [14:41] Ok, I'll send you press-release when it's ready. I think tomorrow or so. [14:41] hmm ... [14:41] Richard Stallman, Maddog etc will have a talk there. [14:42] how would I get there? [14:42] Bertl: wouldnt air be the fastest ? [14:43] Bertl: other than that, there might be some ships sailing from polen or germany [14:44] Bertl: but i think air is cheaper [14:44] I will most likely get there by train. [14:44] virtuoso: yeah, but you are alot closer than bertl, and even me [14:44] Yeah, I know. [14:46] virtuoso: where was it you where living ? [14:47] JonB: Saint-Petersburg. [14:47] Saint-Petersburg, Russia, huh. :) [14:47] virtuoso: yeah yeah, i know where it is, i've been there twice (once was parsing through though) [14:49] I think for such cases we should exchange our cellphone numbers. :) [14:49] virtuoso: are there no event in saint-petersburg ? [14:50] JonB: The nearest future -- no. [14:50] hmm 400EUR ... [14:52] Bertl: direct ? [14:53] Vienna - Helsinki direct both directions ... [14:53] 'morning Bertl :) [14:53] hi tanjix! [14:53] fallen out of bed ? [14:54] Bertl: what about going through brussel, or london ? [14:55] yeah, had a nightmare, was dreaming of somebody pestering me with questions .... *aaah* then I woke up! ;) [14:55] Bertl: hehe [14:58] bertl: hmm :) [14:58] hey, we got memory limits working for 1.3.3 ;) [14:58] Bertl: nice. [14:58] cool [14:58] well, basically ... [14:58] Bertl: how do they work ? [14:58] actually it's accounting for now, but we 'can' limit VM and MEMLOCKED ... [14:59] MEMLOCKED? [14:59] and if rik updates the rmap ... even RSS limits are possible ... [14:59] amount of memory locked into ram (unswapable) [15:00] Bertl: isnt it a problem limiting the VM? [15:00] RSS ? [15:00] no VM is easy, RSS is tough ... [15:01] what is the RSS ? [15:01] Resident Set Size ... [15:01] the amount actually in RAM [15:02] okay [15:02] Action: noel heard something about memlimit and wake up.:) [15:03] hi noel! [15:03] noel: heh [15:03] bertl: can default variables be set too, e.g. S_CAPS ? so that new vservers get CAP_NET_RAW per standard ? [15:03] Bertl: so, what are the plans for the memory in the future? [15:04] tanjix: IIRC yes, there is a template for newvserver et al ... but don't ask me where, I don't use it ... [15:04] I'll interrupt you once again, how about phones exchange? [15:04] Action: virtuoso has to hurry. [15:05] virtuoso: lets get a little closer to the actualy date so i can see if i can make it [15:05] JonB: well, I guess memory accounting and VM limits will get into vserver soon ... [15:06] Bertl: any ideas after that ? [15:06] hmm, well we'll see what is possible in 2.6 ... [15:06] for 2.4 we need rmap to act on RSS ... [15:08] or do you mean besides memory limits? [15:08] i ment besides memory limits? [15:09] s/?// [15:09] ah okay, well, there is a lot ... [15:09] yeah ? [15:09] http://www.linux-vserver.org/index.php?page=ToDo+List+Herbert [15:10] then the virtual network stuff ... [15:11] Bertl: what about a single cpu only for use on dual cpu machines? [15:12] serving (~serving@213.186.189.7) joined #vserver. [15:12] Bertl: or a limit to the number of cpu's it can use in a quad/8-way machine? [15:12] that is trivial, and can be done already [15:12] there is the cpu afinity ... [15:12] s/afinity/affinity/ [15:13] Bertl: okay, what about a schedule the vserver for xx % of the cpu time ? [15:13] we have that with O(1), thanks to Sam! [15:13] Bertl: nice [15:14] any other 'challenges'? [15:14] Bertl: all of the above changeable runtime [15:15] well, O(1) scheduler is tunable, process affinity can be changed via proc, memory limits are set via vlimit tool, disk limits via cqdlim .... everything at runtime ... [15:16] Bertl: okay, how about this challenge then... [15:16] Action: Bertl mumbles: cut a tree with a .... hering! [15:17] Bertl: start a vserver on machine A, move it to machine B, both X86, and both 32 bit, but the actualy cpu could be A: intel to B: amd [15:17] Bertl: heh, a hering, sounds monty pytonish [15:18] you know, there was someone (damn I cant remember who it was ;) working on that .. vserver migration ... maybe you remember? [15:19] i only remember that i said i wanted to do that, and that i might to it for my master thesis [15:19] Bertl: if you beat me to it, i'll just do another thesis [15:19] there was this thing: http://www.cluster.kiev.ua/tasks/chpx_eng.html [15:21] hmm, sounds good to me ... [15:21] anybody interested in trying that? sure will need some modifications to work on vserver ... [15:22] Bertl: i'm interrested in trying it [15:23] okay guys, I have to do some cooking ... cu l8er ... [15:23] ciao herbert [15:23] Nick change: Bertl -> Bertl_oO [15:37] who is doing the irc logs at http://213.159.117.8/logs/vserver-logs/ ? [15:53] serving (~serving@213.186.189.7) left irc: Ping timeout: 512 seconds [16:16] re [16:16] time for 2.4.23 [16:17] good bye 2.6.0 :( [16:18] meebey: whats wrong with it ? [16:18] JonB: no vserver support? [16:19] meebey: didnt you know that? [16:19] JonB: I got the experimtal patches, but I overread no network support :) [16:20] so back to 2.4 [16:20] meebey: yeah network is needed [16:25] Doener_zZz (~doener@pD9588D71.dip.t-dialin.net) joined #vserver. [16:32] Doener (~doener@pD9588DAC.dip.t-dialin.net) left irc: Ping timeout: 480 seconds [16:35] hhmm [16:35] now I have to choose between 1.3.3 and 1.22 [16:36] Nick change: Doener_zZz -> Doener [16:36] meebey: I hope everyone is testing 1.3.3, right? ;) [16:36] :))) [16:40] v2.4.23-vs1.3.3 [16:40] ;) [16:41] will the tools 0.23 work with it? [16:41] (I dont need all bleeding edge features..) [16:46] Nick change: Bertl_oO -> Bertl [16:46] hi meebey! [16:47] hiya Bertl [16:47] Bertl: now I will try with 2.4 :) [16:47] let me see regarding the 0.23 tools, you are speaking of util-vserver 0.23 I hope? [16:48] hhhmm I guess so [16:48] meebey@bullfrog:~$ apt-cache search vserver [16:48] vserver - Virtual private servers and context switching [16:48] under debian it has a different name [16:49] hmm, well, the debian stuff is vserver not util-vserver [16:49] and I'm pretty sure those tools are more than a year old :( [16:49] hhm [16:49] util-vserver is that new branch? [16:50] yes, but newer vserver tools (they are at 0.29 now) will do too [16:50] could be that the reason why everything failed for me with 2.6? [16:50] hmm, guess so ... [16:51] :) then I will compile util-vserver [16:51] you might bug the debian vserver maintainer ... [16:51] I can put a wishlist bug on his list :) [16:51] well, guess if there's demand, he'll update them tools ... [16:52] now that debian has a 2.4.23 kernel ;) [16:53] looks like noel is already bugging him :-P [16:54] http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=vserver [16:56] hmm good man! [16:56] :) [16:57] hhmm why is my version so old of vserver, strange [16:57] anyway compiling util-vserver 0.27 should work ... [16:58] maybe old backports :( [16:58] but I will compile uti-vserver anyhow so... [17:00] wee [17:00] the backport will be updatet :) [17:00] I just pinged the backport autor [17:00] hmm, what is that backport stuff? [17:00] so you can use vserver 0.29 on woody without pain :) [17:01] backports from sid to woody [17:01] sid has now 0.29 of vserver [17:01] and the backporter changes the package so it works on woody [17:01] hmm and what is the problem with 0.29 on woody? [17:01] I am talking about the debian packages [17:01] I mean, what needs to be changed? [17:01] they are specially made for branches [17:02] the package dependencies etc I guess [17:02] and is there a util-vserver debian package? [17:02] I think not... [17:02] why not? [17:02] that you have to ask Maintainer for vserver is Ola Lundqvist . [17:03] yeah, I talked to him several times ... [17:03] he does the vserver package, so he could easily fork it to util-vserver [17:03] ... will bug him again ... [17:03] :) [17:03] .. but then, do I care about debian? [17:04] (no offence meant) [17:04] debian is a widely used distribution, ppl prefere software which are in the distribution included [17:04] apt-get install util-vserver would be much easier and nicer :) [17:04] then selfcompiling [17:04] s/then/than/ [17:05] what is the latest kernel release available for debian (vserver) [17:05] lemme check [17:05] 1.21-1 [17:05] redbull:/home/meebey# apt-cache show kernel-patch-ctx|grep Version [17:05] Version: 1:1.21-1 [17:06] hrm ... doesn't even follow the bugfixes ... *sigh* [17:06] hhmm [17:07] the package description sucks [17:08] Very preliminary util-vserver packages for Debian is available [17:08] (unstable) on http://debian.opal.dhs.org/ [17:08] posting from Ola Lundquist ... [17:08] interesting [17:08] so I assume he is working on it ... [17:09] was Dec.12 2003 ... [17:09] maybe he's on vacation ... [17:10] okay, time for siesta, cu in the evening ... [17:10] nope, according to the debian db he is not on vacation [17:10] cu :) [17:11] Nick change: Bertl -> Bertl_zZ [17:16] Bertl_zZ: sleeping now ? [17:20] bullfrog:/usr/local/src# vserver ine exec ps aux [17:20] ipv4root is now 0.0.0.0 [17:20] New security context is 49157 [17:20] expr: syntax error [17:20] USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND [17:20] root 1 0.0 0.0 1268 476 ? S Jan01 0:03 init [2] [17:20] root 25313 0.0 0.1 2832 836 pts/1 R 14:22 0:00 ps aux [17:20] any idea? [17:20] that syntax error [17:22] (still 2.6+experimental patch + vserver 0.29) [17:36] serving (~serving@213.186.191.28) joined #vserver. [17:54] I also wondered why it takes ctx numbers starting from 49152. [17:55] meebey: Try that again with bash -x [17:56] It seems to be error in vserver script. [17:56] ok, searching [17:56] long output :) [17:56] :) [17:57] Since the times vserver-tools were written and maintained by Jaq, there's no wonder they're buggy. [17:58] heheheh [17:59] how can I write the output somewhere? its too long for scrolling :) [17:59] vserver ine exec bash -x > output [17:59] didnt work [17:59] output is empty :) [18:00] bash -x vserver ine exec blah-blah > output 2>&1 [18:00] bash -x writes to stderr [18:00] ups :) [18:00] So you have to redirect it to stdout first. [18:00] jep [18:02] + shift [18:02] + exec vserver ine suexec root echo 'my command' [18:02] expr: syntax error [18:02] my command [18:03] hm? [18:04] What was the command? [18:05] bash -x vserver ine exec echo "my command" > output 2>&1 [18:06] even when I execute "id" it always comes that message [18:06] expr... [18:06] I will boot 2.4 soon :) [18:06] Br. [18:07] What you pasted was the all contents of 'output'? [18:07] i guess he meant to append -x to #!/bin/bash in /sbin/vserver [18:07] bash -x acts the same. [18:08] same way [18:09] I pasted the lines where the syntax error come [18:09] comes [18:10] the other lines looks ok, no errors etc [18:10] Hm. [18:10] or do you want the whole output? [18:10] I can upload or send via email [18:10] No-no-no. [18:10] :) [18:10] :) [18:10] Try grep expr output [18:11] bullfrog:/usr/local/src# grep expr output [18:11] expr: syntax error [18:12] I will boot 2.4 now ;) [18:13] It's not interesting there in 2.4. [18:13] :) [18:13] hehe but I want working vserver [18:13] :) [18:13] Send me your output, I'll have a look at it this evening. [18:13] virtuoso: email= [18:14] meebey: could you mail it to me also? [18:14] meebey: as@sot.com [18:14] Doener: gimme [18:14] But not ass@ though. :) [18:14] meebey: bjoern.steinbrink@isp4p.net and could you please include the vserver's .conf file? [18:14] virtuoso: hehe [18:15] Doener: sure [18:18] email sent [18:23] cunio (~chatzilla@host-193-42-229-159.gazeta.pl) left irc: Quit: no reason [18:33] meebey: is 2.6 still up? [18:33] yes [18:33] good! [18:34] Doener: btw you make me hungry ;) [18:34] please append -x to the first line in the vserver script [18:34] hehe [18:34] should be located in /usr/sbin/ [18:34] k [18:34] done [18:34] since the script calls itself via exec the output wasn't useful [18:35] :) [18:35] I see. :) [18:35] so run it again? [18:35] now just do the same as last time to create more useful output [18:35] yeah [18:35] k [18:36] wtf [18:37] + /usr/sbin/chbind --ip 0.0.0.0 --bcast 255.255.255.255 /usr/sbin/chcontext --secure /usr/lib/vserver/save_s_context /var/run/vservers/ine.ctx /usr/lib/vserver/capchroot --suid root . echo 'the end' [18:37] expr: syntax error [18:37] is it supposed todo that? ( . $mycommand) [18:38] or should I resend the output? [18:38] bullfrog:/usr/local/src# cat /var/run/vservers/ine.ctx [18:38] S_CONTEXT= [18:38] S_PROFILE= [18:40] Hm. [18:40] Is /usr/lib/vserver/save_s_context also a script? [18:40] Action: virtuoso is not on a vserver enabled environment right now. [18:40] yes its a script [18:40] bash script [18:40] grep it then :) [18:41] aha! [18:41] Or better add -x there. [18:41] CTX=`grep ^s_context: /proc/self/status | sed s/s_context:// | (read a b; echo $a)` [18:41] Or both. [18:41] CTX=`eval expr $CTX + 0` [18:41] see the expr? :) [18:41] Sure. It's a real expr! :) [18:42] so he cant find the context [18:42] Look at /proc/self/status. [18:42] haha :) you mean change the script [18:42] Is there any s_context line? [18:42] Forget the script. :) [18:42] or should any program have a context? [18:43] For sure (I suppose) [18:43] nope, no context [18:43] Bertl_zZ: bug bug bug [18:43] Oh-ho. :) [18:43] :) [18:44] hhmm how can I tell if my kernel is ctx enabled? [18:44] Via chcontext [18:44] http://www.13thfloor.at/vserver/e_patches/vs-26x/patch-2.6.0-test11-vs0.02.diff [18:44] thats the patch I used [18:45] bullfrog:/usr/local/src# chcontext id [18:45] New security context is 49168 [18:45] uid=0(root) gid=0(root) groups=0(root) [18:45] I use chcontext instead of vserver on this machine. :) [18:46] :)) you dont like the cool scripts? :) [18:46] For guests who want to check their email urgently. :) [18:46] I don't have time now for testing. [18:46] It's winter exams time now. [18:46] so the context info is missing in self/status [18:47] I check huberts patch [18:48] virtuoso: how should it look like? [18:48] can you paste me the line [18:50] s_context: 0 [18:50] That's a ctx-17 kernel. [18:50] k thx [18:54] found the problem [18:56] With vs0.02? [18:56] What's that? [18:57] I mean the problem. [18:57] yeah he completly forgot/todo the output of the context info :) [18:58] He-he. [18:58] Shit happens. (C) [19:06] I am trying to fix it [19:06] since I am a 2.6 believer :) [19:06] Ja-ja. 2.6 rockz. :) [19:07] ;) [19:08] How long are you with 2.6? [19:08] Action: virtuoso since -test6. [19:08] hhhmm I forgot already :) [19:08] probably too long [19:19] hhmm not so easy, nevermind :) I will let hubert check it ;) [19:19] too many stuff is missing [19:19] s/many/much/ [19:31] hmm what makes you 2.6 believers? [19:31] i havent made the jump yet [19:59] weee [19:59] vserver runs now :) with 2.4.23 [20:08] Nick change: Bertl_zZ -> Bertl [20:09] hi all! [20:09] seems like I missed the whole 2.6 fun, right? [20:10] hi [20:10] yes [20:10] :) [20:10] Bertl: 2.6 is fun [20:10] I found that s_context ist missing in /proc/self/status [20:10] making the scripts go crazy ;) [20:10] that was that expr: syntax error thing [20:11] I tried to hack it in, but I gave up after many vx* functions was missing [20:11] hmm, yeah, right ... but actually that should be 'I found 2.4 still has s_context in /proc/self/status because the fine tools can't work without it ;)' [20:12] hm? [20:12] s_context is deperecated? [20:12] as soons as enrico is back, s_context is gone from /proc/self/status [20:12] upsy :) [20:12] didnt know that [20:12] how should you? [20:12] /usr/lib/vserver/save_s_context [20:12] CTX=`grep ^s_context: /proc/self/status | sed s/s_context:// | (read a b; echo $a)` [20:13] nice? :) [20:13] you can do the same with 2.6, the info is still there ;) [20:14] # cat /proc/self/vinfo [20:14] VxID:0 [20:15] aha! :) [20:15] but too late, I needed networking anyhow [20:15] networking is still a problem ... [20:16] hmm, lets do a quick poll: [20:16] who would like to see a new 2.6 release, vote with A [20:17] those who would like to see a better proc interface, vote with B [20:17] those who would like to have the memory limit stuff, vote with C [20:17] (please only one vote per person) [20:17] can I vote? :) [20:17] sure [20:17] A [20:18] Action: meebey slaps the other around with a big 2.6 patch [20:18] at least 7 votest are required ... [20:18] nathan_ (~nathan@209-6-130-26.c3-0.sbo-ubr1.sbo-ubr.ma.cable.rcn.com) left irc: Ping timeout: 512 seconds [20:18] (in total, not per option) [20:18] hehe [20:19] i guess i'd like C [20:27] hey two votes in 10 minutes .... [20:30] too much activity here [20:30] maybe the channel should be moderated :) [20:30] yeah guess so, let me get my crowdpleaser ... [20:32] :)) [20:40] IPROOTMASK [20:41] this is the netmask? [20:41] yup [20:41] but you should not use that ... [20:41] I know, other ppl do and use it wrong [20:41] :) [20:41] it's much better to specify [eth0:][/mask] [20:42] jup [20:46] Bertl: hhmm when do you setup a new vserver? I mean for what reasons [20:46] for every daemon? [20:47] I am not sure how many I should use and when I should seperate the systems [20:47] no, basically I have 'topics' ... [20:47] ic [20:47] for example a 'web server for private stuff' [20:47] one reason I know already, having different branches of debian :) [20:48] like woody and sid [20:48] yeah, that is my primary use for vserver ;) [20:48] heheh [20:48] which OS do you use [20:49] OS? Linux and OpenStep ... [20:49] Distro: Mandrake [20:49] ic [20:51] hhmm [20:51] for sure it will replace my chroots [20:52] well, the advantage is mainly in the separation of vserver from host [20:52] if you decide to 'move' one vserver to another host, it's quite easy ... [20:52] yes [20:52] yeah there is my next question [20:52] and runnig different distro [20:53] is your main system always very minimum? [20:53] if you want to update your vserver, and don't want long outages, you make a copy, update/test .. and replace [20:53] and the real system a vserver? [20:53] yup ... except for development systems ... [20:53] what are you doing there? [20:54] no vserver? :) [20:54] on development system, I need emulations and compilers and such stuff ... [20:54] ic [20:55] no, no vserver, because I need all this functionality, even if the vservers don't work ... [20:55] otherwise I would have no chance to fix it ... [20:56] :) [20:58] Deactivating swap... Not superuser. [20:58] hehe [20:59] on vserver stop :) [20:59] yup, just remove the eager script ... [20:59] yeah [20:59] I am now building vserver specialized servers [21:01] meebey: what do you build ? [21:02] woody and sid system I will build [21:02] but minimal for vserver [21:02] ah jon did you miss my poll, or 'just' ignore it? [21:02] Bertl: i missed it [21:02] same goes for shuri?! [21:04] please vote dudes [21:04] wich pool? [21:04] opinion poll ... [21:04] where is the poll ? [21:04] [18:18] who would like to see a new 2.6 release, vote with A [21:04] [18:18] those who would like to see a better proc interface, vote with B [21:04] [18:18] those who would like to have the memory limit stuff, vote with C [21:05] A B C [21:05] :P [21:05] 18:19 < Bertl> (please only one vote per person) [21:05] 18:19 < Bertl> at least 7 votest are required ... [21:05] I know you guys ;) [21:05] Allow me to Answer like this: "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArgv()" [21:05] D virtual adapter [21:05] virtual network [21:05] but i say A [21:05] Action: shuri vote for A [21:06] Jon, was this an 'A'? [21:06] or a demonstration of your (lack of) programming skills? ;) [21:07] (no offence meant) [21:09] Bertl: it wAs An A, And An Attempt to be funny [21:10] hehe okay, you are fAnnAy ... ;) [21:10] Bertl: and your vote? [21:10] I would vote for B [21:10] :) [21:11] so it's either A or B within the next 2 votes, with a strong preference for A ;) [21:12] so let's dig out the old Morton stuff ... [21:12] Bertl: morton stuff ? [21:12] the 2.6 kernel ... [21:14] okay [21:16] pflanze (~chris@ethlife-a.ethz.ch) joined #vserver. [21:16] did anybody test, what needs to be modified for the tools to get past the s_context issue? is the save_s_context enough? [21:17] (on 2.6 I mean) [21:17] no [21:27] shouldnt "vserver $server exec" check if the $server is running? [21:27] I get things like this when its not running: [21:27] bullfrog:/etc/vservers# vserver ine exec id [21:27] ipv4root is now 10.1.0.101 [21:27] Can't set the new security context [21:27] : Invalid argument [21:27] kinda not clean those messages [21:27] hmm, well currently it doesn't check IIRC [21:28] same with 'enter' [21:28] ic [21:29] shuri (~shushushu@vserver.electronicbox.net) left irc: Quit: changing servers [21:29] shuri (~shushushu@vserver.electronicbox.net) joined #vserver. [21:43] shuri (~shushushu@vserver.electronicbox.net) left irc: Read error: Connection reset by peer [21:44] shuri (~shushushu@vserver.electronicbox.net) joined #vserver. [21:46] irc6.oftc.net got problem [21:47] hmm, ipv6 not working? [21:47] yes [21:47] I can ping it just fine [21:48] but keep disconect me [21:48] oh [21:48] User shushushu (shuri) disconnecting from stoned server. [21:49] :User shushushu () trying irc6.oftc.net port 6667 (vserver.electronicbox.net). [21:49] anyway [21:49] is ok now [21:49] bash: fork: Resource temporarily unavailable [21:50] hey rik, what is the status of rmap? [21:50] is that normal? [21:50] meebey: no, what patches do you use? [21:50] Bertl: the 1.3.3 [21:50] bullfrog:/# vserver ine enter [21:50] ipv4root is now 10.1.0.101 [21:50] New security context is 49154 [21:50] bash: fork: Resource temporarily unavailable [21:50] but after that I have a bash [21:51] ups [21:51] no [21:51] irc:/# ls [21:51] bash: fork: Resource temporarily unavailable [21:51] irc:/# [21:51] maybe is the ULIMIT="-HS -u 200" [21:51] with S_FLAGS="nproc" ? [21:51] I didnt set any ulimit [21:52] S_FLAGS="lock" [21:52] that I have [21:52] hmm, no that sounds like a bug ... [21:52] what should I try? [21:53] to reproduce with chbind/chcontext only ... [21:53] :) [21:54] easiest way would be to find the place in vserver where this is executed ... and echo the commands, they will use chbind/chcontext/chroot ... [21:54] (vserver = the script vserver) [21:55] _shuri (~shushushu@vserver.electronicbox.net) joined #vserver. [21:55] <_shuri> dam [21:56] shuri (~shushushu@vserver.electronicbox.net) left irc: Read error: Connection reset by peer [21:58] strace should show it? [21:59] hmm, not really ... running the script with -v could ... [21:59] k [21:59] or was it -d ? [22:02] wtf [22:03] try to exit is making very strange errors [22:03] tanjix1 (ViRu_@cmn9-d9b84ce3.pool.mediaWays.net) joined #vserver. [22:04] tanjix (ViRu_@c-180-201-87.n.dial.de.ignite.net) left irc: Read error: Connection reset by peer [22:04] Nick change: tanjix1 -> tanjix [22:13] meebey: hmm vserver XXXX enter works for me on vs1.3.3 [22:14] hhmm [22:14] kernel 2.4.23? [22:14] Linux version 2.4.23-vs1.3.3 [22:15] did you start the server first, or enter without starting it? [22:15] enter without starting gives those other errors [22:15] I startet it [22:16] bullfrog:/home/meebey# vserver ine status [22:16] Server ine is running [22:16] 1 processes running [22:16] Vserver uptime: 00:27 [22:16] calling and restarting [22:16] killing [22:16] hmm, entering the unstarted server doesn't give me any errors either [22:16] wtf [22:17] when I kill it: [22:17] Rebooting... sleeping 5 seconds [22:17] Killing all processes [22:17] Can't set the new security context [22:17] : Invalid argument [22:17] bullfrog:/home/meebey# [22:17] something is still strange [22:18] # vserver XXXX enter [22:18] ipv4root is now 192.168.0.2 [22:18] Host name is now XXXX.test.org [22:18] Domain name is now [22:18] New security context is 1001 [22:18] Kernel do not support chrootsafe(), using chroot() [22:18] bash-2.05b# [22:18] old tools, I admit ... what tools do you use? [22:19] vserver 0.29 [22:19] hmm, with the fix? [22:20] which fix? [22:20] if you use Jacks tools, make sure to apply the fix01 [22:20] * vserver-0.29.src.tar.gz fix01 [.gz] [.bz2] [22:20] lemme check [22:21] but I would suggest util-vserver for 1.3.3 anyway ... [22:42] hmm 2.6 freaks, warm up you machines .... [22:46] <_shuri> k [22:46] <_shuri> :P [22:48] Bertl: :))) [22:49] can I still vote for C ;) [22:49] sure you can, what was C? ;) [22:49] noel: you can still get your leg broken [22:50] lol [22:50] hey noel, we givem them 2.6 guys something to chew on, and continue work on the mem limits, okay? [22:50] Bertl: I am compiling util-vserver right now [22:50] Bertl: sure. [22:51] tatatadaa ... http://vserver.13thfloor.at/Experimental/patch-2.6.0-vs0.04.diff [22:51] networking is in .. [22:52] <_shuri> i install debian now for 2.6 testing.. [22:52] now your mission: find and report any difference to vs1.22/vs1.3.x [22:53] I'm not sure networking is perfect ... but it works in my test scenario, and I could start two vservers with apache ... so a foundation is there ... [22:54] Bertl: now I switched to util-vserver [22:54] Bertl: I get same messages with vserver ine enter [22:54] when its not startet [22:55] aha! but the enter works [22:55] after I started it :) [22:55] so at least that is fixed [22:55] no fork() errors [22:57] eeeks, killing the vserver does shit though [22:57] very badly [23:00] hmm, killing? [23:00] you mean vserver stop? [23:00] yes [23:00] I am uploading the messages [23:00] oki [23:00] www.meebey.net/temp/vserver-error.txt [23:00] noel: did you test the ml patches? [23:01] Bertl: also fork() errors [23:01] whats the problem with fork() anyhow? [23:01] vserver 0.29 did a fine job stopping the vserver, good job starting it [23:01] yes. its still runing. but I tried the killer.c but couldn't compile it with gcc 2.95 [23:01] I suspect you are hitting resource limits ... [23:01] entering was bad [23:02] now util-vserver does good start, good enter, bad stop [23:02] can I have a version which does all 3 things good? *g* :-P [23:02] hmm, just for the fun of doing it, could you assign a static context id with S_CONTEXT=1001 for example [23:03] me? [23:03] yup! [23:03] k [23:03] noel: did you pay some attention to the /proc/virtual//limit values? [23:04] Bertl: bit different now [23:05] http://www.meebey.net/temp/vserver-error2.txt [23:06] want my config? [23:11] nope, let me take a look at the code (sec) [23:12] you know how to edit the source? [23:12] yes [23:13] okay, the only thing, which could give this difference is at kernel/fork.c:671 [23:13] if (vxi && (atomic_read(&vxi->limit.res[RLIMIT_NPROC]) [23:13] >= vxi->limit.rlim[RLIMIT_NPROC])) [23:13] goto bad_fork_free; [23:13] should I add or remove that= :) [23:13] I would like you to change this to: [23:13] or replace :) [23:14] if (vxi && (atomic_read(&vxi->limit.res[RLIMIT_NPROC]) [23:14] >= vxi->limit.rlim[RLIMIT_NPROC])) { [23:14] printk("over limit %d/%ld\n", [23:14] atomic_read(&vxi->limit.res[RLIMIT_NPROC]), [23:14] vxi->limit.rlim[RLIMIT_NPROC]); [23:14] monako (~monako@ts1-a62.Perm.dial.rol.ru) joined #vserver. [23:14] goto bad_fork_free; [23:14] } [23:16] goto? did he just say the g-word ? [23:16] JonB: thats kernel hacking dude ;) [23:17] Bertl: this would mean rebooting the server, which is baaaad [23:17] its a ircd ;) [23:17] ppl dont like reconnecting :-P [23:17] hmm ... well 'to the debug, or not de-bug , that's the question' [23:17] lol :) [23:20] meebey: i know [23:20] JonB: goto hell; [23:21] bullfrog:/usr/local/src/kernel/linux-2.4.23# cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.23-ctx [23:21] Bertl: ggrrrgrgrrrr [23:21] meebey: been there, i did hotline support for 2.5 years [23:21] Bertl: sometimes the internet has bad connections :-P (reboot) [23:21] JonB: lol [23:22] meebey: read up some BOFH ... [23:22] Bertl: good idea [23:25] Bertl: nothing in log [23:25] Bertl: but again bad errors [23:26] hmm, you mean you get fork messages but no output in dmesg? [23:26] yes [23:27] in that case, it's probably not vserver related at all ... [23:27] nice... [23:27] does anybody know of a webbased cvs checkin tool ? [23:27] brb, getting something to eat [23:27] maybe you are hitting the process limits [23:28] (normal ulimits) [23:28] bullfrog:/home/meebey# ps aux|wc -l [23:28] 121 [23:28] you think so? [23:28] JonB: webcvs afair [23:28] virtuoso: license ? [23:28] meebey: could be, on every fork this is divided, IIRC [23:28] JonB: GPL or BSD or something similar. [23:29] virtuoso: nice [23:29] JonB: You can also have a look @ sf.net and what they're using. [23:30] virtuoso: hmm [23:32] virtuoso: i cant find the source for webcvs ? [23:32] JonB: Pardon. [23:33] JonB: cvsweb :) [23:33] virtuoso: http://freshmeat.net/projects/cvswc/ [23:33] ? [23:34] JonB: May be. In debian this package is called cvsweb. :) [23:35] monako (~monako@ts1-a62.Perm.dial.rol.ru) left irc: [23:35] virtuoso: oh, how nice, it is going to run on a debian system [23:36] Most things run on debian. Even anaconda. :) [23:36] yeah but i prefer packages [23:37] Everything is packaged there. When I miss something in RH/Fedora I go to nearest debian mirror and download .orig.tar.gz [23:50] so any 2.6 testing results yet? [23:52] <_shuri> compile it.. [00:00] --- Mon Jan 5 2004