/srv/irclogs.ubuntu.com/2006/05/08/#ubuntu-server.txt

=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-server
=== MrRio [n=rio@pdpc/supporter/sustaining/MrRio] has left #ubuntu-server ["Leaving"]
=== elias__ [n=Mussi@201.22.150.44.adsl.gvt.net.br] has joined #ubuntu-server
=== nictuku [n=yves@ubuntu/member/nictuku] has joined #ubuntu-server
=== nandemonai [n=nandemon@ppp217-74.lns1.adl2.internode.on.net] has joined #ubuntu-server
xerophyteanybody useing postfix and saslauthd07:04
xerophytei am getting some auth fail werror with ubuntu but fedora core just work fine .. and i tested with testsaslauthd it worked fine07:05
=== Vaske_Car [n=opera@d38-208-116.home1.cgocable.net] has joined #ubuntu-server
Vaske_Caranybody have a minute to explane me something?07:43
Vaske_Caractually I need tutorial to install required aplication to host forum07:44
=== Vaske_Car [n=opera@d38-208-116.home1.cgocable.net] has left #ubuntu-server []
=== soumyadip [n=soumyadi@59.93.198.181] has joined #ubuntu-server
=== soumyadip [n=soumyadi@59.93.198.181] has joined #ubuntu-server
=== nandemonai [n=nandemon@ppp217-74.lns1.adl2.internode.on.net] has joined #ubuntu-server
=== ToadZzZztool [n=jcorbier@maisel-gw.enst-bretagne.fr] has joined #ubuntu-server
=== truz24 [n=truz24@12.203.70.118] has joined #ubuntu-server
=== spike [n=spike@unaffiliated/spike] has joined #ubuntu-server
=== lionelp [n=lionel@ip-128.net-82-216-65.rev.numericable.fr] has joined #ubuntu-server
=== nnonix [n=brad@xeon.bkjohnson.com] has joined #ubuntu-server
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-server
=== Drac[Server] [n=Draccy@c-24-60-219-129.hsd1.ma.comcast.net] has joined #ubuntu-server
=== asw [n=asw@karuna.med.harvard.edu] has joined #ubuntu-server
=== Nite_Hawk [n=nh@wildfire.msi.umn.edu] has joined #ubuntu-server
=== tepsipakki [n=tjaalton@replicant.hut.fi] has joined #ubuntu-server
=== neuralis [n=krstic@solarsail.hcs.harvard.edu] has joined #ubuntu-server
=== infinity [n=adconrad@loki.0c3.net] has joined #ubuntu-server
=== nandemonai [n=nandemon@ppp217-74.lns1.adl2.internode.on.net] has joined #ubuntu-server
=== ubuntulog [i=ubuntulo@trider-g7.fabbione.net] has joined #ubuntu-server
=== Topic for #ubuntu-server: ubuntu-server development discussions | for general support see #ubuntu | U. S. (stable) at http://tinyurl.com/b3jek | U. S. (Devel) at http://tinyurl.com/cllfu | U. S. dapper specs: http://tinyurl.com/aen9b | U. S. forums at http://tinyurl.com/b77qg | ubuntu-server@lists.u.c is up and running | searchable packages list: http://packages.ubuntu.com
=== Topic (#ubuntu-server): set by fabbione at Thu Apr 27 14:52:47 2006
=== #ubuntu-server [freenode-info] why register and identify? your IRC nick is how people know you. http://freenode.net/faq.shtml#nicksetup
=== Cturtle [n=Cturtle@a213-84-50-38.adsl.xs4all.nl] has joined #ubuntu-server
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
=== nawty [n=neogenix@globlet.eefy.net] has joined #ubuntu-server
nawtyguys, gots a question, anyone around?01:03
nawtyHostRAID, is that controller supported in the -server kernel ?01:03
nawtyIntel/Adaptec afaik, SATA.01:04
nawtyStandard in some of our Intel Boxen.01:04
soumyadipI suppose so01:12
soumyadipit is there in the stock kernel01:12
nawtysoumyadip: it detects the two sata disks seperately, and not as the raid, where as the vanilla kernel on the gentoo install works perfectly, as does freeBSD01:13
nawtyon FreeBSD it becomes ar001:15
soumyadiphttp://www.ubuntuforums.org/showthread.php?t=34519  <- maybe this would help01:16
nawtychecking quick, :)01:16
=== Cturtle [n=Cturtle@a213-84-50-38.adsl.xs4all.nl] has joined #ubuntu-server
=== thefish [n=thefish@unaffiliated/thefish] has joined #ubuntu-server
=== truz24 [n=truz24@12.203.70.118] has joined #ubuntu-server
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-server
nawtyit's the SATA Hostraid, not the SCSI one.04:13
=== CarlFK [n=carl@c-67-163-39-124.hsd1.il.comcast.net] has joined #ubuntu-server
=== allee [n=ach@217.19.180.111] has joined #ubuntu-server
=== allee [n=ach@217.19.180.111] has joined #ubuntu-server
=== zenrox [n=zenrox@71.115.198.118] has joined #ubuntu-server
=== lbm [n=lbm@0x555298ca.adsl.cybercity.dk] has joined #ubuntu-server
=== CarlFK [n=carl@c-67-163-39-124.hsd1.il.comcast.net] has joined #ubuntu-server
=== nandemonai [n=nandemon@ppp217-74.lns1.adl2.internode.on.net] has joined #ubuntu-server
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
=== soumyadip [n=soumyadi@59.93.247.183] has joined #ubuntu-server
=== nandemonai [n=nandemon@ppp217-74.lns1.adl2.internode.on.net] has joined #ubuntu-server
=== soumyadip_ [n=soumyadi@59.93.245.201] has joined #ubuntu-server
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-server
=== highvoltage [n=Jono@ubuntu/member/highvoltage] has joined #ubuntu-server
highvoltagehi there.09:00
highvoltagei need some help for someone in #edubuntu09:00
highvoltagethis person has 8GB RAM on an LTSP server09:00
=== Petaris [n=Petaris@216.56.37.162] has joined #ubuntu-server
highvoltageso I suggested they install the server kernel.09:00
highvoltagethe problem is, it brings the server to a crawl.09:00
highvoltagehi Petaris, i'm just about half way explaining your problem :)09:01
Petarishighvoltage: I didn't even know about this channel09:01
Petarishehe09:01
highvoltageand with a 686 kernel, you'd only be able to use 4GB of the ram on that server.09:01
highvoltageso what would be the ideal Ubuntu kernel for a big LTSP server?09:01
Petarismy system is a dual opteron with 8 GB of RAM (4 per cpu) and hardware raid 1 using an LSI MegaRAID SATA PCI-X adapter09:04
=== Cturtle [n=Cturtle@a213-84-50-38.adsl.xs4all.nl] has joined #ubuntu-server
=== ivoks [n=ivoks@lns02-1277.dsl.iskon.hr] has joined #ubuntu-server
ivokshighvoltage: what's the problem?09:14
highvoltageivoks: Petaris is building a big ltsp server, with 8GB RAM09:14
ivoksok09:14
highvoltagethe 686 kernel can only see up to 4GB RAM, so he's using the ubuntu server kernel09:14
ivoksok09:15
highvoltagebut it brings the machine to a crawl very quickly09:15
highvoltageso which kernel should he use?09:15
Petarismy system is a dual opteron with 8 GB of RAM (4 per cpu) and hardware raid 1 using an LSI MegaRAID SATA PCI-X adapter09:15
highvoltageit's a dual-opteron server, btw.09:15
ivokscrawl as slow or it dies?09:16
Petarisslow09:16
Petarisvery slow09:16
ivoksdid you try to figure out why it's so slow?09:16
PetarisI looked a bit, but didn't find any real obvious reasons09:17
highvoltageivoks: well, it's only slow with the server kernel, with the 386 kernel, it was apparently much faster09:17
highvoltageright Petaris?09:17
Petarishighvoltage: yes09:17
ivokshm...09:18
ivoksrun it with -server kernel09:19
ivoksand i'll be here next few hours09:19
ivoksso i can help you debug the problem09:19
ivokswhat version is that?09:20
=== mdz [n=mdz@studiocity-motorola-bsr1-70-36-194-85.vnnyca.adelphia.net] has joined #ubuntu-server
mdzhighvoltage: what's up?09:20
Petaris2.6.15-2109:20
highvoltagemdz: thanks for coming :)09:20
ivoksok, not the latest, but...09:21
highvoltagePetaris is building a big ltsp server, with 8GB RAM09:21
ivoksPetaris: install -22 for start09:21
highvoltagethe 686 kernel can only see up to 4GB RAM, so he's using the ubuntu server kernel09:21
highvoltagebut it brings the machine to a crawl very quickly09:21
highvoltageso which kernel should he use?09:21
mdzhe should use the server kernel09:21
ivoksto take the most of the ram - server09:21
mdzif he's having a problem with that kernel, he should report a bug and work with BenC to get it resolved09:21
mdzotherwise it's just going to bite someone else09:22
highvoltagehe reports that the system runs very, very slow with the server kernel though, and that's with just one thin client connected.09:22
highvoltagemdz: ok, thanks for that feedback09:22
mdzhighvoltage: that's not a feature09:22
Petarisivoks: that is the version that kernel-image-server installed09:22
ivoksPetaris: i know, but new version is out09:22
highvoltagePetaris: i think our best bet is to track down BenC, and find out what information he needs to fix it09:23
Petarisivoks: ok09:23
ivoksPetaris: metapackage still doesn't install it, but it will soon09:23
Petarishighvoltage: right09:23
highvoltagePetaris: i see he's on #ubuntu-kernel, let's go bug him there :)09:24
ivoksfile a bug09:24
ivoksbut we can work on a problem09:24
Petarishighvoltage: ok09:24
highvoltageivoks, mdz: thanks again for pointing us in the right direction09:24
ivokshighvoltage, Petaris rarely there is a chance to work on a broken system in real time, so it would be nice if you could give some more informations here on IRC09:26
ivoksand paste everything to the launchpad bug09:27
Petarisivoks: What info would you like?09:27
ivoksdo you run it now?09:27
mdzhighvoltage: np09:27
Petarisivoks: any chance this could just be my system?09:27
ivoksPetaris: all options are open, but we have to start with "it's kernel problem" :)09:28
Petarisivoks: yep, its running now09:28
Petarisjust grabbing the -22 kernel09:28
ivokskeep an eye on load and tail syslog in other window09:28
ivoksand kernlog in other09:29
highvoltagePetaris: syslog might be handy, the output of dmesg too (perhaps there's some error somewhere)09:29
highvoltagePetaris: perhaps also the contents of /proc/cpuinfo. i suppose more informaiton is better than less.09:29
Petarisright09:30
ivoksbut don't paste it here :)09:30
Petarislet me install this new kernel first09:30
ivoksok09:30
Petarismaybe this will fix it09:30
Petarisyou never know09:30
ivoksit has quite large changelog09:31
ivoksnot sure how much of it is related to your problem09:31
highvoltagethe k7 kernels has nothing to do with the opterons, right?09:35
ivoksno09:36
Petarisok its in, rebooting09:38
ivoksok09:39
Petarisserver booted, booting client09:40
ivoksah.. does server without clients works ok?09:41
Petarisdon't know09:41
ivoksok09:41
Petarisclients up09:42
ivoksnow tail syslog and kernlog09:42
ivoksand open top to watch over load and apps that grab too much proc09:42
Petarisits slow again09:43
ivoksok, can you work on it at all?09:43
ivoksjust run 'uptime' to see load09:44
Petarisroot@Ayumi:~#  min,  1 user,  load average: 0.40, 0.87, 0.4409:44
ivoksso, it's not load09:45
Petarisnope09:45
Petarisand top isn't showing much either09:45
ivoksoh... hm...09:45
ivoksdmesg09:45
ivoksand try to catch any error09:45
ivoksyou can paste it to a file and upload it somewhere09:47
Petaris:)09:47
ivoksok, sec...09:47
ivoksthis looks ok09:48
Petariswhat next then09:49
ivoksnetstat -a | grep -v unix09:49
ivokshm...09:51
ivoksdidn't you say you booted clients?09:51
Petarisjust one09:51
ivoksnone is connected09:51
PetarisI'm not logged into it09:51
Petariscould that be why?09:51
ivoksok, never mind...09:52
ivoksand memory is mostly free?09:52
ivoksfree -m09:52
Petarisroot@Ayumi:/var/log# free -m09:52
Petaris             total       used       free     shared    buffers     cached09:52
PetarisMem:          8011        244       7767          0         10        14109:52
Petaris-/+ buffers/cache:         92       791909:52
PetarisSwap:         6204          0       620409:52
Petariseasier to read: http://phpfi.com/11593909:54
ivokshm...09:55
ivoksjust a sec...09:55
Petarisok09:55
ivoksinstall and run saidar package09:56
ivoksand take a look at disk activity09:57
Petarisok, sec09:57
ivoksanything abnormal?10:05
Petarisother then I'm still waiting for it to finish installing?10:09
ivoks:)10:09
Petaris:/10:09
ivoksok...10:09
ivoksin grub10:10
ivoksadd this argument to kernel:10:10
ivokselevator=cfq10:10
Petarisadd it at the end of that line?10:14
ivoksyes... kernel .... elevator=cfq10:15
Petarisadded10:15
ivoksnow boot that kernel10:15
Petarisok10:15
Petariswhat will that do10:17
ivokschange default io scheduler10:18
ivoksfrom deadline to cfq10:18
ivoksin -686 and -386 default if anticipatory10:19
ivoksand in -server deadline10:19
ivoksthis is kernel tuning10:19
Petarisok its back up10:21
ivoksit's not cpu, it's not memory, nor network10:21
ivoksso, it has to be disk :)10:21
Petarisand I was able to install saidar10:21
ivoksis it slow again?10:22
Petarisyeah, but not quite as slow10:22
Petarishttp://phpfi.com/11594510:23
ivoksfaster than before?10:23
ivoksbut still slow10:23
Petarisyes, but not by much10:23
ivoksthis comp is totally idle10:23
Petarisyeah10:24
Petarisnot even a client booted yet10:24
Petarissda is getting a writes every few secounds10:24
ivoksi guess these are nfs exports?10:25
ivokson sda10:25
Petarisnot sure10:25
ivoksi'm missing something :)10:26
Petarisme too10:26
ivoksok, try booting with elevator=anticipatory10:27
ivoks(this is a long shot)10:27
Petarisok, rebooting10:28
Petarisok its up10:30
ivoksand?10:31
Petariswth?10:31
PetarisI can't ssh to it10:31
Petarisahh, there it goes10:31
ivoks?10:31
Petarisstill very slow10:32
ivoksok10:33
ivoksthen it's memory10:33
Petarisespeacially with X stuff10:33
ivoksX stuff?10:33
ivokson clients?10:33
Petarison the server10:33
PetarisI haven't booted the client yet10:33
ivokshm...10:33
Petarismaybe it is an xorg issue10:34
Petarisnaw10:34
Petaristhat would show in memmory probably10:34
ivokswell, -server doesn't have preempt10:34
Petarishrm10:35
Petarisis there anyway to add it?10:35
Petarislike as a kernel option?10:35
ivoksnope10:35
Petarisbugger10:35
ivokspardon10:35
ivoksit has preempt10:35
Petarisoh10:36
Petaristhen thats not it10:36
ivoksCONFIG_PREEMPT_NONE=y10:36
Petarishrm10:36
ivoks# CONFIG_PREEMPT is not set10:37
Petarisshould it be?10:37
Petaris*for an ltsp server10:37
ivokswell, i'm not sure it's preempt problem10:38
ivoksBenC will know that better10:38
ivoksi'm really not sure10:38
ivoksanyway, report a bug10:39
Petarishrm10:39
PetarisThis is not good10:39
Petarismaybe I should just build my own kernel10:40
Petarisoff of the i386 one that worked10:40
ivoksyou can try with .config of -server10:40
ivoksbut change preempt10:40
Petarisand add the smp and support for greater than 4 GB of RAM10:41
ivoksand then you'll know if it is preempt10:41
Petarishrm10:41
ivoksall kernels are i38610:41
ivoksbut one is -68610:41
Petaristhe i386 kernel (not server) worked quite well for me10:41
Petarisbut with only one cpu and 4 GB of ram10:42
ivoks-386 kernel is generic10:42
ivoksuse -68610:42
Petarishrm10:42
ivoksdid you file a bug about this?10:43
Petarisno10:43
Petarisnot sure what to put in it10:43
PetarisMy system is slow? lol10:43
ivokspoor performance with -server kernel on ltsp server10:43
ivoksand mention that X apps are slow10:44
ivoksor all apps are slow?10:45
Petariscli apps are slow as well, but not nearly as slow as X apps are10:45
ivoksi doubt that's preempt10:45
ivokswell... build your own kernel10:46
ivoksand you'll see how it goes, but file that bug10:46
Petarisis there anything speacial I have to do when building it?10:46
ivoksget source10:47
ivoksand copy /boot/config*-686 in .config10:47
ivokschange max ram supported and that's it10:47
PetarisI don't have a 686 config10:47
ivokswait...10:48
ivoksis that 32bit or 64bit? :)10:48
ivoksprocessor10:48
Petarisopterons are 64 bit with 32 bit compatability10:49
PetarisI run 32 bit on them10:49
ivoksthat's why -386 works10:49
ivoks-686 wouldn't work either10:49
ivoksget amd64 release10:50
ivoksnot i38610:50
Petariswon't that break my ltsp clients?10:50
Petariswell worth a try10:50
ivoksbreak? why?10:50
Petaris64 bit server enviornment with 32 bit clients?10:51
Petarishrm10:52
Petariswhere is the amd64 linux-image?10:52
PetarisI can only find the k710:52
ivokson amd64 cd10:52
Petarishrm10:52
ivokstogether with amd64 libc :)10:52
Petarisright10:52
PetarisI was recommended not to run that for ltsp server10:53
ivokswhy?10:53
Petarisissues with clients and some of the other software10:53
Petarisogra in #edubuntu was the one who advised that10:54
ivoksthath could be, i don't know10:54
ivoksthen you have to use -386 kernel10:54
Petarisright10:55
ivoksnot -68610:55
Petarisis there a specific source package I should use?10:56
Petarisand is there anything speacial I have to do when building it?10:56
ivoksapt-get install linux-source10:56
Petarisok10:56
Petarisbrb10:57
Petarisback10:59
Petarisok, its installed11:02
ivoksyou'll find the source in /usr/src11:02
Petarisok11:03
ivoksyou know how to compile a kernel?11:03
Petarisyeah11:03
ivoksgreat11:03
Petarisbut is there anything speacial I need to know?11:03
ivoksnope...11:04
ivoksgo in /usr/src/linux-...11:04
ivokscopy /boot/config*-386 in .confg11:04
ivoks.config11:04
ivoksstarta make menuconfig11:04
ivoksadd support for 16GB RAM11:04
ivoksand build it with make11:04
Petarishow do you create that initrd.img file in /boot11:05
nawtyHey folks, anyone round here had any experience with the Adaptec/Intel/IBM SATA HostRAid ?11:06
ivoksmkinitramfs -o /boot/my_new_initrd11:06
Petarisivoks: don't I have to do a make old-config or something?11:08
ivoksno11:09
ivoksjust run make11:09
Petarisoh11:09
PetarisI seem to remember having to do that before11:09
ivoksyou runed make menuconfig11:10
ivoksand changed a configuration11:10
ivoksso oldconfig is newconfig now :)11:11
Petarisahh11:11
Petarisok11:11
Petarishrm11:16
Petarisroot@Ayumi:/usr/src/linux# make menuconfig11:16
Petaris-bash: make: command not found11:16
Petaristhat can't be good11:16
ivoksapt-get install build-essential11:16
Petarisok11:16
ivoksi have to go now...11:16
Petarisalright11:17
Petaristhanks for all the help11:17
ivoksi hope it will work11:17
Petarisme too11:17
ivoksread some docs about initrd11:17
ivoksi'm not sure if it will work as i said11:17
Petarisok11:17
ivoksbye11:17
Petarisbye11:17
Petarishrm11:23
nawtyanyone?11:35
Petarisnawty: LSI MegaRAID SATA11:35
Petarisbut none of the ones you listed11:35
nawty:(11:36

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