Rmi freezing

Hi All,
My Application has the client - server architecture using RMI.
If I leave the server running for 2 or 3 days and if I try to create a new
connection to the server (that is another client instance ) the
registry.bind(Address,Object) is freezing . It is not coming out from
that statement. But all the existing connections(clients) are able to
talk to the server. When I restart the server , everything will be fine. It
can take any number of new connections.
Please help me if you know the reason for this.
Thanks
Sam

Hi All,
My Application has the client - server architecture using RMI.
If I leave the server running for 2 or 3 days and if I try to create a new
connection to the server (that is another client instance ) the
registry.bind(Address,Object) is freezing . It is not coming out from
that statement. But all the existing connections(clients) are able to
talk to the server. When I restart the server , everything will be fine. It
can take any number of new connections.
Please help me if you know the reason for this.
Thanks
Sam

Similar Messages

  • Pulled network cable... RMI freezes forever??

    I have RMI basically doing some remote tasks on various servers and all goes well... unless I pull a network cable out of a machine that is an RMI Server.
    My client, at this point, issues a request to that "server" and sits... forever.
    What I really need is a way to know that the reason it is waiting is because the server is simply not in a ready state. If I time it out somehow, the timeout may not know if it's a long process... worth sticking around for... or if it's waiting for no reason at all. So, for example, if I have a process that takes a few minutes usually... I'd like it to hang out. But I'd like it to just give up if it can't even get a connection to the machine...
    What's really odd is that I'd expect some sort of exception to be thrown... but nada... it just hangs... and then actually answers the function call when I plug it back in.
    I've looked through these forums and all over the place to find an answer to this issue... and have had no luck.
    So, if anyone has any ideas... PLEASE help.
    Thanks in advance!!

    2 things.
    1. there are several timeouts which will kick in eventually. Generally though they take 5-10 minutes.
    2. If this is not bad code on your part, then its a function of your connection mechanism which could be due to yoru OS, or whatever is in your connection path. For instance, I connect to my rmi server, and if I pull the cable, my RMI client is aware the instant I try to make another call. Or if there is an active call it is instantly interrupted. And exception is immediately thrown in either case. However, if I am tunnelling over ssh, through an ssh client, and I pull the cable, the java program does not know instantly because my ssh client I guess does not instantly reveal this information.

  • RMI : error on JRE 1.6 but not on JRE 1.5 ???

    Hello,
    I've got a problem with my application since i use JRE 1.6
    My application run perfectly with JRE 1.5 !!!
    My code is first :
    LocateRegistry.createRegistry(port);
    NamingManager.setInitialContextFactoryBuilder(new InitialServerContextFactory());
    NamingManager.getInitialContext(environment);(with environment is an hastable containing HOST et PORT)
    An next, i have a Java Class witch impl�ments Context :
    public class InitialServerContext implements Context
        public void bind(String name, Object obj) throws NamingException
              getRMIContext().bind("rmi://" + mServer + ':' + mPort + '/' + name, obj);
        static Context getRMIContext() throws NamingException
              return NamingManager.getURLContext("rmi", null);
    The error on JRE 1.6 is on the line :
    getRMIContext().bind("rmi://" + mServer + ':' + mPort + '/' + name, obj);
    _Exception is
    :_java.lang.NullPointerException
    at com.sun.jndi.rmi.registry.RegistryContext.<init>(Unknown Source)
    at com.sun.jndi.url.rmi.rmiURLContext.getRootURLContext(Unknown Source)
    at com.sun.jndi.toolkit.url.GenericURLContext.bind(Unknown Source)
    at com.xxx.aes.naming.InitialServerContext.bind(InitialServerContext.java:231)
    at com.xxx.aes.naming.InitialServerContextFactory.getInitialContext(InitialServerContextFactory.java:104)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at com.xxx.aes.server.NamingServer.start(NamingServer.java:65)
    What is the difference between JRE 1.5 and 1.6 ?
    Why my application in 1.6 is not correct ?
    If necessary, i can give you my Java Class InitialServerContextFactory.java
    Thanks a lot for your responses.

    Hello,
    I tired this approach you mentioned, and interestingly if i just make ejb calls without any event handling, meaning if i call them separately they all just work fine and i see the results coming back from server. But when i relate them to any click events the whole IE freezes.
    One more thing i noted is that, seems like the way JRE 1.6 render my applet is somewhat different than JRE 1.5.* familiy,because initially when my aplet is loaded, i see everything which should be displayed from the first screen, but any further operations i cannot perform, even opening a file chooser from tool bar. I admit my applet is real heavy and it contains a lot of data in it on the first screen, may be its the heap size causing the problem in 1.6 but fine with jre 1.5.
    Day by day am coming to conlusion that jre 1.6 is my concern now ..:(
    Thanks,

  • Messaging bridge freezing?

              I posted a week ago regarding some mdb's freezing. we haven't gotten a thread dump
              yet but hope to after hours. I wanted to post some more information that's come
              to light about the problem..
              we have a messaging bridge that is linking destinations between our weblogic 7.0
              sp2 instance and a weblogic 5.1 instance. we've noticed that when messaging traffic
              is freezing (we're using the same connection factory for all of these messages
              and for the messaging bridge -- OTHER jms traffic which uses a different connection
              factory is getting through fine), when we untarget the messaging bridge and do
              a netstat -a we see that the connection to the 5.1 instance is still ESTABLISHED
              even though the bridge has been undeployed. it does not go away even after an
              hour or so. The last time we tried this, the admin console locked up.
              Again, we're dealing with very little amounts of traffic, so I doubt that it is
              load related (and in fact happens after several days of inactivity)
              Thanks
              

              can you post the section of the config.xml which is relevant to Message Bridge
              and its destinations ?
              Dips
              "weblogic user" <[email protected]> wrote:
              >
              >here's a stack trace from when we tried to undeploy the bridge:
              >
              >java.lang.NullPointerException
              > at weblogic.jms.adapter51.JMSBaseConnection.recover(JMSBaseConnection.ja
              >va:1330)
              > at weblogic.jms.adapter51.JMSConnectionHandle.recover(JMSConnectionHandl
              >e.java:176)
              > at java.lang.reflect.Method.invoke(Native Method)
              > at weblogic.connector.common.internal.ConnectionWrapper.invoke(Connectio
              >nWrapper.java:101)
              > at $Proxy111.recover(Unknown Source)
              > at weblogic.jms.bridge.internal.MessagingBridge.cleanup(MessagingBridge.
              >java:1039)
              > at weblogic.jms.bridge.internal.MessagingBridge.shutdown(MessagingBridge
              >.java:1662)
              > at weblogic.jms.BridgeService.removeMessagingBridge(BridgeService.java:3
              >74)
              > at weblogic.jms.BridgeService.removeBridge(BridgeService.java:669)
              > at weblogic.jms.BridgeService.removeDeployment(BridgeService.java:593)
              > at weblogic.management.mbeans.custom.DeploymentTarget.removeDeployment(D
              >eploymentTarget.java:432)
              > at weblogic.management.mbeans.custom.DeploymentTarget.removeDeployment(D
              >eploymentTarget.java:177)
              > at java.lang.reflect.Method.invoke(Native Method)
              > at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
              >eanImpl.java:732)
              > at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
              >.java:714)
              > at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
              >ionMBeanImpl.java:417)
              > at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              >57)
              > at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              >25)
              > at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBean
              >ServerImpl.java:952)
              > at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unkn
              >own Source)
              > at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
              > at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
              > at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
              >eManager.java:821)
              > at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
              >a:308)
              >
              >
              >
              >
              

  • Simple RMI application

    Hi all
    I've wrote a simple RMI application; I've made a stub and a skeleton and I've started a rmiregistry; when I'm execute a server, I have this exception:
    java.rmi.UnmarshalException: error unmarshalling arguments; ecc.
    Where is the problem?

    Ok, but I'm a student and my teacher wants ....I'm 49 years old and have blond, long hair (other call it grey, but they are
    loonies) and I drive a Ford that doens't want to start when it's freezing
    but that's still no excuse for the RMI mechanism not to work properly ;-)
    Anyway, the problem was an sub-directory; now I catch a
    ConnectException: connection refused (to 127.0.0.1);
    any ideas?Yep, you have to start the server part first and then start your client. I also
    suspect that you don't have the 'rmiregistry' running ... (we can talk about
    that later).
    kind regards,
    Jos

  • Jdeveloper freezes

    Hi, I am running Jdeveloper1013EA on a java desktop system. It freezes when I try to run
    the application. Any idea please. Here are the messages:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    /home/shagus/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config>
    /home/shagus/jdk1.5.0_05/bin/java -server -classpath /home/shagus/jdev1013EA/j2ee/home/oc4j.jar:/home/shagus/jdev1013EA/jdev/lib/jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Xrs -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config /home/shagus/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config/server.xml
    [waiting for the server to complete its initialization...]
    Oct 9, 2005 12:27:45 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    05/10/09 12:27:53 java.net.SocketException: Network is unreachable
    05/10/09 12:27:53      at java.net.PlainSocketImpl.socketConnect(Native Method)
    05/10/09 12:27:53      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    05/10/09 12:27:53      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    05/10/09 12:27:53      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    05/10/09 12:27:53      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
    05/10/09 12:27:53      at java.net.Socket.connect(Socket.java:507)
    05/10/09 12:27:53      at java.net.Socket.connect(Socket.java:457)
    05/10/09 12:27:53      at java.net.Socket.<init>(Socket.java:365)
    05/10/09 12:27:53      at java.net.Socket.<init>(Socket.java:207)
    05/10/09 12:27:53      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:98)
    05/10/09 12:27:53      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postInitApplicationServer(Oc4jNotifier.java:55)
    05/10/09 12:27:53      at com.evermind.server.ApplicationServer.serverExtensionPostInit(ApplicationServer.java:1041)
    05/10/09 12:27:53      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:927)
    05/10/09 12:27:53      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:98)
    05/10/09 12:27:53      at java.lang.Thread.run(Thread.java:595)
    05/10/09 12:27:53 Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview initialized

    Guvang, thank you for the response. But it did not work.
    Here is my original data-source:
    <?xml version="1.0" standalone='yes'?>
    <data-sources
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/data-sources-10_1.xsd"
    schema-major-version="10"
    schema-minor-version="1"
    >
    <!--
    This is the old example...It will soon be removed from this file.
    An example/default DataSource that uses Oracle JDBC-driver to
    create the connections. This tag creates all the needed kinds
    of data-sources, transactional, pooled and EJB-aware sources.
    The source generally used in application code is the "EJB" one -
    it provides transactional safety and connection pooling. Oracle
    thin driver could be used as well, like below.
    url="jdbc:oracle:thin:@host:port:sid"
    <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="OracleDS"
    location="jdbc/OracleCoreDS"
    xa-location="jdbc/xa/OracleXADS"
    ejb-location="jdbc/OracleDS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="scott"
    password="->pwForScott"
    url="jdbc:oracle:thin:@localhost:1521:oracle"
    inactivity-timeout="30"
    />
    -->
    <connection-pool name="Example Connection Pool">
    <!-- This is an example of a connection factory that emulates XA behavior. -->
    <connection-factory factory-class="oracle.jdbc.pool.OracleDataSource"
    user="scott"
    password="tiger"
    url="jdbc:oracle:thin:@//localhost:1521/oracle.regress.rdbms.dev.us.oracle.com">
    </connection-factory>
    </connection-pool>
    <managed-data-source name="OracleDS"
    connection-pool-name="Example Connection Pool"
    jndi-name="jdbc/OracleDS"/>
    <!-- The following is an example of data source whose connection factory
    that does not emulate XA behavior. It includes an xa-recovery-config
    that can be specified in order to override the runtime password-credential
    in the case where a recover scan is necessary
    -->
    <!--
    <managed-data-source name='NonEmulatedDS'
    connection-pool-name='NonEmulated Connection Pool'
    jndi-name='jdbc/NonEmulatedDS'/>
    <connection-pool name='NonEmulated Connection Pool'>
    <connection-factory factory-class='oracle.jdbc.xa.client.OracleXADataSource'
    user='scott'
    password='tiger'
    url="jdbc:oracle:thin:@//localhost:1521/oracle.regress.rdbms.dev.us.oracle.com">
    <xa-recovery-config>
    <password-credential>
    <username>system</username>
    <password>manager</password>
    </password-credential>
    </xa-recovery-config>
    </connection-factory>
    </connection-pool>
    -->
    <!-- The following is an example of the connection pool attributes in use. -->
    <!--
    <connection-pool name='NonEmulated Connection Pool'
    min-connections='0'
    max-connections='0'
    initial-limit='0'
    used-connection-wait-timeout='60'
    inactivity-timeout='60'
    login-timeout='0'
    connection-retry-interval='1'
    max-connect-attempts='3'
    validate-connection='false'
    num-cached-statements='0'
    time-to-live-timeout='-1'
    abandoned-connection-timeout='-1'
    property-check-interval='900'
    lower-threshold-limit='20'>
    <connection-factory factory-class='oracle.jdbc.xa.client.OracleDataSource'
    user='scott'
    password='tiger'
    url="jdbc:oracle:thin:@//localhost:1521/oracle.regress.rdbms.dev.us.oracle.com">
    </connection-factory>
    </connection-pool>
    -->
    <!-- An example of using password indirection.
    <managed-data-source name='PasswordIndirection'
    connection-pool-name='NonEmulated Connection Pool'
    jndi-name='jdbc/PasswordIndirection'
    user='scott'
    password='->scott'/>
    -->
    </data-sources>
    Here is modified data-source:
    <?xml version="1.0" standalone='yes'?>
    <data-sources
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/data-sources-10_1.xsd"
    schema-major-version="10"
    schema-minor-version="1"
    >
    <connection-pool name="ExampleConnectionPool">
    <connection-factory factory-class="oracle.jdbc.pool.OracleDataSource"
    user="scott"
    password="tiger"
    url="jdbc:oracle:thin:@//localhost:1521/oracle">
    </connection-factory>
    </connection-pool>
    <managed-data-source name="OracleDS"
    connection-pool-name="ExampleConnectionPool"
    jndi-name="jdbc/OracleDS"/>
    </data-sources>
    Please advise. Thank you.

  • GC freeze when collecting old generation

    h1. GC is freezing from time to time
    h2. The application
    JBoss 4.x with (approx 2000 threads) with ORACLE 10g(/RAC). The load is varying during the day,
    but typically there is a high load for several hours (8h-12h), after that the system
    is basically idle. The entire application is just plain java (no additional native dll's).
    h2. The Problem -> GC Freeze
    The application server is rebooted once every week. Collecting the old generation takes typically less than 2 secs. However,
    sometimes (after days) we experience extensive GC times when collecting the old generation:
    Typically the major portion of the delay is found in the following phases:
    *[summary phase, 8.9943085 secs]*
    *[post compact, 29.4723376 secs]*
    Total time for which application threads were stopped:  43.3590538 seconds
    h2. JVM (java –version)
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
    Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
    h2. The hardware/OS
    OS: Microsoft Windows XP Service Pack 2 (build 3790) (64bit)
    CPU: Intel(R) Xeon(R) CPU 8X E5530 @ 2.40GHz (Hyper Threading Enabled), RAM: 4078 Mb total
    h2. GC Settings
    -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
    -server -Xmx1580m -Xms1580m -Xmn800m
    -Xss128k-XX:ThreadStackSize=128
    -XX:+UseParallelGC
    -XX:ParallelGCThreads=7
    -XX:+UseParallelOldGC
    -XX:-UseAdaptiveSizePolicy -XX:+ExplicitGCInvokesConcurrent
    -XX:MaxGCPauseMillis=50 -XX:SurvivorRatio=6 -XX:MaxTenuringThreshold=30
    -XX:PermSize=96m -XX:MaxPermSize=96m
    -XX:+PrintParallelOldGCPhaseTimes -XX:+PrintHeapAtGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCApplicationStoppedTim
    h4. 1. Can someone shed some light on the summary and post compact phase? Which steps are taken by the JVM here?
    What might take so long?
    h4. 2. I observed, that the JVM memory footprint (perfmon/private bytes of the JVM) is temporally increasing and the total memory usage
    goes from 2.2 up to 3.0 GB. This additional memory is allocated on the C++ heap! For what? Why does a JVM temporally allocate
    so much memory on the C++ heap (the application is just plain java).
    h4. 3. Can the root cause for the intensive “post compacting” times be fragmentation of the java heap.
    The documenation indicates that fragmentation of the old generation is possible:
    "Each garbage collection thread reserves a part of the tenured generation for promotions and
    the division of the available space into these "promotion buffers" can cause a
    fragmentation effect."
    Is there a simple way monitor/log the fragementation of the java heap?
    h4. 4. Is there a known Bug bug in java version "1.6.0_24" that can cause this freeze?
    Thanks for any help!*
    ---- GC snippet
    2012-01-31T07:39:32.350-0500: 329853.039: [GC [PSYoungGen: 716798K->102393K(716800K)] 1475117K->879812K(1515520K), 0.0614928 secs] [Times: user=0.44 sys=0.00, real=0.06 secs]
    Heap after GC invocations=28726 (full 187):
    PSYoungGen total 716800K, used 102393K [0xb6bf0000, 0xe8bf0000, 0xe8bf0000)
    eden space 614400K, 0% used [0xb6bf0000,0xb6bf0000,0xdc3f0000)
    from space 102400K, 99% used [0xe27f0000,0xe8bee458,0xe8bf0000)
    to space 102400K, 0% used [0xdc3f0000,0xdc3f0000,0xe27f0000)
    ParOldGen total 798720K, used 777419K [0x85ff0000, 0xb6bf0000, 0xb6bf0000)
    object space 798720K, 97% used [0x85ff0000,0xb5722cc8,0xb6bf0000)
    PSPermGen total 98304K, used 77426K [0x7fff0000, 0x85ff0000, 0x85ff0000)
    object space 98304K, 78% used [0x7fff0000,0x84b8cbc8,0x85ff0000)
    Total time for which application threads were stopped: 0.0668004 seconds
    {Heap before GC invocations=28727 (full 187):
    PSYoungGen      total 716800K, used 716793K [0xb6bf0000, 0xe8bf0000, 0xe8bf0000)
      eden space 614400K, 100% used [0xb6bf0000,0xdc3f0000,0xdc3f0000)
      from space 102400K, 99% used [0xe27f0000,0xe8bee458,0xe8bf0000)
      to   space 102400K, 0% used [0xdc3f0000,0xdc3f0000,0xe27f0000)
    ParOldGen       total 798720K, used 777419K [0x85ff0000, 0xb6bf0000, 0xb6bf0000)
      object space 798720K, 97% used [0x85ff0000,0xb5722cc8,0xb6bf0000)
    PSPermGen       total 98304K, used 77426K [0x7fff0000, 0x85ff0000, 0x85ff0000)
      object space 98304K, 78% used [0x7fff0000,0x84b8cbc8,0x85ff0000)
    h2. *2012-01-31T07:39:37.740-0500: 329858.432: [GC-- [PSYoungGen: 716793K->716793K(716800K)] 1494212K->1515510K(1515520K), 3.9532929 secs] [Times: user=0.72 sys=0.03, real=3.95 secs]*
    Heap after GC invocations=28727 (full 187):
    PSYoungGen total 716800K, used 716793K [0xb6bf0000, 0xe8bf0000, 0xe8bf0000)
    eden space 614400K, 100% used [0xb6bf0000,0xdc3f0000,0xdc3f0000)
    from space 102400K, 99% used [0xe27f0000,0xe8bee458,0xe8bf0000)
    to space 102400K, 99% used [0xdc3f0000,0xe27efee0,0xe27f0000)
    ParOldGen total 798720K, used 798717K [0x85ff0000, 0xb6bf0000, 0xb6bf0000)
    object space 798720K, 99% used [0x85ff0000,0xb6bef670,0xb6bf0000)
    PSPermGen total 98304K, used 77426K [0x7fff0000, 0x85ff0000, 0x85ff0000)
    object space 98304K, 78% used [0x7fff0000,0x84b8cbc8,0x85ff0000)
    329862.386: [pre compact{Heap before GC invocations=28728 (full 188):
    PSYoungGen      total 716800K, used 716793K [0xb6bf0000, 0xe8bf0000, 0xe8bf0000)
      eden space 614400K, 100% used [0xb6bf0000,0xdc3f0000,0xdc3f0000)
      from space 102400K, 99% used [0xe27f0000,0xe8bee458,0xe8bf0000)
      to   space 102400K, 99% used [0xdc3f0000,0xe27efee0,0xe27f0000)
    ParOldGen       total 798720K, used 798717K [0x85ff0000, 0xb6bf0000, 0xb6bf0000)
      object space 798720K, 99% used [0x85ff0000,0xb6bef670,0xb6bf0000)
    PSPermGen       total 98304K, used 77426K [0x7fff0000, 0x85ff0000, 0x85ff0000)
      object space 98304K, 78% used [0x7fff0000,0x84b8cbc8,0x85ff0000)
    , 0.0003397 secs]
    h2. *2012-01-31T07:39:41.694-0500: 329862.386: [Full GC329862.388: [marking phase329862.388: [par mark, 0.5320380 secs]*
    329862.921: [reference processing, 0.0051108 secs]
    329862.926: [class unloading, 0.0369949 secs]
    , 0.5742662 secs]
    *329862.963: [summary phase, 8.9943085 secs]*
    329871.957: [adjust roots, 0.0357495 secs]
    329871.993: [compact perm gen, 0.0782944 secs]
    329872.071: [compaction phase329872.071: [drain task setup, 0.0006238 secs]
    329872.072: [dense prefix task setup, 0.0000046 secs]
    329872.072: [steal task setup, 0.0000005 secs]
    329872.072: [par compact, 0.2223263 secs]
    329872.295: [deferred updates, 0.0189229 secs]
    , 0.2421987 secs]
    *329872.313: [post compact, 29.4723376 secs]*
    h2. [PSYoungGen: 716793K->0K(716800K)] [ParOldGen: 798717K->335346K(798720K)] 1515510K->335346K(1515520K) [PSPermGen: 77426K->77422K(98304K)], 39.3998183 secs] [Times: user=3.53 sys=0.16, real=39.39 secs]
    Heap after GC invocations=28728 (full 188):
    PSYoungGen total 716800K, used 0K [0xb6bf0000, 0xe8bf0000, 0xe8bf0000)
    eden space 614400K, 0% used [0xb6bf0000,0xb6bf0000,0xdc3f0000)
    from space 102400K, 0% used [0xe27f0000,0xe27f0000,0xe8bf0000)
    to space 102400K, 0% used [0xdc3f0000,0xdc3f0000,0xe27f0000)
    ParOldGen total 798720K, used 335346K [0x85ff0000, 0xb6bf0000, 0xb6bf0000)
    object space 798720K, 41% used [0x85ff0000,0x9a76c838,0xb6bf0000)
    PSPermGen total 98304K, used 77422K [0x7fff0000, 0x85ff0000, 0x85ff0000)
    object space 98304K, 78% used [0x7fff0000,0x84b8ba08,0x85ff0000)
    h2. Total time for which application threads were stopped: 43.3590538 seconds
    Total time for which application threads were stopped: 0.0180008 seconds

    Intensive GC times when collecting the old generation with parallelOldGC. Locking.

  • App Server Freeze - All threads waiting for replication data

              We are running Weblogic 6.1 SP2, on solaris 8 with jdk1.3 When running load at our
              application - full GC is taking between 15 -20 seconds. At a certain point after
              a full GC on one of the servers in the cluster we see session replication errors
              in the logs. The application eventually freezes - the execute queue is huge on each
              of the JVMS and when we do a thread dump we see that all threads are waiting for
              replication data. All threads have the same stack trace as follows:
              "ExecuteThread: '1' for queue: 'default'" daemon prio=5 tid=0x2c58b0 nid=0xe waiting
              on monitor [0xbf980000..0xbf9819d8]
                   at java.lang.Object.wait(Native Method)
                   at weblogic.rjvm.ResponseImpl.waitForData(ResponseImpl.java:72)
                   at weblogic.rjvm.ResponseImpl.getTxContext(ResponseImpl.java:97)
                   at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:80)
                   at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:135)
                   at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
                   at $Proxy74.lookupROIDS(Unknown Source)
                   at weblogic.servlet.internal.HttpServer.lookupROIDS(HttpServer.java:761)
                   at weblogic.servlet.internal.session.ReplicatedSessionContext.getSessionInternal(ReplicatedSessionContext.java:225)
                   at weblogic.servlet.internal.ServletRequestImpl.getValidSession(ServletRequestImpl.java:2130)
                   at weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.java:1921)
                   at weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(ServletSecurityManager.java:107)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2467)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

              Yes this is reproducable. We are now working with BEA Support under Case : 321199.
              Thanks
              Anna
              Kumar Allamraju <[email protected]> wrote:
              >You should work with [email protected]
              >Can this problem be reproduced with an isolated test case?
              >If yes, it will be really helpful for them to work with Engg.
              >
              >--
              >Kumar
              >
              >anna bancroft wrote:
              >
              >> We are running Weblogic 6.1 SP2, on solaris 8 with jdk1.3 When running
              >load at our
              >> application - full GC is taking between 15 -20 seconds. At a certain
              >point after
              >> a full GC on one of the servers in the cluster we see session replication
              >errors
              >> in the logs. The application eventually freezes - the execute queue is
              >huge on each
              >> of the JVMS and when we do a thread dump we see that all threads are waiting
              >for
              >> replication data. All threads have the same stack trace as follows:
              >> "ExecuteThread: '1' for queue: 'default'" daemon prio=5 tid=0x2c58b0 nid=0xe
              >waiting
              >> on monitor [0xbf980000..0xbf9819d8]
              >>      at java.lang.Object.wait(Native Method)
              >>      at weblogic.rjvm.ResponseImpl.waitForData(ResponseImpl.java:72)
              >>      at weblogic.rjvm.ResponseImpl.getTxContext(ResponseImpl.java:97)
              >>      at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:80)
              >>      at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:135)
              >>      at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
              >>      at $Proxy74.lookupROIDS(Unknown Source)
              >>      at weblogic.servlet.internal.HttpServer.lookupROIDS(HttpServer.java:761)
              >>      at weblogic.servlet.internal.session.ReplicatedSessionContext.getSessionInternal(ReplicatedSessionContext.java:225)
              >>      at weblogic.servlet.internal.ServletRequestImpl.getValidSession(ServletRequestImpl.java:2130)
              >>      at weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.java:1921)
              >>      at weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(ServletSecurityManager.java:107)
              >>      at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2467)
              >>      at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
              >>      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              >>      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >>
              >>
              >
              

  • Install of 8.6 or 9.0 freezes

    Tried searching for a bit, but I didn't see anything in this forum that helped. If I missed something, I apologize--please point me in the right direction!
    Got out the old beige G3 to play around with the other day. I decided I wanted to attempt to install OSX on it since I've got a zif 1Ghz upgrade sitting around and some extra hard drives.
    My tale begins with a fairly stock G3. The original (I'm guessing) 6GB hard drive is an Apple OEM drive, but it has passed on. It had OS 9 on it and was running fine. Since the drive died, I decided to start with a new hard drive and 8.6 since the tower (by the way, it's a Rev. A) came with 8, right? I figured, perhaps wrongly, that the best path to OSX would be by running all the proper updates through OS 9. Sounds like 10.2 is fairly stable for the G3 tower without lots of tweaking, so that's what I was shooting for.
    Well, here's what I did to prepare the drive and computer:
    Pull extra RAM
    Pull personality card (only card installed)
    Replace PRAM battery
    Set drive and CD-ROM to master
    Boot to open firmware (set-defaults, reset-all)
    Reset with p-r-opt-cmd dance
    Then I booted to the 8.6 install disk. I ran disk setup and initialized the 80GB ATA drive (WD Caviar) with two partitions (7GB and 73GB roughly) since I was planning on working my way up to OSX and have read about the 8GB partition limitation. Just in case I installed the drivers for the disk with drive setup after I initialized it.
    Restart, boot to 8.6 install disk. Run the installer, selecting the ~7GB partition. It freezes with four minutes left. That's not good!
    I had three RAM modules, so I started from scratch and ran the whole procedure from top to bottom with each module. Same thing.
    Tried the OS 9 install disk. At this point, I was a little frustrated. Maybe my install disk was messed up. Nope. OS 9 install freezes with seven minutes left every time.
    Is it possible that all three RAM modules are corrupt? This computer has been sitting for quite some time. The PRAM battery was toast, hence the replacement. Oh, and by the way, the only things hooked up are the CD-ROM and hard drive. No ZIP or floppy attached during the installation attempts.
    Am I missing something super obvious?
    Thanks for taking the time to read this poor tale. I look forward to being enlightened.
    b

    Jon - My goal now is to get this machine back to where it was in the not so distant past. I'd prefer not to start pouring money into it if I'm not sure that it will work. I'll keep that in mind if I do find a solution to my problem, or if I can fairly definitively narrow my problem down to the motherboard.
    BDAqua - Thanks. I knew the reset-nvram didn't work on this firmware, and I--probably mistakenly--assumed that doing the p-r-opt-cmd dance took care of that reset. I'll try that in about an hour.
    While I'm sitting around, I decided to test one more variable--the CD-ROM drive. Booted to the OS9 disk and initialized my 80GB disk. Then I used Disk Copy to copy the CD to a later partition. I'll install 8.6 until it freezes. Believe it or not, it'll show the flashing disk with question mark, and eventually boot 8.6. This is not so with OS9. If I let that install until it freezes, it won't boot at all. So I'll try to boot up 8.6 with another hard drive attached, and attempt to run the OS9 installer to install on the other hard drive. At this point I'm grasping at straws. I'm not even sure the installer will run if it's not on a CD.
    So I'll try the reset after this (probably fails).
    thanks!
    b

  • MSI VN220GT MD1G|GeForce 220 GT - causing lock ups/screen freezes

    Hi, I've been searching everywhere for my problem, and the things I find usually are left unanswered :(
    I recently upgraded my old graphics card (GeForce 7300 GT) to the GeForce 220 GT, at that time I was using Windows XP SP3. Everything went fine then, I downloaded the newest driver from nVidia (195.62) and restarted, everything went smoothly.
    It was then my computer started to freeze, to the point where I can't do anything (mouse/keyboard unresponsive). I am forced to force reboot. This freezing usually happens randomly when there's nothing to provoke the problem.
    So I decided to upgrade to the new Windows 7. I did everything it told me to and everything went very well. But the problem still occurs, but more often, and around 30 minutes after logging in. I got the Windows 7 32 bit version of the new nVidia driver (195.62) and installed it. Did nothing. I have also tried to update windows which also did nothing.
    These forum threads ask the same question I am now asking:
    http://forums.nvidia.com/index.php?showtopic=109833
    http://vip.asus.com/forum/view.aspx?SLanguage=en-us&id=20091113065624625&board_id=14&model=CG5270&page=2&count=17
    I am currently posting this in safe mode, very frustrated too. Help would be greatly appreciated, I have no where else to find answers :S

    Quote from: ZSDE on 14-January-10, 23:31:55
    I did some more research on the net and it seems this PSU is labelled under many different names. I found a Portuguese site that did the test for this unit and then used the google translator tool.
    refer to http://www.clubedohardware.com.br/artigos/1818/1
    Some translated extracts:
    The Coletek is a national brand aimed at the OEM market, or its source is aimed at companies that assemble PCs They have a separate brand for products geared to the retail market, the C3Tech. Today we test the model LC-8460BTX S (which, despite its name, is an ATX and not a BTX) that is sold as a source of 450 W. Really?.....
    ....Speaking of curiosity, in Figure 7 you can see the marking of the type of fuse in the circuit board of the source. All sources bring this information. But the curious thing here is that the marking indicates that for a source from 150 to 200 W a 5 A fuse should be used and to a source from 230 to 300 W from a 6.3 A fuse should be used. As this power supply uses a fuse of 6.3 A, we have a source between 230 and 300 W, according to their own existing markup on the printed circuit board thereof. As the manufacturer can turn that into 450 W on the label of the source is a magic that Mr. M can not explain.....
    ....The Coletek LC-S 8460BTX burned when trying to draw about 225 W (which would be our test number seven). So the most you can pull it was about 190 W (which would be our test of 200 W). More information and video on the next page.
    So I recommend that you perhaps translate the whole article to get the full results. In your case, I believe the PSU should be the first place where you should try something a bit more realistic before you do anything else.
    Quote from: Henry on 15-January-10, 08:09:28
    For a system with a 220 installed PSU with +12V~30A minimum is recommended. My recommendation is to get nothing less than a quality PSU such as a Corsair VX450W +12V~33A. That junk PSU is typical of the worthless ones that are often provided by case manufacturers and examples of similar units that can be purchased for as little as $10 (USD) on eBay.
    Thank-you so much guys, you've most likely have just diagnosed and gave me a solution for my problem
    At first I never knew all PSU's were different, and that my new graphics card could handle whatever I had in my system at the moment.
    I don't think I will bother checking my PSU if my current PSU is a Okia or a Xion, I may as well upgrade the thing anyway
    Just some things I need cleared up though:
    Firstly, is it the Corsair VX450W that I would want to buy and install to run my card? Is it affordable?
    And secondly, are PSU's hard to install/upgrade? Where can I find a guide/tutorial for this kind of thing?

  • Lock-ups/freezes - Nvidia GeForce 8600M GT

    Hi all, I have been the owner of a MacBook Pro since August or so. My problem is that when working with my MacBook Pro, occasionally the display freezes up. Sometimes it recovers, sometimes the machine refuse to recover. If I listen to iTunes, I hear the music playing on in the background, which indicates that this is an issue with the graphics chip, and not the computer in general.
    I have searched the Internet, and it seems I am not the only one who has issues with the Nvidia GeForce 8600M GT. According to slashdot.org, Apple acknowledges that this may be an issue (http://apple.slashdot.org/apple/08/10/11/1518246.shtml).
    Have anyone else experienced these kinds of issues, and if you did, how did you solve them?

    Hello! I am feeling a little more secure now that there have been quite a few posts about the poor preformance of the nVidia cards in the SR Macbook Pros, its comforting to know this isn't an isolated issue. I've gone as far as contacting Apple to let them know of the poor preformance. They've were, as usual, very nice and as helpful as they are allowed to be. Currently, I have a replacment on the way apparently, my original was deemd DOA I believe. However, it seems at the time all we can do is report our issues to Apple. My main concern is the legnth of time these machines have been out, and the amount of units sold to unknowing customers who are being sold on what Apple is marketing as a strong feature of the machines: the graphics card. When in reality, the card is extraordinary, the preformance in OSX is extremely poor. It is up to us as consumers to let Apple know how aggrivated we are.
    Please, take the time and send your responses and feelings to Apple. You can do that here:
    http://www.apple.com/feedback/macbookpro.html

  • Lock-Ups and Freezes PLEASE HELP

    Hello everyone..
    I come here to see if anyone can help me... Ive done it all and nothing is working.
    I just recently started having problems with my computer, im not sure why this happend but ill try to explain everything as best as I can.
    The problem started a few days ago while I was playing SWG's. I was playing and all of a sudden my machine froze, the screen locked-up and then after about 2 min the entire system restarted. I then logged back into my windows and after a while a system froze and restarted yet again. I though it was a SWGs issue but then the computer would freeze while browsing the net and doing other tasks.
    I have formated my machine, re-installed my drivers, and re-installed the hardward. Nothing has worked.
    My computer specs are
    300watt PSU Enermax True Power
    MSI K7n2 nforce2 8xagp mobo
    athon 1700xp
    512mb of Kingmax DDR 2700
    SB audigy x-gamer sound card
    MSI geforce4 ti 4200 8xAGP graphics card
    Hope thats enough..
    One last thing... When my computer restarts after the problem i get a message asking me to report the problem to microsoft... i located the error file and this is what was writen in it....
    // Watchdog Event Log File
    LogType: Watchdog
    Created: 2003-07-19 01:30:24
    TimeZone: 300 - Eastern Standard Time
    WindowsVersion: XP
    EventType: 0xEA - Thread Stuck in Device Driver
    // The driver for the display device got stuck in an infinite loop. This
    // usually indicates a problem with the device itself or with the device
    // driver programming the hardware incorrectly. Please check with your
    // display device vendor for any driver updates.
    ShutdownCount: 5
    Shutdown: 0
    EventCount: 5
    BreakCount: 5
    BugcheckTriggered: 1
    DebuggerNotPresent: 1
    DriverName: nv4_disp
    EventFlag: 1
    DeviceClass: Display
    DeviceDescription: MSI MS-StarForce GeForce4 Ti 4200 with 8X (NVIDIA GeForce4 Ti 4200 with AGP8X)
    HardwareID: PCI\VEN_10DE&DEV_0281&SUBSYS_89431462&REV_A1
    Manufacturer: NVIDIA
    DriverFixedFileInfo: FEEF04BD 00010000 0006000D 000A0C1C 0006000D 000A0C1C 0000003F 00000008 00040004 00000003 00000004 00000000 00000000
    DriverCompanyName: NVIDIA Corporation
    DriverFileDescription: NVIDIA Compatible Windows 2000 Display driver, Version 31.00
    DriverFileVersion: 6.13.10.3100
    DriverInternalName: nv_disp.dll
    DriverLegalCopyright: (c) NVIDIA Corporation. All rights reserved.
    DriverOriginalFilename: nv_disp.dll
    DriverProductName: NVIDIA Compatible Windows 2000 Display driver, Version 31.00
    DriverProductVersion: 6.13.10.3100
    Hope this helps, i dont understand what it means so maybe one of you might...
    Please help me on this... Ive tried everything i can...
    Thanks in advance

    If what you are saying, and I am reading correctly:
    The machine and game was working just peachy and all of a sudden the problem manifested itself?
    Did you do ANYTHING to change your system prior to this happening to possibly have an effect?
    the fast that you said you have re-loaded the OS and removed and re-installed the hardware with the same result tells me that there may be some sort of hardware failure and this could get difficult to troubleshoot.
    First things first, try a memory testing software like memtest86 to see if you get any errors.
    http://www.memtest86.com/

  • Pavilion Elite e9180f freezes, crashes, BSOD

    I am one of the many unhappy customers who bought this piece of junk (Pavilion Elite e9180f) and waited too long to return it because in my naivete, I thought it was some kind of simple software issue.  Nope!  It's definitely something wrong with the hardware, because the freezes and crashes have been happening since day 1, right when I took the thing out of the box.
    Yeah, the system is fast and runs Windows Vista great, when it's actually WORKING, which is usually only guaranteed for about the first 5 minutes after you power the system on and boot windows.  After that, it's just buying time before it crashes again.  Forget trying to get anything done on this computer.  Forget about asking this PC to play a video or music file without the files "stuttering" during playback.  Even my 7 year old Sony Vaio which is running XP can handle playing an MP3 file without stuttering and crashing!
    Like everyone else, the freezes and crashes happen either one of two ways:
    1) The machine begins to "stutter", stutter more, then freeze/crash.  When I say stutter, I mean I move the mouse, the pointer graphic will hesitate on the screen and lag behind.  If you start to play a video or music file, this manifests in an audible "stutter".  The stuttering gets worse and worse as minutes pass until eventually it freezes for good, blasting that 1/50th second moment of audio into infinity.  You have to reboot immediately if you don't want to go deaf or be driven mad.
    2)  I will be doing nothing at the time (example, I close all programs out and leave Windows sitting on the main desktop screen), I'll walk out of the room for a minute, then come back and find I can't move the mouse. This system will often lock-up without any warning!
    Sometimes I'll get a BSOD or error screen, sometimes I won't (in which case your only option is to do a cold re-boot.)  When I do get the BSOD, the error is ALWAYS the "did not get a response from the secondary processor" yada yada.  I wish HP would just admit they shipped this model out with a bad processor/motherboard/whatever and do an official recall.  I have owned PCs for the last 13 years and this is the worst and most consistently disappointing experience I have ever had.
    What is the hardware issue?  Which part is the lemon part?  The motherboard?  The processor?  The BSODs seem to indicate a bad processor.  I do have the Pegatron Truckee version 1.03 motherboard.  Is that the problem?
    P.S.  I have contacted HP on many occasions about this, literally stayed on the phone for hours with "customer support" (according to one HP rep, 80% of their customer service reps are based outside of the United States...good luck getting any "technical" help from them) to no avail.  I did talk to one nice tech support guy in Canada who said "it sounds like your unit has a bad processor", so he had HP send me a box to ship my unit to their repair center so they can replace the processor.  However, I have also had HP reps tell me it could be anything from the memory to the hard drive.  Multiple HP reps claimed to me that they have "received no complaints" about this system.  One guy told me he "thought he got an email last week" regarding "something" about the system, but couldn't remember what it was and he put me on hold while he searched for the email.  He never found it.  What a joke.
    EDIT:  Just to clarify, the crashing issue has been happening since day one, but initially I thought it was an issue with Vista.  I had never owned or used Vista before, so I thought maybe Vista was just unstable.  Nope.  I know several people who own Vista and have never experienced these issues.  I have downloaded every update from Microsoft/Windows Update.  I have upgraded to Vista SP2 with all the latest drivers and software for all of my hardware.  No luck.  It is definitely a hardware issue.  Thank god HP's warranty is good for 1 year (I bought my Elite in July).
    Message Edited by Doonyman on 09-24-2009 02:58 AM

    Unfortunately I have to add my disastrous encounter with HP's E9180F a true lemon HP is selling. I must take some responsibility for not carefully researching this model before I purchased, but I trusted the HP name and got stung- big time.
    The scoundrel  :
    HP and its Pavilion Elite e9180f
    Windows 7 64bit
    motherboard - Pegatron  Truckee ver 1.03
    BIOS ver  5.22Intel Core i7 920 @ 2.67GHz
    Memory 9206 MB Ram   
    As so many others have reported my HP E9180f started locking up and going to BSOD right out of the box. My first freeze-up came when I was doing the Windows update process. At first I didn't think much about it but I started getting random freezes a couple time a day. At that point I went online to see if others had experienced the same problem and perhaps had a fix. What I found was very troubling;  I found extensive documentation describing my exact problems and what was really horrifying was the reports of how ridiculous HP's help services were treating people with the problem. At first I didn't totally believe what I was reading on HP's own customer forum; I do now.
    ·         I've went through the total recovery process three times now, HP techs have spent hours remotely running my computer, (yes it did lock up on them to)
    ·         I had to upgraded the BIOS. (HP tech tried, said he had, but he hadn't)
    ·         I was directed to clear the BIOS (luckily for me I had the tools
    ·         Updated all drivers again and again.
    ·         Next I was asked to remove the video card, memory, and motherboard power cable and reseat them. I declined because I didn't want to give HP any reason to void my HP 2 year House Call Care Pack which covers this unit. When I invited HP to send a service tech out to perform these tasks, they said that house call only covers part replacement, we weren't replacing a part. I couldn't believe what I was told. Are you feeling my frustration?  
    Keep in mind that each time HP requests that I make changes, they then ask me to test the system, which I did and each time with the same result, BSOD
    I'm heading into my fifth week of working with HP to fix this problem. and I still haven't even been able to get my case moved up to a senior case manager, what a joke HP's help process is.
     One conversation I loved was;
    HP tech: "I'll have a senior case manager call you within 24 hours."
    Skeptical me: "What should I do if I don't get a call?"
    Silence, no response.
    Me again: "What should I do if I don't get a call?"
    HP tech: "That's an impossibility."
    Guess what? The impossibility became reality (I bet you guessed) .
    HP's last stall tactic was to have me fax them my proof of purchase and invoice and call back in 24 hours. Where have I heard that before? Apparently nothing can go forward until they receive it. So I faxed them the stuff within 10 minutes, and when I called back 24 hours later, guess what, you're right it wasn't on their system yet. I asked couldn't I be escalated to a senior case manager  (it's apparent that only a senior case manager can do anything). "No," was the tech's reply, "call back again later".
    Please if anyone out there knows the secrete to getting a senior case manager, or an HP tech support number here in the U.S. so I can get this thing fixed I'd love to know it.
    Fast becoming HP never again.      

  • Mid 2009 13.3" Macbook Pro random freezing issue

    Hi all,
    I had a 2009 13.3" Unibody Macbook and last week purchased a 13.3" Macbook Pro. I had installed 4GB of RAM in the MB myself, and it had worked fine for the month I owned it.
    I backed up my MB with an external USB hard drive using Time machine, restored from this backup on my MBP and moved the 4GB RAM over.
    When using the MBP I get random freezes lasting between 1 and 3 seconds, occuring every 5 to 30 minutes.
    Could someone please advise a good way to diagnose this problem further? I am guessing it is not the RAM as it worked fine whilst in the MB.

    I have an update!
    I made an appointment with a local Apple Genius Bar and talked to a technian. He said it was neither the RAM nor the Hard Drive at fault.
    His only thoughts were that a software issue was the root cause. I have been doing some serious investigating this morning and figured it out. Viewing system.log in Console shows:
    SMS::infiniteIntTimerEventHandler ERROR: we have infinite interrupts, disabling
    At exactly 5 minute intervals. These correlate with the freezes (to the second).
    SMS refers to the Apple Sudden Motion Sensor. I disabled this by doing "sudo pmset -a sms 0" in Terminal, rebooted and everything is fine.
    I have no idea why the SMS thinks the Macbook is falling every 5 minutes, but when it occures the hard drive heads are locked down to prevent damage, which is a perfect reason as to why iTunes would crash but Spotify (streaming internet music) does not.
    Problem solved!
    Edit:
    In reply to some questions posted by other members (thank you by the way).
    I did install EFI 1.7 update. I did not use the Migration assistance. At some point I will do a fresh install then pick and choose parts from a backup rather than using a full Time Machine Restore. This could still have been the root cause of the issue, but it is hard to tell.
    Thanks guys!
    Message was edited by: mynamestom

  • Mid-2009 MBP Has Been Hard Freezing, I think it may be the SSD or software?

    Please read this fully so you don't end up suggesting something I've already tried.
    I have the Mid-2009 version of the 13" MBP that I received in December 2009. Almost two years ago, I upgraded it to8 GB of RAM and a 256 GB SSD. Everything has been running smoothly until about 2 or so weeks ago. My computer has been having hard freezes, meaning, it's not simply an application freezing up; force quit doesn't work, the clock stops ticking, the whole system freezes. It was very predictable too. Whether i was watching youtube videos with flash, reading online articles without it (I have ad block) or doing something completely non-flash or web related, my computer would hard freeze after about an hour or two or so of use, requiring a hard reset (holding the power button until it turned off and then restarting).
    I did some research on this and from what I initially found I thought it was problems with the motherboard. However, I found that to be odd because my motherboard was replaced by Apple in September 2012. I read somewhere to try a system hardware diagnostic test (press D upon start up). On the short hardware test, the one that only takes a few minutes, it passed without any problems. Then I tried the longer hardware test, the one that says takes more than an hour. I put that one on and left it alone. I came back every so often and checked on it and it was fine at first. The mouse responded and the test was showing some measurable progress. However I came back, and at 2 hours 11 minutes and 59 seconds into the hardware test, it froze without completing it.
    Then I tried doing something everyone says to do when anything happens: I repaired disk permissions. I did that, and according to Disk utility everything went rather swimmingly. However, that didn't fix anything,in fact, it made things slightly worse. Ever since I reset disk permissions, everytime I open Safari, it freezes immediately, and that has only happened since I repaired disk permissions. My home page is about:blank, if anyone was wondering. I've only discovered this happening with Safari as of now. I switched Chrome as my primary web browser for now.
    Being the resourceful person I am, I tried to isolate the problem. My sister, luckily, has an identical MBP. First, using target disk on my computer, I booted my SSD onto her computer - this is to see if the problem was HDD/SSD related or motherboard related. When I booted my SSD onto her computer the same problems occurred: Safari froze upon start up, and then computer would hard freeze after about two hours. However, when I booted her HDD onto my computer via target disk, there were no problems. Safari opened just fine and I used her computer for several hours without issue.
    At this point, I was pretty sure it was the SSD, but I thought it was possibly a bad Sata cable or something. But nope. Last night, I switched harddrives completely. No target Disk. I put my SSD in her computer and put her HDD in my computer. I got the same results as target disk. It can't be the motherboard or memory, because both computers worked fine with my sisters harddrive. Only the computer booted off of the SSD would have these problems.
    At this point I think it could be two possibilities
    A) Either the SSD itself is starting to become defective
    B) Some software component of my SSD is buggy
    I think it could be something software related because why would Safari and safari only freeze after launch, but no other apps? Also something of note, these problems were happening, I tried to see if doing anything with software update would help, updated everything that needed to be updated, and these problems still occurred.
    What do you guys think? anyone have an idea of what it could be? Any suggestions of how I handle this? Applecare is expired. I'm considering doing a clean install but I'm not fully backed up yet and I don't want to waste my time and have it not work. But I also don't want to buy a new hard drive or SSD and have it do the same things. And I'm not getting a new computer if the only problem with it is contained within the storage unit, whether that problem is within the software or hardware related.
    Responses and suggestions would be highly appreciated, thanks.
    EDIT: this information may be of interest: currently have 19.51 GB of available space (out of 256 GB). At one point, about a month and a half or so ago, my storage was as low as 9 or so GB free.
    I am running OSX 10.6.8

    I have tried making a new user account like you suggested. It fixed the Safari problem; Safari opened and played video just fine. However, the computer still hard freezed after about 2 hours. I am about to back up my computer via time machine after this (hopefully it'll finish before it hard freezes again, I haven't backd up in more than a year). If that doesn't work, I guess I'll have to move folders individually onto an external. I will proceed after backup with a clean install as that is my only other option for now.  
    However, after a clean install, should I restore directly from time machine? I would think wiping the hard drive and replacing it with what's on time machine wouldn't solve the problem because the inherent corruption is being restored. However, what about just restoring my User folder? What would the process be for getting everything back to normal as quickly as possible? Do you know of any good ways to get my apps and other preferences back to normal ASAP without corrupting anything? Will I have to re-register anything? For example, I have Adobe CS4 that I received from my highschool IT department. I have since graduated, so I don't have the disc or any of the password codes. Would it be risky to restore the application support folder (because that's where the bug may lie)? Or if I just drag just drag apps, would that still work or is the application support necessary too?

Maybe you are looking for