/srv/irclogs.ubuntu.com/2005/05/21/#ubuntu-kernel.txt

=== doko [~doko___@dsl-082-082-188-241.arcor-ip.net] has joined #ubuntu-kernel
=== horms [~horms@vagw.valinux.co.jp] has joined #ubuntu-kernel
Lathiathey horms 05:09
hormshi Lathiat05:09
fabbionemorning05:57
fabbionedilinger: cg-log -c is so cool :)06:02
dilingergeghehe06:02
=== ercxy [~ercxy@209-6-112-210.c3-0.wth-ubr1.sbo-wth.ma.cable.rcn.com] has joined #ubuntu-kernel
ercxyhow one can increase stack size for a process ? is it need to be done thorugh kernel compilation?06:29
fabbioneercxy: it depends how big you want the stack size06:30
fabbionealso.. check the user enviromnet with ulimit06:31
ercxynot more than 64Mb06:32
ercxy:~$ ulimit06:33
ercxyunlimited06:33
fabbionethe stack is big enough for that06:33
fabbionethe "unlimited" kernel limit is 2GB on i38606:34
=== horms is now known as hormseat
fabbionewhat is the problem you have exactly?06:34
ercxyi wrote a code which does some recursive function calls06:35
fabbioneand?06:36
ercxyit works without problem when the matrix size is smaller than 30006:36
ercxyif I increase matrix size above 300 06:36
ercxyit gets killed immeditaely 06:36
fabbionekilled how?06:37
ercxynumber of recursive fucntion calls are increases with matrix size06:37
ercxysegfault06:37
fabbioneis there anything in dmesg after the segfault?06:38
fabbionelike a kernel message telling you that it has been killed for some reasons?06:38
ercxynot checked .. iwiil doit right now06:38
ercxyi checked with valgrind06:38
fabbionethat's mostlikely a bug in your code06:40
fabbioneeither it's leaking memory06:40
fabbioneor you are trying to access a wrong segment of ram06:40
ercxyi don't do dynamic memory allocation.. is it still possible to have memory leaks06:42
ercxyi mean i defined one global array and do all stuff on it06:43
fabbioneare you calculating the amount of ram properly?06:43
fabbionedid you check with a strace where the code dies?06:43
ercxyyes.. i checkhed ram usage from "top".. it is never reached above %5006:44
fabbionedid you compile it with -g and run gdb on it?06:44
fabbionetop is not fast enough06:44
ercxyno did no tuse strace06:44
ercxytried gdb and vlagrind06:45
ercxythe program stops random places06:45
fabbioneit really depends what you are doing06:45
fabbionei seriously doubt it is a kernel problem06:45
ercxyok .. it is abt confuding for me 06:46
ercxyas far as i know06:47
fabbione?06:47
ercxythere is one limit set for kernel 06:47
ercxylike 64mb06:47
fabbionenope...06:47
ercxyand there is default size 8mb06:47
fabbionethat's something you control via ulimit06:47
ercxyfor a process06:47
fabbionestack size            (kbytes, -s) 819206:48
fabbioneulimit -a06:48
fabbioneset that one06:48
ercxydo i need to be root06:48
fabbioneno06:48
fabbioneit's per user06:48
ercxyok thanks trying 06:48
ercxyulimit -a  tells me it                 =     stack size            (kbytes, -s) 819206:51
ercxybut segfaults06:51
fabbioneyes.. increase that value06:51
fabbioneyou can change it06:51
ercxyhow06:52
fabbioneman ulimit06:52
Lathiatyou cant increase it if your a user but06:53
ercxyi tried that,06:53
ercxyit gave error06:53
LathiatYou can only decrease it (because obviously if it was set by a login profile you coudl just override it if you want up)06:53
ercxystandard input>:15: realpath on `bash.1' failed: No such file or directory06:54
ercxyBASH_BUILTINS(1)                                              BASH_BUILTINS(1)06:54
ercxyi found man page on google 06:54
ercxyreading06:54
fabbioneit's somewhere in /etc that you can set the system default06:55
fabbionein any case this is offtopic here06:55
ercxyok.. thanks.. where should i ask this06:55
fabbione#ubuntu06:55
ercxyi will try there06:56
=== hormseat is now known as horms
fabbionedpatch-edit-patch: * Applying current external_usagi.dpatch for editing.07:45
=== ercxy [~ercxy@209-6-112-210.c3-0.wth-ubr1.sbo-wth.ma.cable.rcn.com] has left #ubuntu-kernel ["Kopete]
fabbionehttp://www.big-boys.com/pictures/picture1009.html08:14
fabbionelol08:14
=== JaneW [~JaneW@wbs-146-176-233.telkomadsl.co.za] has joined #ubuntu-kernel
=== svenl [~luther@AStrasbourg-251-1-58-57.w82-126.abo.wanadoo.fr] has joined #ubuntu-kernel
=== Seveas [~seveas@seveas.demon.nl] has joined #ubuntu-kernel
fabbioneMithrandir, smurfix: ping?08:56
smurfixpong09:05
smurfix, even09:06
Mithrandirfabbione: pong09:10
fabbioneguys what is the status with Xen & benno?09:11
fabbioneif we need to break the kernel, it needs to be asap09:11
MithrandirI haven't gotten around to mailing him; been looking for him on IRC for a while09:12
MithrandirI'm inclined to just go ahead with xen for the time being.09:14
Mithrandirbut didn't we agree not to break the normal kernel for it?09:14
fabbioneMithrandir: yes, for the beginning, but if it needs to be a standard feature we can't wait too long09:15
Mithrandirsure09:17
smurfixfabbione: Any news on the xen/L4 virtualization stuff you explored in Sydney? (I can't remember that project's name at the moment :-/ )09:18
fabbionesmurfix: that's the project you 2 are supposed to track :)09:18
Mithrandirsmurfix: afterburning.  That's what benno is doing, but he seems to have disappeared off the face of the earth.09:18
smurfixah, sorry, I disassociated that name and that project...09:20
fabbionehttp://www.voresoel.dk/09:26
fabbioneAHAHAH open source beer09:26
fabbione(there is an english link too)09:26
=== chmj [~d3vic3@dumbledore.hbd.com] has joined #ubuntu-kernel
=== chmj [~d3vic3@dumbledore.hbd.com] has joined #ubuntu-kernel
=== Seveas [~seveas@dyn127.roaming.few.vu.nl] has joined #ubuntu-kernel
thomfabbione: dude, i need to throw the warty stuff back at you. it's all patched and builds fine on amd64, but not had chance to test on ppc/x86 and need to go help elmo10:53
fabbionethom: ok10:54
=== JaneW [~JaneW@wbs-146-188-53.telkomadsl.co.za] has joined #ubuntu-kernel
=== thom [~thom@amnesiac.heapspace.net] has joined #ubuntu-kernel
=== Seveas [~seveas@dyn127.roaming.few.vu.nl] has joined #ubuntu-kernel
=== JaneW [~JaneW@wbs-146-188-53.telkomadsl.co.za] has left #ubuntu-kernel ["Leaving"]
=== Seveas [~seveas@ksl403-uva-131.wireless.uva.nl] has joined #ubuntu-kernel
zuli have an interview on monday03:54
zulhey btw03:56
TheMusohey zul.03:56
zulhey TheMuso 03:59
zulbbl...have to go bone up on w2k05:30
=== jbailey [~jbailey@dhcp802-2-37.dsl.ucc-net.ca] has joined #ubuntu-kernel
jbaileyfabbione: Could not connect to trider-g7.fabbione.net: No route to host.06:14
jbaileyfabbione: Is that a problem on my end or yours? =)06:14
zulbleah..08:18
=== lamont_r [~lamont@15.238.5.24] has joined #ubuntu-kernel
=== thom [~thom@amnesiac.heapspace.net] has joined #ubuntu-kernel
=== doko [~doko___@dsl-084-059-042-243.arcor-ip.net] has joined #ubuntu-kernel
=== lamont_r [~lamont@15.238.5.24] has joined #ubuntu-kernel

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!