/srv/irclogs.ubuntu.com/2006/12/12/#ubuntu-server.txt

=== ra1nb0w [n=davide@213-156-55-129.fastres.net] has joined #ubuntu-server
fooEr, someone is telling me how debian 2.6.8 is better than ubuntu 2.6.16.04:08
fooHe is telling me to try a 2.6.8 kernel on ubuntu04:08
infinityI wouldn't recommend it.04:16
fooeh, yeah, we're not going to do that.04:16
infinityOTOH, we've never had a stable release with 2.6.16 either.04:16
fooI know there will be some issues with udev, I think.04:16
infinitybreezy = 2.6.12, dapper = 2.6.15, edgy = 2.6.17, feisty = 2.6.20 (when it's out)04:17
fooeh, I'm just having some issues. Everyone says it's IO, but the data center doesn't accept that answer.04:18
fooThis server pushes 100mbit .. and the iowait from iostat increases.. 04:18
fooLoad ranges from .1 to 35004:18
infinityWhat does it serve?04:29
foofiles with apache, mainly.04:29
fooWell, only.04:29
infinityStatic, or dynamic?04:29
foodynamic04:29
foolots of file uploading/downloading04:29
foo100mbit cap04:29
infinityDB backend?04:29
infinityPHP, Perl, Python?04:29
infinityIt's entirely possible you just allow too many client connections.04:30
infinityAlternately (and this one sounds weird until you think about it), you may be running too few apache instances, not too many.04:30
infinityIt's very costly for apache to fork new children when the hit count increases.  Very.04:30
infinityIf you start with more MinSpares, it goes more smoothly.04:30
fooPHP04:31
fooHm. infinity, should I check for connections about netstat or something?04:31
fooI've had several guys look at this ... everyone is blaming IO04:31
infinityWhen the load is huge, "ps ax | grep apache" and see how many are running.04:31
fooBut how could a network cap at 100mbit cause IO on a server.. I'd expect it to read/write with that04:31
infinityIf there's several hundred, or something, then you really want to bump up MinSpares in the config, or limit MaxClients.  Pick one.  Either will help.04:32
fooApache has already been optimized, but. hm04:32
infinityErr, when people blame "I/O", they're not blaming the network, they're blaming slow disk and such.04:32
foo# netstat -nap|grep -c ESTA04:33
foo38104:33
fooyeah, I know04:33
fooI just don't get how a server pushing 100mbit could have IO04:33
fooissues04:33
infinityWhy not?04:33
infinityIt's not about raw disk throughput, it's about crazy random access.04:33
fooheh, that might be what it is04:33
fooThat's what I'm thinking04:33
infinityBut in my experience with PHP/Apache, I'd suspect you're CPU bound on apache forking.04:34
foo192 requests currently being processed, 20 idle workers04:34
fooload is 1.25 right now04:34
fooPushing 81mbit right now04:34
infinitygrep SpareServers /etc/apache2/apache2.conf04:35
fooMinSpareServers      2004:35
fooMaxSpareServers     2704:35
fooworker and prefork, probably04:35
infinityNo, those are both for prefork.04:35
foooh, ok04:35
infinityMin is the number started at startup as spares, Max is the number it will keep idle once connections die off.04:36
foook04:36
infinityFor your sort of load, you might want something more insane like Min 50, Max 7504:36
infinityOr even higher.04:36
infinityIf you're doing 200 requests right now.04:36
infinityMin 100, Max 150.04:36
infinityExperiment, have fun. :)04:36
infinityIf you have the RAM to back up that sort of thing anyway, which you better if you're trying to saturate 100Mbit.04:37
fooHm, 1GB RAM04:38
fooinfinity: FYI, I've been playing around for weeks now. I've pretty much had it. 04:39
infinityIs that PHP serving content from a DB?04:40
infinityIf so, tuning said DB enging for that sort of load is just as important as tuning Apache.04:40
infinitys/enging/engine/04:41
fooNope, not from DB04:42
infinityKay.04:42
=== ArwynH [n=arwyn@PPPf184.saitama-ip.dti.ne.jp] has joined #ubuntu-server
ArwynHlo04:59
ArwynHjust wondering, is there any plans to implement a server control panel of sorts?05:00
ArwynHIf so, can I have a link to the spec please? Or should I write one myself?05:01
levanderArwynH: there are already some of those written that are free software, like cpanel05:54
fooArwynH: Look into webmin05:55
ArwynHfoo: webmin is a nightmare and is not in repos.06:17
fooArwynH: Nightmare? Why? Yeah, isn't in repos.06:17
ArwynHfoo: it isn't in the repos because the code is a nightmare to maintain. I've tried running it before.06:18
ArwynHit's a pain to run aswell06:19
ArwynHanyway, a web interface isn't what I'm looking for.06:19
fooI see06:19
ArwynHI've pretty much decided what I want and I havn't found anything like it in the oss world, so It looks like I'll have to write it myself, but I'm just trying to make sure.06:21
fooah06:21
levanderArwynH: maybe write a spec first and circulate, maybe people will help you based on the spec?06:25
ArwynHlevander: i plan to. hence me checking if there was one available to look at first.06:25
levanderArwynH: maybe circulate it on webmin and cpanel mailing lists, after written?06:26
=== RemoteVi1wer [n=555@stan.physik.fu-berlin.de] has joined #ubuntu-server
=== Starting logfile irclogs/ubuntu-server.log
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-server
=== tonyyserver [n=anthony@d235-240-148.home1.cgocable.net] has joined #ubuntu-server
=== tonyyserver [n=anthony@d235-240-148.home1.cgocable.net] has joined #ubuntu-server
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
=== lionel_ [n=lionel@ip-61.net-82-216-103.rev.numericable.fr] has joined #ubuntu-server
=== tmarble [n=tmarble@192.18.101.5] has joined #ubuntu-server
=== truz_`24 [n=truz_`24@74.129.166.232] has joined #ubuntu-server
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-server
=== lbm [n=lbm@82.192.173.92] has joined #ubuntu-server
=== DJ_Mirage [n=sexybigg@biggetje.xs4all.nl] has joined #ubuntu-server
=== okaratas [n=okaratas@fedora/ozgur] has joined #ubuntu-server
okaratashi09:29
=== shwag [n=steven@static-71-165-111-2.lsanca.dsl-w.verizon.net] has joined #ubuntu-server
shwagphpmyadmin is pretty out of date on ubuntu.10:59
shwag2.8.0.3  vs   2.9.1.1 10:59
=== infinity2 [n=adconrad@cerberus.0c3.net] has joined #ubuntu-server
=== ajmitch [n=ajmitch@port166-123.ubs.maxnet.net.nz] has joined #ubuntu-server
=== spike [n=spike@unaffiliated/spike] has joined #ubuntu-server
=== infinity [n=adconrad@cerberus.0c3.net] has joined #ubuntu-server
=== \sh_away [n=nnnsh@server3.servereyes.de] has joined #ubuntu-server
=== mdz [n=mdz@cpe-76-173-8-128.socal.res.rr.com] has joined #ubuntu-server
=== linuxpoet [n=jd@or-67-76-146-141.sta.embarqhsd.net] has joined #ubuntu-server
linuxpoetwhy is mailman on dapper always using the wrong domain to send?11:54
=== \sh_away [n=nnnnsh@server3.servereyes.de] has joined #ubuntu-server
=== mdz [n=mdz@cpe-76-173-8-128.socal.res.rr.com] has joined #ubuntu-server

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