• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context


  • Subject: Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context
  • From: Mike Schrag <email@hidden>
  • Date: Fri, 23 Apr 2010 04:22:36 -0400

> er.extensions.ERXJDBCAdaptor.className=er.extensions.jdbc.ERXJDBCAdaptor
> er.extensions.ERXJDBCAdaptor.useConnectionBroker = true
> er.extensions.ERXJDBCAdaptor.switchReadWrite=false
> er.extensions.ERXDatabaseContext.className = er.extensions.eof.ERXDatabaseContext
> er.extensions.ERXDatabaseContext.activate = true
> dbMinConnectionsGLOBAL=1
> dbMaxConnectionsGLOBAL=5
> dbConnectionRecycleGLOBAL=1.0
> dbMaxCheckoutGLOBAL=86400
Unless you're doing direct JDBC access, i'm pretty sure using the connection broker with multiple db connections isn't really doing anything for you. You would still have a dbctx lock on the whole thing. What you probably want is the object store coordinator pool. The trade-off here is potentially duplicating snapshots in each coordinator and using more ram.

# er.extensions.ERXObjectStoreCoordinatorPool.maxCoordinators = 0

ms
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context (From: Farrukh Ijaz <email@hidden>)
 >Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context (From: Chuck Hill <email@hidden>)
 >Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context (From: Farrukh Ijaz <email@hidden>)

  • Prev by Date: Re: announcement
  • Next by Date: Re: announcement
  • Previous by thread: Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context
  • Next by thread: Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context
  • Index(es):
    • Date
    • Thread