System wide Lock timeout

Hi,
I'd like to set a system wide lock timeout to 10 secs, i est I want that if a transaction waits for a row more than 10 seconds, the Oracle forces a ROLLBACK!
Looking in the documentation I found the trigger:
CREATE OR REPLACE TRIGGER resumable_default_timeout AFTER SUSPEND ON DATABASE BEGIN DBMS_RESUMABLE.SET_TIMEOUT(10); END;
... but it seems not to work.
Is there any system wide parameter, or another trigger, or I missed something with the above trigger (I shutdown any session to test)!
thank you
G.

Steve,
your answer is complete, the problem I am facing is that:
1 - I should instruct my programmers of the usabily of this tecnique the SELECT ... FOR UPDATE WAIT n, so the timeout is faced from application perspective, and it isn't so bad, in fact every single query could be customized regarding the WAIT time!
The drawback is that if the programmer doesn't use this technique, the application waits for the eternity.
2 - A system wide lock timeout, in any case could force, in any case, a default behaviour, ...
3 - If you are doing a porting from a different RDBMS see DB2, that implements a db lock timeout, you should recode all the SQL, and the porting needs more review and testing of the application!
Thank you
very much
G.

Similar Messages

  • Setting a System wide lock timeout (clx)

    I'd like to know how it is possible to set a system wide lock timeout!
    For example, I need that a transaction waiting for a row more than 10 seconds, was automatically rolled back!
    I tried to use a trigger found in the documentation:
    CREATE OR REPLACE TRIGGER resumable_default_timeout AFTER SUSPEND ON DATABASE BEGIN DBMS_RESUMABLE.SET_TIMEOUT(10); END;
    but seems not to work.
    Can someone help me?
    G.

    Steve,
    your answer is complete, the problem I am facing is that:
    1 - I should instruct my programmers of the usabily of this tecnique the SELECT ... FOR UPDATE WAIT n, so the timeout is faced from application perspective, and it isn't so bad, in fact every single query could be customized regarding the WAIT time!
    The drawback is that if the programmer doesn't use this technique, the application waits for the eternity.
    2 - A system wide lock timeout, in any case could force, in any case, a default behaviour, ...
    3 - If you are doing a porting from a different RDBMS see DB2, that implements a db lock timeout, you should recode all the SQL, and the porting needs more review and testing of the application!
    Thank you
    very much
    G.

  • System-wide cluster freeze

    Hello,
    We're experiencing many system-wide freeze instances in which many cluster members reported the following errors. We had to shut down cluster members one by one until the remaining system could be freed up. Our customer had many tools to monitor the network health. The network seemed not an issue. We've increased lots of memory to the nodes but there was no correlation to the memory size. What could be other possible causes that Grid.poll() hang?
    Thanks!
    -Edwin
    2013-05-29 16:06:39,510 ERROR [Logger@9215997 3.6.1.9             ] [Coherence:3] ( ) 2013-05-29 16:06:39.510/23816.450 Oracle Coherence GE 3.6.1.9 <Error> (thread=ReplicatedCache:QuartzReplicatedCache, member=1): Detected soft timeout) of {WrapperGuardable Guard{Daemon=ReplicatedCache:QuartzReplicatedCache:EventDispatcher} Service=ReplicatedCache{Name=QuartzReplicatedCache, State=(SERVICE_STARTED), Id=6, Version=3.0, OldestMemberId=73}}
    2013-05-29 16:06:39,588 WARN [Logger@9215997 3.6.1.9             ] [Coherence:3] ( ) 2013-05-29 16:06:39.588/23816.528 Oracle Coherence GE 3.6.1.9 <Warning> (thread=Recovery Thread, member=1): Attempting recovery of Guard{Daemon=ReplicatedCache:QuartzReplicatedCache:EventDispatcher}
    2013-05-29 16:06:39,588 ERROR [Logger@9215997 3.6.1.9             ] [Coherence:3] ( ) 2013-05-29 16:06:39.588/23816.528 Oracle Coherence GE 3.6.1.9 <Error> (thread=ReplicatedCache:QuartzReplicatedCache:EventDispatcher, member=1): This thread was interrupted while waiting for the results of a request:
    Poll
    PollId=211929, active
    InitTimeMillis=1369836341758
    Service=QuartzReplicatedCache (6)
    RespondedMemberSet=[]
    LeftMemberSet=[]
    RemainingMemberSet=[73]
    2013-05-29 16:06:39,588 ERROR [Logger@9215997 3.6.1.9             ] [Coherence:3] ( ) 2013-05-29 16:06:39.588/23816.528 Oracle Coherence GE 3.6.1.9 <Error> (thread=ReplicatedCache:QuartzReplicatedCache:EventDispatcher, member=1): An exception occurred while dispatching the following event:
    DispatchEvent: MemberEvent{Member=47 LEFT com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ReplicatedCache}
    2013-05-29 16:06:39,588 ERROR [Logger@9215997 3.6.1.9             ] [Coherence:3] ( ) 2013-05-29 16:06:39.588/23816.528 Oracle Coherence GE 3.6.1.9 <Error> (thread=ReplicatedCache:QuartzReplicatedCache:EventDispatcher, member=1): The following exception was caught by the event dispatcher:
    2013-05-29 16:06:39,619 ERROR [Logger@9215997 3.6.1.9             ] [Coherence:3] ( ) 2013-05-29 16:06:39.588/23816.528 Oracle Coherence GE 3.6.1.9 <Error> (thread=ReplicatedCache:QuartzReplicatedCache:EventDispatcher, member=1):
    (Wrapped: Interrupted while waiting for response from:[Member(Id=73, Timestamp=2013-05-29 05:38:20.434, Address=10.70.0.50:8090, MachineId=19506, Location=site:machine:TPTEXT50,process:3632, Role=StorageNodeDaemon)]) java.lang.InterruptedException
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.processPollInterrupt(Grid.CDB:40)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:60)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ReplicatedCache.requestLock(ReplicatedCache.CDB:42)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ReplicatedCache.lockResource(ReplicatedCache.CDB:47)
         at com.tangosol.coherence.component.util.CacheHandler.lock(CacheHandler.CDB:3)
         at com.tangosol.coherence.component.util.SafeNamedCache.lock(SafeNamedCache.CDB:1)
         at com.navis.framework.quartz.cluster.cache.coherence.CoherenceQuartzCache.removeObjectFromLockedCache(CoherenceQuartzCache.java:195)
         at com.navis.framework.quartz.cluster.cache.coherence.CoherenceQuartzCache.removeNode(CoherenceQuartzCache.java:136)
         at com.navis.framework.quartz.QuartzHelper.removeNode(QuartzHelper.java:219)
         at com.navis.framework.quartz.cluster.cache.coherence.QuartzNodeListener.memberLeft(QuartzNodeListener.java:54)
         at com.tangosol.net.MemberEvent.dispatch(MemberEvent.java:116)
         at com.tangosol.net.MemberEvent.dispatch(MemberEvent.java:87)
         at com.tangosol.coherence.component.util.SafeService.translateEvent(SafeService.CDB:28)
         at com.tangosol.coherence.component.util.SafeService.memberLeft(SafeService.CDB:1)
         at com.tangosol.net.MemberEvent.dispatch(MemberEvent.java:116)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$DispatchEvent.run(Grid.CDB:7)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher.onNotify(Service.CDB:26)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.InterruptedException
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:485)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:32)
         ... 17 more
    Edited by: user10362631 on May 29, 2013 4:32 PM

    This log indicated the process caused the problem.
    (Wrapped: Interrupted while waiting for response from:[Member(Id=73, Timestamp=2013-05-29 05:38:20.434, Address=10.70.0.50:8090, MachineId=19506, Location=site:machine:TPTEXT50,process:3632, Role=StorageNodeDaemon)]) java.lang.InterruptedException
    If you still have the log file from member 73, take a look at the log file. You might find service guardian triggered and thread dump within the log. The log message just before the thread dump section should tell you which thread caused the problem.

  • Lock Timeouts and Heap Space Exhaustion

    I'm having some trouble figuring out the best way to handle resource constraints in my application. Generally speaking, the application works well after starting for about a day or so, but inevitably starts generating "Lock timeout" messages and eventually runs out of heap space.
    Here is the main entity class:
    http://github.com/justindthomas/flower_as/blob/master/src/java/name/justinthomas/flower/analysis/statistics/StatisticalInterval.java
    Here is a supporting, persistent class:
    http://github.com/justindthomas/flower_as/blob/master/src/java/name/justinthomas/flower/analysis/statistics/StatisticalFlow.java
    This is the data accessor:
    http://github.com/justindthomas/flower_as/blob/master/src/java/name/justinthomas/flower/analysis/statistics/StatisticsAccessor.java
    And here is the class that controls the insertion and retrieval of data:
    http://github.com/justindthomas/flower_as/blob/master/src/java/name/justinthomas/flower/analysis/statistics/StatisticsManager.java
    The general flow is that a netflow packet is received from a sensor and the StatisticsManager normalizes the flow as it is inserted into the database. The normalization converts the summarized flow into several "resolutions." For example, one resolution might be 5000 ms. So the StatisticsManager takes the flow's end time/5000 - start time/5000 and divides the volume by the result and inserts that data into the database. It sounds kind of confusing, but results in a dataset that allows me to query for netflow activity for any time frame.
    It also means that the database is queried as it is written to; existing data is updated more frequently than new data is written.
    Regardless, Sleepycat seems to be holding on to more data than it needs to. Once an interval has passed (maybe 5 minutes or so), it is unlikely to be accessed again until queried to create charts. However, the memory usage grows out of control despite the lack of necessity for keeping all but recently entered entries in cache.
    This is how the trouble generally starts (note that I've increased the timeout to 15000 ms to try to accommodate for longer wait times, but that just seems to delay the onset of the issue by a day or so):
    [#|2010-10-23T13:46:00.854-0700|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=64;_ThreadName=Thread-1;|addStatisticalSeconds Failed: (JE 4.0.104) Lock expired. Locker 30264205 -1_pool-6-thread-8_ThreadLocker: waited for lock on database=persist#Statistics#name.justinthomas.flower.analysis.statistics.StatisticalInterval LockAddr:32426808 node=17057517 type=READ grant=WAIT_NEW timeoutMillis=15000 startTime=1287866745448 endTime=1287866760795
    Owners: [<LockInfo locker="29616818 -1_pool-6-thread-5_ThreadLocker" type="WRITE"/>]
    Waiters: [<LockInfo locker="7246740 -1_pool-6-thread-6_ThreadLocker" type="READ"/>, <LockInfo locker="26940477 -1_pool-6-thread-2_ThreadLocker" type="WRITE"/>, <LockInfo locker="5099094 -1_pool-6-thread-4_ThreadLocker" type="READ"/>]
    |#]
    [#|2010-10-23T15:00:41.343-0700|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=65;_ThreadName=Thread-1;|addStatisticalSeconds Failed: (JE 4.0.104) Lock expired. Locker 14184769 -1_pool-6-thread-1_ThreadLocker: waited for lock on database=persist#Statistics#name.justinthomas.flower.analysis.statistics.StatisticalInterval LockAddr:32730917 node=17057517 type=READ grant=WAIT_NEW timeoutMillis=15000 startTime=1287871223679 endTime=1287871241341
    Owners: [<LockInfo locker="23975039 -1_pool-6-thread-8_ThreadLocker" type="WRITE"/>]
    Waiters: [<LockInfo locker="19650664 -1_pool-6-thread-6_ThreadLocker" type="READ"/>]
    |#]
    [#|2010-10-23T15:32:13.090-0700|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=66;_ThreadName=Thread-1;|addStatisticalSeconds Failed: (JE 4.0.104) Lock expired. Locker 17937364 -1_pool-6-thread-7_ThreadLocker: waited for lock on database=persist#Statistics#name.justinthomas.flower.analysis.statistics.StatisticalInterval LockAddr:20265315 node=17057517 type=WRITE grant=WAIT_NEW timeoutMillis=15000 startTime=1287873113904 endTime=1287873133089
    Owners: [<LockInfo locker="3251671 -1_pool-6-thread-1_ThreadLocker" type="WRITE"/>]
    Waiters: [<LockInfo locker="32174859 -1_pool-6-thread-8_ThreadLocker" type="READ"/>, <LockInfo locker="33186148 -1_pool-6-thread-4_ThreadLocker" type="WRITE"/>, <LockInfo locker="17825718 -1_pool-6-thread-2_ThreadLocker" type="READ"/>]
    |#]
    [#|2010-10-23T15:32:13.096-0700|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=64;_ThreadName=Thread-1;|addStatisticalSeconds Failed: (JE 4.0.104) Lock expired. Locker 32174859 -1_pool-6-thread-8_ThreadLocker: waited for lock on database=persist#Statistics#name.justinthomas.flower.analysis.statistics.StatisticalInterval LockAddr:20265315 node=17057517 type=READ grant=WAIT_NEW timeoutMillis=15000 startTime=1287873118064 endTime=1287873133092
    Owners: [<LockInfo locker="3251671 -1_pool-6-thread-1_ThreadLocker" type="WRITE"/>]
    Waiters: [<LockInfo locker="33186148 -1_pool-6-thread-4_ThreadLocker" type="WRITE"/>, <LockInfo locker="17825718 -1_pool-6-thread-2_ThreadLocker" type="READ"/>]
    |#]
    [#|2010-10-23T15:32:13.367-0700|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=67;_ThreadName=Thread-1;|addStatisticalSeconds Failed: (JE 4.0.104) Lock expired. Locker 33186148 -1_pool-6-thread-4_ThreadLocker: waited for lock on database=persist#Statistics#name.justinthomas.flower.analysis.statistics.StatisticalInterval LockAddr:20265315 node=17057517 type=WRITE grant=WAIT_NEW timeoutMillis=15000 startTime=1287873118366 endTime=1287873133366
    Owners: [<LockInfo locker="3251671 -1_pool-6-thread-1_ThreadLocker" type="WRITE"/>]
    Waiters: [<LockInfo locker="17825718 -1_pool-6-thread-2_ThreadLocker" type="READ"/>, <LockInfo locker="25145711 -1_pool-6-thread-6_ThreadLocker" type="READ"/>, <LockInfo locker="5544029 -1_pool-6-thread-5_ThreadLocker" type="READ"/>]
    |#]
    [#|2010-10-23T15:33:14.030-0700|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=68;_ThreadName=Thread-1;|addStatisticalSeconds Failed: (JE 4.0.104) Lock expired. Locker 31602565 -1_pool-6-thread-5_ThreadLocker: waited for lock on database=persist#Statistics#name.justinthomas.flower.analysis.statistics.StatisticalInterval LockAddr:11219992 node=17057517 type=WRITE grant=WAIT_NEW timeoutMillis=15000 startTime=1287873175916 endTime=1287873194019
    Owners: [<LockInfo locker="27649147 -1_pool-6-thread-2_ThreadLocker" type="WRITE"/>]
    Waiters: [<LockInfo locker="3895581 -1_pool-6-thread-7_ThreadLocker" type="WRITE"/>, <LockInfo locker="8345933 -1_pool-6-thread-8_ThreadLocker" type="WRITE"/>, <LockInfo locker="12576013 -1_pool-6-thread-6_ThreadLocker" type="WRITE"/>, <LockInfo locker="5695501 -1_pool-6-thread-1_ThreadLocker" type="WRITE"/>]
    |#]
    [#|2010-10-23T15:33:23.334-0700|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=64;_ThreadName=Thread-1;|addStatisticalSeconds Failed: (JE 4.0.104) Lock expired. Locker 8345933 -1_pool-6-thread-8_ThreadLocker: waited for lock on database=persist#Statistics#name.justinthomas.flower.analysis.statistics.StatisticalInterval LockAddr:11219992 node=17057517 type=WRITE grant=WAIT_NEW timeoutMillis=15000 startTime=1287873184851 endTime=1287873203333
    Owners: [<LockInfo locker="3895581 -1_pool-6-thread-7_ThreadLocker" type="WRITE"/>]
    Waiters: [<LockInfo locker="12576013 -1_pool-6-thread-6_ThreadLocker" type="WRITE"/>, <LockInfo locker="5695501 -1_pool-6-thread-1_ThreadLocker" type="WRITE"/>, <LockInfo locker="13327115 -1_pool-6-thread-4_ThreadLocker" type="READ"/>, <LockInfo locker="11939897 -1_pool-6-thread-5_ThreadLocker" type="READ"/>]
    |#]
    [#|2010-10-23T15:33:23.344-0700|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=69;_ThreadName=Thread-1;|addStatisticalSeconds Failed: (JE 4.0.104) Lock expired. Locker 12576013 -1_pool-6-thread-6_ThreadLocker: waited for lock on database=persist#Statistics#name.justinthomas.flower.analysis.statistics.StatisticalInterval LockAddr:11219992 node=17057517 type=WRITE grant=WAIT_NEW timeoutMillis=15000 startTime=1287873184893 endTime=1287873203343
    Owners: [<LockInfo locker="3895581 -1_pool-6-thread-7_ThreadLocker" type="WRITE"/>]
    Waiters: [<LockInfo locker="5695501 -1_pool-6-thread-1_ThreadLocker" type="WRITE"/>, <LockInfo locker="13327115 -1_pool-6-thread-4_ThreadLocker" type="READ"/>, <LockInfo locker="11939897 -1_pool-6-thread-5_ThreadLocker" type="READ"/>]
    |#]
    Those errors go on and on and on, until I eventually see this:
    [#|2010-10-23T17:37:29.876-0700|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=71;_ThreadName=Thread-1;|Exception in thread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv]]" |#]
    [#|2010-10-23T17:37:34.915-0700|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=23;_ThreadName=Thread-1;|In main loop, we have serious trouble: java.lang.OutOfMemoryError: Java heap space|#]
    [#|2010-10-23T17:37:56.516-0700|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=66;_ThreadName=Thread-1;|Exception in thread "pool-6-thread-7" |#]
    [#|2010-10-23T17:39:11.060-0700|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=23;_ThreadName=Thread-1;|Exception in thread "{felix.fileinstall.poll=5000, felix.fileinstall.bundles.new.start=true, service.pid=org.apache.felix.fileinstall.fd8877ce-71aa-41d2-8ddc-15ce996cde1b, felix.fileinstall.dir=/opt/glassfishv3/glassfish/domains/domain1/autodeploy/bundles/, felix.fileinstall.filename=org.apache.felix.fileinstall-autodeploy-bundles.cfg, service.factorypid=org.apache.felix.fileinstall, felix.fileinstall.debug=1}" |#]
    [#|2010-10-23T17:39:11.070-0700|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=66;_ThreadName=Thread-1;|java.lang.OutOfMemoryError: Java heap space
         at java.util.IdentityHashMap.init(IdentityHashMap.java:261)
         at java.util.IdentityHashMap.<init>(IdentityHashMap.java:207)
         at com.sleepycat.je.utilint.IdentityHashMap.<init>(IdentityHashMap.java:25)
         at com.sleepycat.je.cleaner.LocalUtilizationTracker.<init>(LocalUtilizationTracker.java:39)
         at com.sleepycat.je.recovery.Checkpointer.flushDirtyNodes(Checkpointer.java:665)
         at com.sleepycat.je.recovery.Checkpointer.syncDatabase(Checkpointer.java:604)
         at com.sleepycat.je.dbi.DatabaseImpl.sync(DatabaseImpl.java:977)
         at com.sleepycat.je.dbi.DatabaseImpl.handleClosed(DatabaseImpl.java:863)
         at com.sleepycat.je.Database.closeInternal(Database.java:458)
         at com.sleepycat.je.Database.close(Database.java:314)
         at com.sleepycat.je.SecondaryDatabase.close(SecondaryDatabase.java:331)
         at com.sleepycat.persist.impl.Store.closeDb(Store.java:1454)
         at com.sleepycat.persist.impl.Store.close(Store.java:1059)
         at com.sleepycat.persist.EntityStore.close(EntityStore.java:630)
         at name.justinthomas.flower.analysis.persistence.FlowReceiver.addFlow(FlowReceiver.java:94)
         at name.justinthomas.flower.analysis.persistence.FlowReceiver.addFlow(FlowReceiver.java:65)
         at name.justinthomas.flower.collector.FlowWorker.parseData(FlowWorker.java:382)
         at name.justinthomas.flower.collector.FlowWorker.v9(FlowWorker.java:111)
         at name.justinthomas.flower.collector.FlowWorker.run(FlowWorker.java:61)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
         at java.lang.Thread.run(Thread.java:636)
    |#]
    [#|2010-10-23T17:39:11.124-0700|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=23;_ThreadName=Thread-1;|java.lang.OutOfMemoryError: Java heap space
    |#]
    [#|2010-10-23T17:39:11.141-0700|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=72;_ThreadName=Thread-1;|Exception in thread "pool-6-thread-3" |#]
    [#|2010-10-23T17:39:11.144-0700|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=72;_ThreadName=Thread-1;|java.lang.OutOfMemoryError: Java heap space
    |#]
    It's very frustrating, because things run so well at first and then just deteriorate into a resource nightmare. Any suggestions would be welcome. The application is running with 3 CPU cores and 2GB RAM.
    Edited by: justindthomas on Oct 23, 2010 7:19 PM: I initially tried to use the forum's "URL" mechanism, but that doesn't seem to work worth anything, so I un-did it.

    I've disabled that thread for now. While debugging that, I ran into a SecondaryIntegrityException and I read that I shouldn't use secondary indexes without also using transactions. I enabled transactional processing, but the locking issues grew far worse. I opted to find ways to not use secondary indexes instead.You're right that with secondaries it is important to use txns. But I'm not sure why you're having such severe locking problems with txns. Were you using a txn with a cursor, to perform a scan? If so, I can probably suggest ways of doing that without the txn, if you can describe what you're doing and/or point me to your source code. Or, perhaps you've decided not to use secondaries, and this isn't an issue anymore?
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Intermittent Lock Timeout Exceptions with JE 5.0.58

    Hi,
    During tests, the system continues to experience Lock Timeout problems from time to time, even with the latest version 5.0.58. The collection contains data which is typically removed shortly after inserted, so records usually have a short lifetime. There are multiple writer threads and 1 delete / reader thread.
    Any tips? Note the timeout is already a healthy 3 minutes long, so I don't think that's the problem. Stack trace and details below.
    Maybe the best thing to do is to reduce the lock timeout in order to not block the data pipeline, if a simple retry fixes it?
    Thanks,
    Karl
    ERROR@00:08:03 com.sleepycat.je.LockTimeoutException: (JE 5.0.58) Lock expired. Locker 879535510 -1_dbreader--Thread-5_ThreadLocker: waited for lock on database=persist#ListenerStore#com.procon.data.msg.local.BerkeleyDBMessage LockAddr:
    892328566 LSN=0xffffffff/0x5882af type=READ grant=WAIT_NEW timeoutMillis=180000 startTime=1344323103818 endTime=1344323283850
    Owners: [<LockInfo locker="1242902705 -1_CAL-dbwriter--Thread-18_ThreadLocker" type="WRITE"/>]
    Waiters: []
    com.sleepycat.je.txn.LockManager.newLockTimeoutException(LockManager.java:664)
    com.sleepycat.je.txn.LockManager.makeTimeoutMsgInternal(LockManager.java:623)
    com.sleepycat.je.txn.SyncedLockManager.makeTimeoutMsg(SyncedLockManager.java:97)
    com.sleepycat.je.txn.LockManager.lockInternal(LockManager.java:390)
    com.sleepycat.je.txn.LockManager.lock(LockManager.java:276)
    com.sleepycat.je.txn.BasicLocker.lockInternal(BasicLocker.java:118)
    com.sleepycat.je.txn.Locker.lock(Locker.java:443)
    com.sleepycat.je.dbi.CursorImpl.lockLN(CursorImpl.java:2589)
    com.sleepycat.je.dbi.CursorImpl.lockLN(CursorImpl.java:2390)
    com.sleepycat.je.dbi.CursorImpl.searchAndPosition(CursorImpl.java:2118)
    com.sleepycat.je.Cursor.searchInternal(Cursor.java:2666)
    com.sleepycat.je.Cursor.searchAllowPhantoms(Cursor.java:2576)
    com.sleepycat.je.Cursor.searchNoDups(Cursor.java:2430)
    com.sleepycat.je.Cursor.search(Cursor.java:2397)
    com.sleepycat.je.Cursor.readPrimaryAfterGet(Cursor.java:3703)
    com.sleepycat.je.SecondaryCursor.readPrimaryAfterGet(SecondaryCursor.java:1470)
    com.sleepycat.je.SecondaryCursor.retrieveNext(SecondaryCursor.java:1448)
    com.sleepycat.je.SecondaryCursor.getNext(SecondaryCursor.java:560)
    com.sleepycat.util.keyrange.RangeCursor.doGetNext(RangeCursor.java:897)
    com.sleepycat.util.keyrange.RangeCursor.getNext(RangeCursor.java:451)
    com.sleepycat.persist.BasicCursor.next(BasicCursor.java:80)
    com.sleepycat.persist.BasicIterator.hasNext(BasicIterator.java:49)
    com.procon.data.msg.local.BerkeleyDBMessageStore.queryMessages(BerkeleyDBMessageStore.java:498)
    com.procon.listener.DatabaseReader.runMain(DatabaseReader.java:161)
    com.procon.base.BasicRunnable.run(BasicRunnable.java:274)
    java.lang.Thread.run(Thread.java:662)

    Karl,
    With a 3 minute timeout, you may have a true deadlock (which are sometimes expected) or a bug in your app where you neglect to close a cursor or close a transaction. Increasing the lock timeout is usually not the solution, but the first step is to diagnose what is causing it, and you haven't given us enough information to do that. You haven't said what isolation modes you're using, what transactions are active, how many records are involved in each transactions, etc.
    I suggest that you read:
    http://docs.oracle.com/cd/E17277_02/html/TransactionGettingStarted/index.html
    in particular the Concurrency chapter.
    Also see:
    http://www.oracle.com/technetwork/database/berkeleydb/je-faq-096044.html#HowdoIdebugalocktimeout
    for how to get more information about this particular lock conflict.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • QuickLook causing system-wide freezes/hanging the Finder

    Hello --
    Just picked up a brand new MacBook Pro 2.5 GHz, 2GB RAM, 250 MB HD. Running 10.5.2.
    QuickLook is causing my entire system to lock up and become completely unresponsive. Here's what is happening:
    Using the Finder, I open a folder containing images and sometimes other folders. Anywhere from 6 to 80 images. Strictly JPGs and TIFFs, nothing unusual.
    I hit command-A to select all, then command-Y to QuickLook.
    QuickLook previews the first image in my selection. And the system is now locked up. My clock stops. Keyboard no longer works (cannot command-tab, cannot command-option-escape, cannot do anything with keyboard). Mouse pointer still moves around, but nothing responds to clicking. Sometimes I get the spinning beach ball for awhile, then it goes back to normal arrow pointer. Still, clicking does nothing, even if I wait. Have waited up to 10 minutes. I always end up pressing the power button to shut the machine down and then restart.
    I can re-create this problem, but only when the folder in question has not been QuickLooked before. After forcing a reboot, I can return to the image folder that caused the freeze, open it, command-A, command-Y, and QuickLook works just fine. The QuickLook freeze seems to occur only on a group of images that have never been QuickLooked before.
    If somebody has some tips on how I can troubleshoot this, or perhaps any fixes, I would be most grateful.
    Thanks in advance!
    Mike

    ...Does this help at all...?
    Mar 12 18:53:26 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0xd = GR: SW Notify Error
    Mar 12 18:53:39 mwks-macbook-pro kernel[0]: 0000000c
    Mar 12 18:53:39 mwks-macbook-pro kernel[0]: 00200000 00005097 0000047c 00000000
    Mar 12 18:53:39 mwks-macbook-pro kernel[0]: 00000486 00001224 00000001 00000003
    Mar 12 18:53:39 mwks-macbook-pro kernel[0]: 00000000 00000000 01bff803
    Mar 12 18:53:39 mwks-macbook-pro kernel[0]: 0000000c
    Mar 12 18:53:39 mwks-macbook-pro kernel[0]: 00200000 00005097 0000047c 00000000
    Mar 12 18:53:39 mwks-macbook-pro kernel[0]: 00000486 00001224 00000001 00000003
    Mar 12 18:53:39 mwks-macbook-pro kernel[0]: 00000000 00000000 00000002
    Mar 12 18:53:39 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:53:39 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:53:40 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:53:40 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:53:40 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:53:40 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:53:52 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel timeout!
    Mar 12 18:53:52 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:53:52 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:04 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel timeout!
    Mar 12 18:54:04 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:04 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel timeout!
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:16 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:17 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:17 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:17 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:17 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:17 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:17 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:17 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:17 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:29 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel timeout!
    Mar 12 18:54:29 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
    Mar 12 18:54:29 mwks-macbook-pro kernel[0]: 0000000b
    Mar 12 18:54:41 mwks-macbook-pro kernel[0]: NVChannel(GL): Graphics channel timeout!
    Mar 12 19:02:10 localhost kernel[0]: npvhash=4095

  • System wide gtkrc?

    I don't want to have to change the theme for all 6 users...is there a system wide file I can change to change the Gtk theme?

    I guess this is do the trick:
    - Install your theme on /usr/share/themes
    - Include the desired theme on /etc/gtk-2.0/gtkrc with:
    include "/usr/share/themes/<desired theme>/gtk-2.0/gtkrc"
    Ff the user sets a theme, it will override - so, the users configs must be clean for this to work.
    Or you can use pessulus to lock Gnome resources - in case, all users to a default theme.

  • Preferences API plus Linux. Saving entries system wide.

    Hi:
    I hope you know a little more about this than I do:
    I want to (one time) write a key-value pair into the Registry (Windows) / the according xml file (Linux).
    Since this entry should be available for all users, I used the following line to save it system wide:
    Preferences prefs = Preferences.systemRoot().node(this.getClass().getName());
    In the Windows Registry it can be found here:
    HKEY_LOCAL_MACHINE/ SOFTWARE/JavaSoft/Prefs
    Under Linux the prefs.xml file which contains the key value pair can be found here:
    /etc/.java/.systemPrefs/_!':!.../prefs.xml
    But, in order to create this file under Linux I had to temporarily change the access rights of the directory "/etc/.java/.systemPrefs" plus the two files inside this directory (".system.lock" and ".systemRootModFile") to 777.
    Afterwards I executed my Java program which set the entry I am talking about.
    At the end I set back the access rights of the ".systemPrefs" directory plus the two files mentioned above.
    The file prefs.xml has the following access rights:
    -rw-r--r--
    So, everyone has at least read access (which is great).
    My question:
    - Since other people should use this program in the future too: is there an easier / better way to set system wide preferences?
    For an answer thank you very much in advance.
    Joey

    Hi jschell:
    Thank you for your answer.
    The way you describe it is exactly how it is done till now.
    My task is to find out the way to do it using the Properties API plus solving potential problems (like the one described above).
    I just took a look at my question again. I wrote "Since other people should use this program in the future too: is there an easier / better way to set system wide preferences?".
    What I wanted to ask is: "Since other people should install this program in the future too, is there an easier / better way to set system wide preferences (by using the Properties API)?"

  • Capturing system-wide key events

    I am writing a pseudo-wordprocessor, and have a StatusBar class that is (supposed) to show the user their status... e.g. whether Insert or Caps Lock are enabled. To do that, I obviously need to check whether those keys are pressed.
    However, I don't know exactly how to perform such a check. I assume it has something to do with a system-wide KeyListener, but how would I implement that?

    see this code
    I hope i've understand you!!!
    bye,
    leo
    import java.awt.event.*;
    import javax.swing.*;
    public class CaputreKey extends JFrame {
    JLabel txt = new JLabel();
    public CaputreKey() {
    txt.setBounds(10, 20, 100, 100);
    this.setBounds(10, 10, 300, 300);
    this.getContentPane().setLayout(null);
    this.addKeyListener(new java.awt.event.KeyAdapter() {
    public void keyPressed(KeyEvent e) {
    all_keyPressed(e);
    this.getContentPane().add(txt, null);
    public void all_keyPressed(KeyEvent e) {
    if (e.getKeyCode() == e.VK_CAPS_LOCK)
    txt.setText("CAPS");
    else if (e.getKeyCode() == e.VK_INSERT)
    txt.setText("INSERT");
    else
    txt.setText("OTHER");
    public static void main(String[] args) {
    CaputreKey caputreKey1 = new CaputreKey();
    caputreKey1.show();
    }

  • File lock timeout length

    When a user opens a document and a file lock timeout period is set on it in the database, how does SharePoint 2013 determine the length of time to make the lock period?  This is an issue when a user has their system crash, but the file lock from their
    original session remains open until the file lock timeout expires. 
    I already know there's a non-supported way to fix this in the database, but Microsoft's official recommendation is to wait "10 minutes", yet I see on most files the lock timeout is set to hours in the future.  This causes users an unbelievable
    amount of frustration to either wait multiple hours, or save a copy and merge changes later.  Is there a fix to lower the file lock timeout value to something more reasonable?  Why was this designed so terribly?

    It is actually depending on your session timeout settings. 
    This prevents other users to modify \ overwrite it.
    Check if below can answer some more question of yours
    Office has to be continuing to extend that short term lock. You may check if this is the issue:
    http://paulliebrand.com/2008/01/04/document-is-locked-for-editing/ or check this
    http://paulliebrand.com/2010/04/12/document-is-locked-for-editing-part-2/
    If this helped you resolve your issue, please mark it Answered

  • File Type Associations Do Not Stick System-Wide CS4

    When I set File Type Associations for PSD, Tiff, DNG and Jpeg fles in Bridge CS4 so that my files will open in PS CS3 (and insure that the same file associations apply in Bridge CS3), this works as it should from within CS4 and CS3, but it is impossible to introduce a system-wide change in Mac OS 10.5.5 via File-Info. It always reverts to CS4 for these file types, if I try to 'modify all'. The same thing happened when I upgraded from CS2 to CS3.

    If File Type Associations are set properly in the Bridge preferences, the default setting can be made to open files in PS CS3, with CS4 installed. This works from within CS3 and CS4. However, it sometimes happens that one is in the Finder, and the default remains PS CS4, however much one tries (via File-Get Info) to modify the default system-wide settings so that these files open in CS3. In any event, a bit invasive. Of course, if I could get comfortable with the Adjustment Layer Panels, all this would be unnecessary, but for the moment, there appear to be too many clicks, and it is going to take some time, so I don't want to burn bridges. Perhaps there is also some ambiguity in my mind as to what the pointing finger in the new Curves dialogue box, much like a tolling bell, is trying to tell me.
    But thanks, once again Anne, for your good-natured help.

  • System-wide spell check will not work

    Hi,
    I can't get the system-wide spell check to work on my MacBook Pro with the Command + Shift + ; (semicolon) keys. Does anyone know of a solution to this problem? The Spell-Check on the Fly will work.
    Thank You,
    Guy

    I was able to zap the pram and that solved the problem.
    Guy

  • ITunes 10.7 crashes all apps on Mountain Lion including Force Quit. First system wide prob with an apple computer since OSX introduced. Any ideas?

    updated to iTunes 10.7  from app Store last night. After the update, iTunes opens then stalls with the "spinning pizza wheel". Force Quit is unresponsive and will not shut it down. If I then open other applications say Safari for example, the problem migrates over to Safari and it similarly stalls and becomes unresponsive. The only way to solve the problem is to manually shut the computer down. This is the most significant problem I have experienced on an apple computer since OSX was introduced because it impacts on Force Quit which means that you have to shut the whole deal down. There are obvious problems for use of Apple TV and apple store etc. ! I am running mountain lion 10.8.1 on a 27" iMac with 2T Time Capsule connected wirelessly. How do I downgrade iTunes back to 10.6? I had no problems with Mountain Lion or iTunes up to that point.

    this is the exact same problem i've been dealing with for the past 2 days. after i installed itunes 10.7 for my iphone5 it would crash my mbp's lion system wide. i tried every solution i could find on google and i've actually had to reinstall lion & time machine my backups because of it. right now i'm too scared to redownload itunes 10.7. i actually feel like waiting for the "new itunes" that comes out in october.

  • Is there any way to create a system-wide variable?

    Hello IDM gurus.
    Is there any way to create rarely changing system wide variables that can be loaded at system startup that will be available to all users? For example, at IDM system startup, the variables would be read from configuration or generic objects and live in memory for ALL users as opposed to each workflow/user having to read the same variables when the workflow is run.
    Any help would be appreciated.

    That may very well be the answer I'm looking for. Is there a way for that to be available within the entire application instead of having to read it in each workflow?

  • Setting ALSA sound card system wide (rather than just in KDE)

    Hi,
    I've got an HTPC with an ATI Radeon HD 4350 graphics card running Arch x86. It has its own integrated sound card for outputting audio via HDMI, which is detected by ALSA as a separate device. I've managed to set it as the default audio device in KDE 4 (via System Settings). This allows applications such as Amarok and SMPlayer to properly output audio to the HD 4350's integrated sound card, but software such as Flash and MPlayer (from the command line) are still outputting audio to the motherboard's built-in sound card. How can I change this setting on a system-wide level? I've tried running alsaconf as root and adding
    pcm.!default {
    type hw
    card 2
    device 3
    to ~/.asoundrc; I got the card and device numbers from aplay:
    [htpc@exia ~]$ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    Here is the output from MPlayer when I try to play a video, complete with errors regarding audio:
    MPlayer UNKNOWN-4.4.0 (C) 2000-2009 MPlayer Team
    137 audio & 296 video codecs
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    Playing /tmp/FlashmvWXPy.
    libavformat file format detected.
    [flv @ 0xac7d250]skipping flv packet: type 18, size 294, flags 0
    [lavf] Video stream found, -vid 0
    [lavf] Audio stream found, -aid 1
    VIDEO: [H264] 854x480 0bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
    FAAD: compressed input bitrate missing, assuming 128kbit/s!
    AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
    Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
    ==========================================================================
    [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
    [AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '2'
    [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
    [AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
    [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
    [AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
    [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    [AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
    [AO_ALSA] alsa-lib: pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
    [AO_ALSA] Playback open error: No such file or directory
    [JACK] cannot open server
    [AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
    [AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '2'
    [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
    [AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
    [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
    [AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
    [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    [AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
    [AO_ALSA] alsa-lib: pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
    [AO SDL] Unable to open audio: No available audio device
    DVB card number must be between 1 and 4
    AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
    Starting playback...
    VDec: vo config request - 854 x 480 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    VO: [xv] 854x480 => 854x480 Planar YV12
    Thanks!
    Last edited by w1ntermute (2009-06-28 18:40:03)

    whoops wrote:Do you use the motherboard sound-card?
    No.
    whoops wrote:If not - did you try just turning it off in bios (or blacklisting the driver)?
    No, I haven't tried that. I'll give it a shot. Thanks for the tip!
    Last edited by w1ntermute (2009-07-02 18:11:53)

Maybe you are looking for