IRC log of #zope for Tuesday, 2012-09-04

*** rbanffy has quit IRC00:03
*** daMaestro has quit IRC00:49
*** motto has quit IRC01:03
*** daMaestro has joined #zope01:18
*** elro has quit IRC01:20
*** Comartin has quit IRC02:25
*** RichyB has joined #zope02:26
*** Comartin has joined #zope02:29
*** mr_jolly has quit IRC02:40
*** _mup_ has quit IRC03:00
*** _mup_ has joined #zope03:00
*** RichyB has quit IRC03:19
*** mcdonc has joined #zope03:50
*** Comartin has quit IRC04:41
*** Comartin has joined #zope04:46
*** rockfruit has quit IRC05:22
*** daMaestro has quit IRC05:30
*** kosh has quit IRC05:35
*** Comartin has quit IRC05:42
*** Comartin has joined #zope05:53
*** KageSenshi has quit IRC06:42
*** KageSenshi has joined #zope06:58
*** Comartin has quit IRC07:23
*** Comartin has joined #zope07:24
*** tisto has joined #zope07:33
*** agroszer has joined #zope09:07
*** avoinea has joined #zope09:11
*** mr_jolly has joined #zope09:24
*** mcdonc has quit IRC09:26
*** __mac__ has joined #zope09:40
*** rockfruit has joined #zope10:02
*** giacomos has joined #zope10:07
*** povbot_ has joined #zope10:21 [freenode-info] channel flooding and no channel staff around to help? Please check with freenode support:
*** menesis has joined #zope10:23
*** goschtl has joined #zope10:47
*** goschtl has quit IRC10:53
*** goschtl has joined #zope10:53
*** goschtl has quit IRC10:54
*** goschtl has joined #zope10:54
*** sunew has joined #zope11:04
*** eperez has joined #zope11:17
*** eperez has quit IRC11:23
*** mitchell`off is now known as mitchell`11:25
*** rockfruit has quit IRC11:34
*** MrTango has joined #zope12:24
*** RichyB has joined #zope12:29
*** yvl has quit IRC12:39
*** mgedmin has quit IRC12:55
*** mgedmin has joined #zope12:55
*** teix has joined #zope12:59
*** tisto is now known as tisto|lunch13:08
*** zagy has joined #zope13:21
*** rockfruit has joined #zope13:29
*** mitchell` is now known as mitchell`afk13:33
*** rockfruit has quit IRC13:34
*** mr_jolly has quit IRC13:35
*** tisto|lunch has quit IRC13:35
*** mitchell`afk is now known as mitchell`13:43
*** tisto|lunch has joined #zope13:48
*** mr_jolly has joined #zope13:55
*** elro has joined #zope13:57
*** mr_jolly has quit IRC14:17
*** kosh has joined #zope14:22
*** goschtl has quit IRC14:24
*** goschtl_ has joined #zope14:24
*** goschtl_ is now known as goschtl14:24
*** menesis has quit IRC14:29
*** elro has quit IRC14:36
*** CIA-100 has quit IRC14:47
*** mr_jolly has joined #zope14:51
*** zagy has quit IRC14:59
*** teix has quit IRC15:00
*** teix1 has joined #zope15:00
*** benji has joined #zope15:04
*** CIA-101 has joined #zope15:18
*** tisto|lunch is now known as tisto15:23
*** zagy has joined #zope15:42
*** zagy1 has joined #zope15:44
*** elro has joined #zope15:44
*** zagy has quit IRC15:46
*** zagy has joined #zope15:47
*** menesis has joined #zope15:49
*** zagy1 has quit IRC15:50
*** rockfruit has joined #zope15:58
*** sp0cksbeard has joined #zope16:04
*** kosh has quit IRC16:05
*** J1m has joined #zope16:15
*** mr_jolly has quit IRC16:18
*** mcdonc has joined #zope16:29
*** nande has joined #zope16:54
*** elro_ has joined #zope16:55
*** elro has quit IRC16:55
*** elro_ is now known as elro16:55
*** avoinea has quit IRC16:57
*** mr_jolly has joined #zope16:57
*** avoinea has joined #zope16:59
*** supton has joined #zope17:01
*** les_sylvains has joined #zope17:01
*** sunew has quit IRC17:10
*** alecm has joined #zope17:14
*** alecm has joined #zope17:14
*** dayne has quit IRC17:16
*** mr_jolly has quit IRC17:16
*** mr_jolly has joined #zope17:23
*** rockfruit has left #zope17:24
*** avoinea has quit IRC17:28
*** Comartin has quit IRC17:38
*** mr_jolly has quit IRC17:43
*** __mac__1 has joined #zope17:44
*** __mac__2 has joined #zope17:44
*** __mac__ has quit IRC17:47
*** mr_jolly has joined #zope17:48
*** __mac__2 has quit IRC17:50
*** sunew has joined #zope17:59
*** avoinea has joined #zope18:05
*** mr_jolly has quit IRC18:09
*** mr_jolly has joined #zope18:10
*** mr_jolly has quit IRC18:14
*** fdrake has joined #zope18:17
*** mr_jolly has joined #zope18:18
*** daMaestro has joined #zope18:18
*** mr_jolly has left #zope18:19
*** mr_jolly has joined #zope18:27
*** sunew has quit IRC18:29
*** mcdonc has quit IRC18:37
*** tisto has quit IRC18:39
*** mr_jolly has quit IRC18:39
*** mr_jolly has joined #zope18:41
*** sunew has joined #zope18:41
*** supton has quit IRC18:41
*** niels_bom has quit IRC18:42
*** goschtl has quit IRC18:45
*** mr_jolly has quit IRC18:46
*** mr_jolly has joined #zope18:47
*** agroszer has quit IRC18:49
*** mr_jolly_ has joined #zope18:52
*** mr_jolly has quit IRC18:52
*** mr_jolly_ is now known as mr_jolly18:52
*** kiorky has quit IRC18:57
*** giacomos has quit IRC19:05
*** mr_jolly has quit IRC19:09
*** kosh has joined #zope19:13
*** mr_jolly has joined #zope19:16
*** elro has quit IRC19:22
*** RichardB has joined #zope19:31
*** tiwula has joined #zope19:32
*** supton has joined #zope19:33
*** RichyB has quit IRC19:33
*** mr_jolly has quit IRC19:34
*** RichardB has quit IRC19:35
*** kiorky has joined #zope19:41
*** menesis has quit IRC19:52
*** sunew has quit IRC19:55
*** mitchell` is now known as mitchell`off19:58
*** avoinea has quit IRC20:00
*** agroszer has joined #zope20:06
*** elro has joined #zope20:13
*** mr_jolly has joined #zope20:13
*** mr_jolly_ has joined #zope20:24
*** mr_jolly has quit IRC20:24
*** m8 has joined #zope20:24
*** deuterium has joined #zope20:51
deuteriumhia, i'm trying to find the cause of our zope instance's high cpu load.. almost 100% all the time. debugging help welcome!20:52
*** menesis has joined #zope20:53
betabugdeuterium: are we supposed to guess? will you hand out prices?20:56
deuteriumbetabug: valid point.. i try to give more information about it20:57
betabugwhat version of zope you're using and what products you've installed would be a start :-)20:58
*** motto has joined #zope21:07
*** m8 has quit IRC21:10
*** agroszer has quit IRC21:26
*** MrTango has quit IRC21:27
deuteriumbetabug: a self-compiled zope 2.8.1 on debian lenny, installed products:Calendar, Hotfix_20060705, ImageGallery, Newsletter,22:01
deuteriumFileAdministration, Hotfix_20070320, LocalImageSystem, Formulator, ImageGallery, LocalImageSystem, zms22:01
*** teix1 has quit IRC22:03
deuteriumpython 2.4.422:06
koshwhen you restart zope and do nothing does it have high cpu load?22:08
koshdoes it matter what page you hit before it starts generate high cpu load?22:08
deuteriumkosh: i try restarting this instance, moment please. iirc, the high load builds up very quickly though we have a neat iron below.22:09
koshso you need a test box22:09
deuteriumand a correction, it's python 2.3.622:10
koshso you can hit pages and see what causes the load22:10
koshalso you know your software is ancient right?22:10
koshcurrent zope is 2.13.1622:10
koshso you are WAY WAY WAY behind22:10
deuteriumkosh: i'm aware.. i didn't set up the box22:10
deuteriumi don't see why i would want to compile zope and python from scatch myself.. it's not really maintenance friendly22:11
deuteriumi've restarted zope 5 minutes ago, but i think it's still loading..22:23
*** m0tt0 has joined #zope22:33
*** motto has quit IRC22:35
*** TresEquis has joined #zope22:53
*** menesis has quit IRC22:57
*** supton has quit IRC23:08
koshdeuterium: it certainly does not look maintenance friendly23:27
deuteriumkosh: agree23:29
*** m8 has joined #zope23:29
koshI wonder why people setup such well designed systems in such horrible ways23:29
deuteriumkosh: i'm suspecting a loop in a method or so which is then hit by a request, keeping more and more workers 100% busy till there's basically a DOS23:29
koshit is like they try to make them suck on purpose23:29
koshone guess I have seen before is I ran into an image system once that on every page request it loaded every image in order to decide which 10 to show23:30
deuteriumkosh: i'm trying to follow to determine the method with the loop. good idea?23:30
koshit was idiotic23:30
koshbetter than nothing most likely, I have not tried that one before23:30
*** m0tt0 has quit IRC23:30
koshnormally I would make a clone of the system and then test on that23:30
koshbut then again I have never had a system do this kind of thing23:31
deuteriumkosh: hm.. google lists quite a few pages for "zope high load" etc. -> old ones, though23:31
deuteriumdoesn't seem to be _that_ uncommon23:31
koshyou can find those kinds of pages for any system though23:31
koshpeople write bad code and then somehow still expect the system to work through it23:32
koshI have helped people fix high load problems, not once has it even actually been zope, it was stupid queries every time23:32
koshif you want to show 10 pictures but load 10K of them that is going to suck regardless of db23:32
deuteriumthe thing that astonishes me as a zope layman: isn't there some kind of max execution time for threads in zope or so? do loops really get cpu resources forever?23:32
deuteriumkosh: sure, that's silly23:33
deuteriummight be bad code here too.. a race condition in a method definitely is bad programming23:33
koshrecursion errors are found and stopped23:33
deuteriumbut i'm astonished it has such bad effects on the whole instance23:33
koshrace conditions should be insanely rare to happen given how zope is designed and what you are allowed to access23:33
koshbut nothing is really going to limit total cpu time23:34
deuteriumok.. sounds plausible23:34
koshmostly because that would screw up a lot of apps23:34
koshI have some things that will run for hours without problems and without crippling everything else23:34
koshbut it sounds like you have some common usage case that is causing high load23:34
koshthat is death on anything23:34
deuteriumi suspect a problem in zms.. or maybe there's even some buggy custom code i don't know anything about23:34
deuteriumplease elaborate23:35
koshif you had another system with a 5 second max limit but many people kept hitting the page you would still be crippled23:35
koshit doesn't really change the problem to impose a time limit23:35
deuteriumkosh: hm.. i think php does use a max execution time. not saying that php is a role-model.23:38
koshit just means you run a few seconds longer before becoming hopelessly bogged down23:38
koshthe problem is that it doesn't solve the problem23:38
koshbut it stops a lot of things from working23:38
koshzope is used for some larger systems where things can run for hours23:39
koshnow since 2.8 it also handles this stuff much better23:39
deuteriumhm ok23:40

Generated by 2.15.1 by Marius Gedminas - find it at!