supton | ZODB Q: can anyone confirm that storages don't manage the open/closed state of connections? I'm having ConnectionStateError messages triggered by a (Plone) application, and I'm wanting to rule out RelStorage as a contributing factor (I don't think it is). http://pastie.org/1886028 | 00:15 |
---|---|---|
supton | no freakin' clue why the event handler trying to access an annotation would run into a closed connection | 00:15 |
kosh | hmm that is not an error I have ever seen before | 00:29 |
kosh | zope is supposed to open a connection to storage and keep it open | 00:29 |
*** sm has joined #zope | 00:31 | |
kosh | sm: greetings insane person | 00:33 |
TresEquis | supton, the "DB" object manages connections, not the storage | 00:40 |
supton | TresEquis: that's what I thought, and I was able to duplicate my problem on both ZEO and relstorage | 00:40 |
supton | thanks | 00:40 |
TresEquis | either you have code which is erroneously reusing a closed connection | 00:40 |
kosh | how would you write code inside plone though that screwed with the db connection? | 00:41 |
TresEquis | or else is trying to close a connection which is still actively bound to a trnasaction | 00:41 |
TresEquis | usually you managed to "leak" the connection into a module global | 00:41 |
supton | I'm trying to audit my code for globals caching a persistent object, and I'm trying to audit upstream packages I'm using for use of setSite() | 00:41 |
TresEquis | and then tried to use it after the request | 00:41 |
kosh | I just wonder how complex the code would need to be to cause a weird error like that | 00:42 |
TresEquis | sticking a persistent object into the global site manager would be an easy fail ;) | 00:43 |
supton | the strange thing is that this is a zope.lifecycleevent event handler trying to access an annotation on an object within the context of a request | 00:43 |
kosh | https://bugs.launchpad.net/zope2/+bug/739692?comments=all well it seems nobody cares about my patch, it looks like the milestone has now been set to none and no comments on it | 00:43 |
_mup_ | Bug #739692: Add blob support to OFS.Image.Image and OFS.Image.File <Zope 2:Confirmed for tseaver> < https://launchpad.net/bugs/739692 > | 00:44 |
TresEquis | I'm guessing you have a utility registered which has a persistent object as an attribute | 00:44 |
*** menesis has joined #zope | 00:44 | |
TresEquis | kosh, it is assigned to me | 00:45 |
kosh | ah okay I just wondered since hanno changed the milestone | 00:45 |
TresEquis | Hanno was noting that 2.13.7 went out without the patch | 00:45 |
TresEquis | (I think) | 00:45 |
kosh | ah ok | 00:45 |
TresEquis | one can argue that, as a "new feature", it should be targeted to 2.14 (the trunk) | 00:47 |
kosh | that is fine also I just wonderd what else I should do at this point? should I bring it up on zope dev and see if anyone wants to comment on it? | 00:47 |
TresEquis | that wouldn't hurt -- I would be glad to hand it off ;) | 00:48 |
kosh | okay I will bring it up on zope dev then and see what anyone else things | 00:48 |
*** TresEquis has quit IRC | 00:49 | |
supton | okay, is it dangerous to do something like this: self._v_some_cached_value.__parent__ = self -- I'm using a parent pointer reference from a transient cached value back to a persistent object. Could this be contributing to my problem? | 00:59 |
* supton guesses this is but one nail I've driven into my foot | 01:00 | |
kosh | I have transient objects that refer to persistent objects that don't cause this problem, the ones I have get created and have their __parent__ set to a persistent object and that does not seem to cause any issues | 01:01 |
*** srichter has quit IRC | 01:34 | |
*** J1m has quit IRC | 01:47 | |
*** sashav has quit IRC | 01:58 | |
*** srichter has joined #zope | 02:05 | |
*** sp0cksbeard has quit IRC | 02:14 | |
*** fredvd has quit IRC | 02:17 | |
*** ccomb has quit IRC | 02:27 | |
*** redir has joined #zope | 02:30 | |
*** Arfrever has quit IRC | 02:38 | |
sm | hail kosh | 02:41 |
kosh | greetings burned one! | 02:41 |
*** tiwula has quit IRC | 02:51 | |
*** robohak has quit IRC | 03:04 | |
*** davisagli has quit IRC | 03:11 | |
*** davisagli has joined #zope | 03:12 | |
*** menesis has quit IRC | 03:12 | |
*** menesis has joined #zope | 03:23 | |
*** Spanktar has quit IRC | 03:54 | |
*** redir has quit IRC | 04:28 | |
*** tisto_ has joined #zope | 04:45 | |
*** tisto|away has quit IRC | 04:49 | |
*** kleist has joined #zope | 05:26 | |
*** srichter has quit IRC | 05:27 | |
*** robohak has joined #zope | 05:45 | |
*** daMaestro has quit IRC | 06:13 | |
*** webmaven has quit IRC | 06:13 | |
*** mr_jolly has joined #zope | 06:53 | |
*** sm has quit IRC | 06:54 | |
*** mcdonc_ has joined #zope | 06:55 | |
*** mcdonc has quit IRC | 06:55 | |
*** mcdonc_ has quit IRC | 06:59 | |
*** mcdonc has joined #zope | 07:01 | |
*** mr_jolly has quit IRC | 07:03 | |
*** davisagli has quit IRC | 08:00 | |
*** davisagli has joined #zope | 08:01 | |
*** redir has joined #zope | 08:28 | |
*** davisagli has quit IRC | 08:43 | |
*** davisagli has joined #zope | 08:45 | |
*** wosc has joined #zope | 08:48 | |
*** agroszer has joined #zope | 08:50 | |
*** slackrunner has joined #zope | 08:59 | |
*** hever has joined #zope | 09:00 | |
*** __mac__ has joined #zope | 09:02 | |
*** stoffus has joined #zope | 09:06 | |
*** zenwryly has quit IRC | 09:23 | |
*** zenwryly has joined #zope | 09:23 | |
*** mr_jolly has joined #zope | 09:26 | |
*** avoinea has joined #zope | 09:37 | |
*** tisto_ is now known as tisto | 09:41 | |
*** slackrunner_ has joined #zope | 09:41 | |
*** alga has joined #zope | 09:43 | |
*** slackrunner has quit IRC | 09:44 | |
*** slackrunner_ is now known as slackrunner | 09:44 | |
*** Wu has joined #zope | 09:47 | |
*** planetzopebot has quit IRC | 10:08 | |
*** planetzopebot has joined #zope | 10:09 | |
*** digitalmortician has joined #zope | 10:26 | |
*** goschtl has joined #zope | 10:32 | |
*** hever has quit IRC | 10:47 | |
*** alexpilz has joined #zope | 10:47 | |
*** hever has joined #zope | 11:08 | |
*** shastry has quit IRC | 11:13 | |
*** shastry has joined #zope | 11:15 | |
*** eperez has joined #zope | 11:19 | |
*** sylvain has joined #zope | 11:28 | |
*** thetet has joined #zope | 11:44 | |
*** gwik has joined #zope | 11:49 | |
*** TomBlockley has joined #zope | 11:57 | |
*** wosc has quit IRC | 11:58 | |
*** __mac__1 has joined #zope | 12:04 | |
*** __mac__ has quit IRC | 12:05 | |
*** evilbungle has joined #zope | 12:09 | |
*** mitchell`off is now known as mitchell` | 12:20 | |
*** fredvd has joined #zope | 12:34 | |
*** __mac__1 has quit IRC | 12:48 | |
*** agroszer has quit IRC | 13:02 | |
*** agroszer has joined #zope | 13:03 | |
*** chaoflow has quit IRC | 13:05 | |
*** chaoflow has joined #zope | 13:08 | |
*** tisto is now known as tisto|lunch | 13:10 | |
*** J1m has joined #zope | 13:12 | |
*** J1m has quit IRC | 13:20 | |
*** vipod has joined #zope | 13:23 | |
*** teix has joined #zope | 13:25 | |
*** menesis has quit IRC | 13:40 | |
*** wosc has joined #zope | 13:41 | |
*** __mac__ has joined #zope | 13:43 | |
*** wosc has quit IRC | 13:55 | |
*** slackrunner has quit IRC | 14:17 | |
*** slackrunner has joined #zope | 14:18 | |
*** dayne has joined #zope | 14:25 | |
*** wosc has joined #zope | 14:27 | |
*** wosc has quit IRC | 14:35 | |
*** wosc has joined #zope | 14:36 | |
*** TresEquis has joined #zope | 14:41 | |
*** jan_s has joined #zope | 14:56 | |
*** xanalogica has joined #zope | 14:57 | |
*** xanalogica is now known as jeffrush | 14:58 | |
*** Wu has quit IRC | 15:02 | |
*** sylvain__ has joined #zope | 15:04 | |
*** sylvain has quit IRC | 15:06 | |
*** menesis has joined #zope | 15:14 | |
*** srichter has joined #zope | 15:19 | |
*** __mac__1 has joined #zope | 15:24 | |
*** __mac__ has quit IRC | 15:26 | |
*** wosc has quit IRC | 15:27 | |
*** tisto|lunch is now known as tisto | 15:31 | |
*** jan_s has quit IRC | 15:33 | |
*** jan_s has joined #zope | 15:33 | |
*** jan_s has left #zope | 15:35 | |
*** jeffrush is now known as xanalogica | 15:38 | |
*** thetet has quit IRC | 15:39 | |
*** wosc has joined #zope | 16:03 | |
*** slackrunner has quit IRC | 16:04 | |
*** JT has quit IRC | 16:05 | |
*** pyqwer has joined #zope | 16:09 | |
*** f10w has quit IRC | 16:20 | |
*** sp0cksbeard has joined #zope | 16:20 | |
*** alga has quit IRC | 16:24 | |
*** f10w has joined #zope | 16:31 | |
*** dayne has quit IRC | 16:37 | |
*** ViicT has joined #zope | 16:54 | |
*** Wu has joined #zope | 17:08 | |
*** davetoo has joined #zope | 17:08 | |
*** zagy1 is now known as zagy | 17:09 | |
*** J1m has joined #zope | 17:12 | |
*** astoon has joined #zope | 17:12 | |
*** hever has quit IRC | 17:32 | |
*** gwik has quit IRC | 17:42 | |
*** gwik has joined #zope | 17:42 | |
*** digitalmortician has quit IRC | 17:55 | |
*** digitalmortician has joined #zope | 17:56 | |
*** davetoo has left #zope | 17:59 | |
*** stoffus has quit IRC | 17:59 | |
*** alvaro_o has joined #zope | 18:00 | |
*** alvaro_o has quit IRC | 18:01 | |
*** hever has joined #zope | 18:03 | |
*** wosc has quit IRC | 18:12 | |
*** hever has quit IRC | 18:23 | |
*** TresEquis has quit IRC | 18:23 | |
*** digitalmortician has quit IRC | 18:25 | |
*** thetet has joined #zope | 18:33 | |
*** JT has joined #zope | 18:37 | |
*** goschtl has quit IRC | 18:38 | |
*** __mac__1 has quit IRC | 18:42 | |
*** agroszer has quit IRC | 18:42 | |
*** vipod has quit IRC | 18:49 | |
*** slackrunner has joined #zope | 18:50 | |
*** MrTango has joined #zope | 18:56 | |
MrTango | hi, i have crazy problems with an zope2.10/plone3.3.5 instance, some times it hangs, nothing in the log, use no cpu time and i see mostly nothing activity with strace on this process | 18:59 |
*** tiwula has joined #zope | 19:00 | |
MrTango | can anyone please give me a hint to find out what happen? | 19:00 |
MrTango | this instance runs with serverthreads = 3 | 19:01 |
*** sm has joined #zope | 19:05 | |
*** fredvd has quit IRC | 19:07 | |
*** robohak has quit IRC | 19:07 | |
*** pyqwer has quit IRC | 19:13 | |
*** xanalogica has quit IRC | 19:19 | |
*** mitchell` is now known as mitchell`off | 19:20 | |
*** Spanktar has joined #zope | 19:22 | |
*** TomBlockley has quit IRC | 19:28 | |
*** xanalogica has joined #zope | 19:33 | |
*** alexpilz has quit IRC | 19:40 | |
*** tisto has quit IRC | 19:46 | |
*** menesis has quit IRC | 19:46 | |
*** avoinea has left #zope | 19:55 | |
*** _mup_ has quit IRC | 19:56 | |
*** _mup_ has joined #zope | 19:57 | |
*** runyaga has joined #zope | 19:57 | |
*** runyaga has quit IRC | 19:57 | |
*** runyaga has joined #zope | 19:57 | |
*** eperez has quit IRC | 19:59 | |
*** astoon has quit IRC | 20:20 | |
*** agroszer has joined #zope | 20:22 | |
*** sylvain__ has quit IRC | 20:22 | |
*** redir has quit IRC | 20:28 | |
*** evilbungle has quit IRC | 20:31 | |
*** Wu has quit IRC | 20:35 | |
*** giampaolo has joined #zope | 20:36 | |
*** menesis has joined #zope | 20:37 | |
*** agroszer has quit IRC | 20:40 | |
*** robohak has joined #zope | 20:40 | |
*** thetet has quit IRC | 20:53 | |
*** thetet has joined #zope | 20:53 | |
*** thetet has quit IRC | 20:55 | |
*** davisagli has quit IRC | 21:10 | |
*** davisagli has joined #zope | 21:11 | |
kosh | MrTango: you might want to ask in #plone for help since they might know of a plone bug related to that | 21:11 |
*** kleist has quit IRC | 21:14 | |
*** teix has quit IRC | 21:16 | |
*** jshell has joined #zope | 21:22 | |
*** __mac__ has joined #zope | 21:34 | |
*** sashav has joined #zope | 21:47 | |
*** alexpilz has joined #zope | 22:08 | |
*** __mac__ has quit IRC | 22:13 | |
*** Arfrever has joined #zope | 22:15 | |
*** CIA-83 has quit IRC | 22:15 | |
*** webmaven has joined #zope | 22:23 | |
*** __mac__ has joined #zope | 22:25 | |
*** davisagli has quit IRC | 22:42 | |
*** davisagli has joined #zope | 22:42 | |
*** alecm has quit IRC | 22:44 | |
*** thetet has joined #zope | 22:45 | |
*** giampaolo has quit IRC | 22:59 | |
*** __mac__ has quit IRC | 23:04 | |
*** ViicT has quit IRC | 23:15 | |
*** m8 has joined #zope | 23:21 | |
*** thetet has quit IRC | 23:38 | |
*** sunew has joined #zope | 23:44 | |
*** sunew has quit IRC | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!