Git Product home page Git Product logo

Comments (4)

jamadden avatar jamadden commented on August 15, 2024

Sorry for the trouble. I have to tell you that Oracle+RelStorage is barely supported and not regularly tested. If possible, I encourage people to migrate to PostgreSQL 11+.

However if I start Plone a second time it works without a problem

Do you mean, you stop plone and just start it again? Or you start a second instance? I'm not sure what difference it makes because I don't know why you would be getting this.

Once you start a second instance, the trouble disappears for good?

ORA-08177: can't serialize access for this transaction

IIRC, the error you're getting means that there are multiple transactions in progress that conflict. I don't know enough about Zope/Plone startup to guess why that would be. Normally I wouldn't expect that. Perhaps you're starting multiple worker processes at the same time?

Especially here, when it's just trying to load the root object conn.get(z64).

Googling suggests that this may be a problem related to particular versions of Oracle and how it handles the undo segments. If that's the case, simply connecting to the database from a single client (ZODB.config.open(…)) before attempting to start multiple processes/threads ought to initialize the rollback segments and solve the issue.

from relstorage.

NicolasGoeddel avatar NicolasGoeddel commented on August 15, 2024

I start just one instance (./bin/client1 fg), nothing more. However I think one client usually spawns multiple worker threads.
I am assuming that the error only happens while the database is created. After that it works normal.

We have a customer who wishes to use its Oracle database, so we do it with our application. I don't think we can switch to an other database backend now. For other projects we usually use Postgres as well.

from relstorage.

jamadden avatar jamadden commented on August 15, 2024

I am assuming that the error only happens while the database is created. After that it works normal.

I don't know what to suggest, other than what I suggested before (open a "pre-flight" connection).

from relstorage.

jamadden avatar jamadden commented on August 15, 2024

Closing; no updates since 2021.

from relstorage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.