[Zope-dev] Transcience ? Problems

Chris McDonough chrism at plope.com
Tue Aug 31 02:43:45 EDT 2004


Join the club and post your findings / get help from:

http://zope.org/Collectors/Zope/1396
http://zope.org/Collectors/Zope/1401


On Mon, 2004-08-30 at 04:44, Dario Lopez-Kästen wrote:
> Greetings I have the following error showing up in my event.log (Zope 
> 2.7.1, python 2.34, Plone 2.03)
> 
> ----
> ...
>    File 
> "/usr/local/zope/instances/cdks/Products/PlacelessTranslationService/Negotiator.py", 
> line 266, in _negotiate
>      userchoices = getLangPrefs(request, kind)
>    File 
> "/usr/local/zope/instances/cdks/Products/PlacelessTranslationService/Negotiator.py", 
> line 54, in getLangPrefs
>      accepted = handler.getAccepted(env, kind)
>    File 
> "/usr/local/zope/instances/cdks/Products/PlacelessTranslationService/Negotiator.py", 
> line 172, in getAccepted
>      language = request.SESSION.get('pts_language', None)
>    File 
> "/usr/local/zope/software/zope-2.7.1/lib/python/ZPublisher/HTTPRequest.py", 
> line 1218, in __getattr__
>      v = self.get(key, default, returnTaints=returnTaints)
>    File 
> "/usr/local/zope/software/zope-2.7.1/lib/python/ZPublisher/HTTPRequest.py", 
> line 1178, in get
>      if callable(v): v = v()
>    File 
> "/usr/local/zope/software/zope-2.7.1/lib/python/Products/Sessions/SessionDataManager.py", 
> line 94, in getSessionData
>      return self._getSessionDataObject(key)
>    File 
> "/usr/local/zope/software/zope-2.7.1/lib/python/Products/Sessions/SessionDataManager.py", 
> line 181, in _getSessionDataObject
>      ob = container.new_or_existing(key)
>    File 
> "/usr/local/zope/software/zope-2.7.1/lib/python/Products/Transience/Transience.py", 
> line 768, in new_or_existing
>      self[key] = item
>    File 
> "/usr/local/zope/software/zope-2.7.1/lib/python/Products/Transience/Transience.py", 
> line 439, in __setitem__
>      current_bucket = self._data[current_ts]
> KeyError: 1093704740
> ----
> 
> 
> After this my site locks up ans is not responding. What I do get in the 
> log is thousands of conflict errors:
> 
> -- ******
>    File 
> "/usr/local/zope/software/zope-2.7.1/lib/python/Products/Transience/Transience.py", 
> line 439, in __setitem__
>      current_bucket = self._data[current_ts]
> KeyError: 1093704740
> ------
> 2004-08-28T16:52:53 INFO(0) ZODB conflict error at 
> /VirtualHostBase/https/XXX:443/cdks/VirtualHostRoot/heartbeat.txt (430 
> conflicts since startup at 2
> 004-08-26T15:50:14)
> ------
> 2004-08-28T16:52:59 INFO(0) ZODB conflict error at 
> /VirtualHostBase/https/XXX:443/cdks/VirtualHostRoot/heartbeat.txt (431 
> conflicts since startup at 2
> 004-08-26T15:50:14)
> 
> ...
> 
> ------
> 2004-08-30T08:46:22 INFO(0) ZODB conflict error at 
> /VirtualHostBase/https/XXX:443/cdks/VirtualHostRoot/heartbeat.txt (60082 
> conflicts since startup at
>   2004-08-26T15:50:14)
> ------
> 2004-08-30T08:46:23 INFO(0) ZODB conflict error at 
> /VirtualHostBase/https/XXX:443/cdks/VirtualHostRoot/heartbeat.txt (60083 
> conflicts since startup at
>   2004-08-26T15:50:14)
> 
> -- ******
> 
> The only thing that helps at his point is restarting.
> 
> Any ideas on what might be happening? And why I keep getting these 
> conflict errors?
> 
> Thanks,
> 
> /dario
> 



More information about the Zope-Dev mailing list