Abnormal shutdown of JVM cause server unreachable

Hi all,
My application is based on client-server and work fine in normal condition.When my server module shutdown abnormally (cause system shutdown or JVM abnormal termination)so my all clients hangs up due to server unreachable.
I have a method for normal shutdown of my server module that cause all client module logout properly.And it work only when I shutdown my server module by given control (Like stop server button).If there is any event that fire at the time when JVM is shutdown by using it I will run my properly shutdown method.
Thanks in advance

When your sever is dead, there isn't anything there to run and all the connections are lost.
On the client side you will have to look for the disconnect, timeout, or some other exception so you know not to continue trying to connect to a dead server socket.

Similar Messages

  • Cannot log in to Mobile Manager after abnormal shutdown (issue & solution)

    After an abnormal shutdown of database, an attempt to log in to Mobile Manager as Administrator fails with the error "Please verify your username, password and try again!"
    I had a power outage in our office and our development server shut down abruptly as a result. When power was restored, the database, listener and GlassFish Server started up automatically (init.d and rc.d), but when I attempt to log in as Administrator using Mobile Manager, I get an error "Please verify your username, password and try again!". I did some research and after some trial and error, figured out that the services must be started in this order (this may not be guaranteed in automatic startup scripts?):
    1. Oracle Listener
    2. Oracle Database
    3. Oracle GlassFish Server with Domain
    If you are seeing this error, please try the following:
    1. Shutdown Glassfish domain
    ./asadmin stop-domain <domain>
    2. Shutdown Oracle database
    SQL> SHUTDOWN IMMEDIATE
    3. Shutdown Listener
    $ lsnrctl stop
    and restart in this order
    1. Oracle Listener
    lsnrctl start
    2. Oracle database
    SQL> STARTUP
    3. GlassFish domain
    ./asadmin start-domain <domain>
    This should work!
    My environment:
    Redhat Enterprise Linux 5.4 with JDK 1.6
    Oracle Database 11g Enterprise Edition 11.1.0.1.0
    Oracle GlassFish Server 3.1.2
    Oracle Database Mobile Server 11.1.0 for 64-bit Linux

    Hi mario,
    FYI
    This issue can occurs when the primary and secondary Cisco ISE nodes' database are out of sync. For out of sync issues, which most likely are due to time changes or NTP sync issues, you must correct the system time and perform a manual sync up through the UI.
    •For certificate expiry issues, you must install a valid certificate and perform a manual sync up through the UI.
    •For a node that has been down for more than six hours, you must restart the node, check for connectivity issues, and perform a manual sync up through the UI.
    For more information regarding this issue, please go through this link:
    http://www.cisco.com/c/en/us/td/docs/security/ise/1-2/troubleshooting_guide/ise_tsg.html#wp192802

  • Hyperion Planning application got abnormal shutdown

    Hi,
    Would need your help on the issue I recently hit in my environment.
    Product version: 9.3.1.1.00
    Product: Hyperion Planning
    Unix Platform: Sun Solaries 64bit
    Issue:-
    The application received the Abnormal Shutdown command then the application got shutdown and then not starting up by itself after that.
    Query:-
    Is there anyway to set it to be started automatically even after abnormal shutdown?
    Thanks.
    SuSin

    Hi Sandeep,
    The xcp files are in the application directory.
    I've raised SR in Metalink but the support request me to change the Essbase.cfg on the NETRETRY and NETRETRYCOUNT from 5000 and 3000 respectively to 1000 each and also the SERVERTHREAD from 200 change to 100.
    I've read from one of the reply in the forum saying that if the xcp files are in application directory then it does not really related to the Essbase.cfg unless it is from the server directory. So if in this case, should I still modify the config file?
    Hi John,
    Previously in Jan, it happended once where users are not able to retrieve the data from HyperionPlanning and also Workspace. So after that incident actually we did clear the data and reload the level-0 data. The system was OK (no more Abnormal Shutdown) for a while then came back with this issue again recently.
    Anything can be apply in order to clear this problem?
    Thanks.

  • RECEIVED ABNORMAL SHUTDOWN COMMAND - APPLICATION TERMINATING

    HI All,
    We have an Planning application and when the user is trying to perform some activity and ti involves in running some calculation Scripts.
    At point the application is going down and this is causing real mess.
    There is no .xcp file created in the app folder. We are unable to find the root cause of the issue.
    the following are the fixes we tried but gave us no result.
    We tried to increase the Java Heep size
    <variable id="ESS_CSS_JVM_OPTION8" value="-Xms512m"/>
    <variable id="ESS_CSS_JVM_OPTION9" value="-Xmx1024m"/>
    But the issue still exists.
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln///1127704896/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1127704896/Info(1020089)
    Ignoring span Hybrid Analysis option. Spanning into Hybrid Analysis Relational Source has been disabled. See the essbase.cfg file
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1127704896/Info(1020055)
    Spreadsheet Extractor Elapsed Time : [0.01] seconds
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1127704896/Info(1020082)
    Spreadsheet Extractor Big Block Allocs -- Dyn.Calc.Cache : [204] non-Dyn.Calc.Cache : [0]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln///1222445376/Info(1013210)
    User [hypadmin@Native Directory] set active on database [Wrkforce]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln///1130862912/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1130862912/Info(1013091)
    Received Command [MdxReport] from user [hypadmin@Native Directory]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1130862912/Info(1260039)
    MaxL DML Execution Elapsed Time : [0] seconds
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln///1132968256/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1132968256/Info(1013091)
    Received Command [MdxReport] from user [hypadmin@Native Directory]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1132968256/Info(1260039)
    MaxL DML Execution Elapsed Time : [0] seconds
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln///1129810240/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1129810240/Info(1020055)
    Spreadsheet Extractor Elapsed Time : [0] seconds
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1129810240/Info(1020082)
    Spreadsheet Extractor Big Block Allocs -- Dyn.Calc.Cache : [87] non-Dyn.Calc.Cache : [0]
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln///1134020928/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1134020928/Info(1013091)
    Received Command [SetAlias] from user [gbeaton@CAL1]
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln///1135073600/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1135073600/Info(1020089)
    Ignoring span Hybrid Analysis option. Spanning into Hybrid Analysis Relational Source has been disabled. See the essbase.cfg file
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1135073600/Info(1020055)
    Spreadsheet Extractor Elapsed Time : [0] seconds
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1135073600/Info(1020082)
    Spreadsheet Extractor Big Block Allocs -- Dyn.Calc.Cache : [7] non-Dyn.Calc.Cache : [0]
    [Mon Nov  4 11:24:38 2013]Local/SMARTPln///1128757568/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:38 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1128757568/Info(1013091)
    Received Command [SetAlias] from user [gbeaton@CAL1]
    [Mon Nov  4 11:24:38 2013]Local/SMARTPln///1131915584/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:38 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1131915584/Info(1020089)
    Ignoring span Hybrid Analysis option. Spanning into Hybrid Analysis Relational Source has been disabled. See the essbase.cfg file
    [Mon Nov  4 11:24:38 2013]Local/SMARTPln///1131915584/Info(1002089)
    RECEIVED ABNORMAL SHUTDOWN COMMAND - APPLICATION TERMINATING
    [Mon Nov  4 11:24:52 2013]Local/SMARTPln///1218234688/Error(1013204)
    Client Commands are Currently Not Being Accepted
    Can you please help me out form this .
    Regards,
    Kiran.

    Hi Mady,
    Thanks for the reply.
    We have increased the Heap size and restarted the services. But this issue still exists. And also restarted the entire system but the result is the same.
    We are unable to find the root cause which is causing this issue.
    Can any one suggest me....
    Thanks in Advance.
    Regards,
    Kiran.

  • Finalizers + abnormal shutdown

    I have read some notes about this, but I want to be sure: Some people in this forum have written that on an abnormal shutdown of the VM, not all finalizers are called. I have some questions about it:
    1. Is this true?
    2. Is it an implementation bug, or allowed by the VM spec / JLS? I have found this in the JLS:
    The Java programming language does not specify how soon a finalizer will be invoked, except to say that it will happen before the storage for the object is reused.
    Since storage for the object will certainly be re-used after termination of the VM, finalizers must be called before shutdown according to the JLS, right? Any pointer to contrary information would be nice.
    3. If finalizers are not guaranteed to be called, what is their use? The typical action of a finalizer would be to de-allocate some system resource (close a file or network connection, release the graphics or sound hardware, etc). No sane programmer would leave such important tasks to an unreliable mechanism. So if finalizers are unreliable, where are they useful?
    Thanks in advance.

    What do you mean by "abnormal shutdown of the JVM"?I do not mean killing the VM process at the OS level. It's something that comes from "inside the VM". But I don't know what it is exactly, as I was only pointed in that direction by posts in this forum. System.exit? Exceptions? Don't know what.

  • Abnormal Shutdown in App when conducting training

    Every time we conduct an Essbase Excel Add-In training class, the application that we are training in abnormally shuts down many times. The app does not appear to be corrupted and does not have problems outside of the class times. None of our other apps have problems during these times. Our classroom pc's are using network hubs and I'm guessing that these abnormal shutdowns have something to do with the fact that so many users are trying to touch the server/app at the same time going through the same network connection. The .xcp file appears to be almost identical every time. Below is an exerpt from the .xcp file:----- Exception Error Log Begin -----Current Date & Time: Thu Mar 20 13:11:41 2003Process Type: ApplicationApplication Name: SldfinDatabase Name: SldfinException Log File: D:\HYPERION\ESSBASE\app\Sldfin\Sldfin\log00012.xcpCurrent Thread Id: 514Exception Code: 0xC0000005=Access ViolationException Flags: 0x00000000=ContinuableException Address: 0x00523427Exception Parameters: 2Exception Parameter 0: 0x00000000=Read Violation Exception Parameter 1: 0x00000020 (Virtual Address)We have NETDELAY 5000 and NETRETRYCOUNT 1000 set in our essbase.cfg. Our server version is 6.2.1, the client versions are 6.0 and 6.2.1 (happens with either client version).Has anyone else experienced this? If so, is there any way to change the essbase.cfg or server o/s (Win NT) settings to avoid this problem?Thanks in advance.

    When your sever is dead, there isn't anything there to run and all the connections are lost.
    On the client side you will have to look for the disconnect, timeout, or some other exception so you know not to continue trying to connect to a dead server socket.

  • Abnormal Shutdown...

    My Server turned off abnormally last night, We have started it later, Now, I opened and checked the Alert.Log file, but I unable to find any shutdown Information, that happened last Night.
    Can't I know the reasons of Shutdown? Where I can find such Information.?
    Regards!!

    Server , Actually, System Admin Dept. called me and asked any information that has been stored in aler file regarding last night abnormal shutdown.
    I can find Only starting Information.
    THanks Adith for reply!!

  • Abnormal shutdown of database

    Hai All,
    This alert log content from my production database. what is the cause of the abnormal shutdown.After the shutdown, the database can startup normally.
    Tue Aug 7 04:59:23 2007
    Thread 1 advanced to log sequence 1376
    Current log# 1 seq# 1376 mem# 0: /home/oracle/oracle/product/10.2.0/oradata/dsoft/redo01.log
    Tue Aug 7 09:00:53 2007
    Thread 1 advanced to log sequence 1377
    Current log# 2 seq# 1377 mem# 0: /home/oracle/oracle/product/10.2.0/oradata/dsoft/redo02.log
    Tue Aug 7 11:46:29 2007
    Shutting down instance (abort)
    License high water mark = 132
    Instance terminated by USER, pid = 28548
    Tue Aug 7 11:46:32 2007
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Please help..

    Hi Dear,
    I feel this instance is terminated with shu abort command by
    Instance terminated by USER, pid = 28548You should check who is this user who has sysdba privilages.........It can be really very dangerous.
    Regards
    Amit Raghuvanshi

  • Message Server Unreachable (after changing IP address at host)

    Hi guys,
    I changed the IP address in my server. According to note 403708, I updated the new IP address in /etc/hosts. The note also suggests me to change in /etc/services but I see no IP address for me to update.
    Later when I restart my sapinstance, I see the disp+work.exe is "Running, but Message Server Unreachable". I've also updated the IP address in SM59 but I see no change.
    This is what I got from dev_rfc.trc:
    ERROR file opened at 20071206 221839, SAP-REL 620,0,674 RFC-VER 3 549374 MT-SL
    T:5048 Error RFCIO_ERROR_MESSAGE in abrfcio.c : 1400
    T:5048 <* RfcDispatch [1] : returns 1:RFC_FAILURE
    This is what I got from dev_disp:
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3212]
    Anyone has any idea?

    Yes I'm on Windows, the path that i'm refering is:
    winnt/system32/drivers/etc/services
    winnt/system32/drivers/etc/hosts
    Anyway my prob is fixed now. Probably the problem is due to I did not restart the server after changing the IP. Anyway everything looks pretty fine now
    Thanks guys

  • Disp+work.exe running but meesage server unreachable

    Hi Guys,
    i was working around for the past 4 days. still i was not able to find out the solution for this problem. when i am trying to connect SAP Server through SAPGUI, it was not connecting. i cross check with SAP MMC in the process list only one process was running (Message service) remaing processes were stopped. but disp+work.exe was running but with error message as "Running but message server unreachable". as per my knowledge this may be problem with sapmsg.ini. plz let me know how to fix this problem.
    any help would be appreciated
    Thanks,
    srini
    Message was edited by:
            raj reddy

    hi ,
       plz help me .
      dispatcher is running but cannot be connected to the message server
    in dev_disp, the following error exists
    Wed Oct 09 09:38:56 2013
    *** ERROR => [DpProcDied] Process died  (PID:248  HANDLE:956  rc:0x0) [dpnttool2.c  147]
    DpHalt: wait for end of icman
    DpHalt: waiting for termination of icman ...
    Wed Oct 09 09:38:57 2013
    *** ERROR => [DpProcDied] Process died  (PID:2844  HANDLE:964  rc:0x0) [dpnttool2.c  147]
    DpHalt: not attached to the message server
    DpHalt: cleanup EM
    ***LOG Q05=> DpHalt, DPStop ( 2688) [dpxxdisp.c   11380]

  • Disp+work.exe running but  Message Server Unreachable

    Hi all,
      I am new bee to this forum. can anybody guide me about this problem. i was working around for the past 4 days. still i was not able to find out the solution for this problem. when i am trying to connect SAP Server through SAPGUI, it was not connecting. i cross check with SAP MMC in the process list only one process was running (Message service) remaing processes were stopped. but disp+work.exe was running but with error message as <b>"Running but message server unreachable"</b>. as per my knowledge this may be problem with sapmsg.ini. plz let me know how to fix this problem.

    Hi!
    I have same problem after installation SAPNW7. TrialSP12.
    I'm running virtual MS Windows SP2 using VMWare Workstation 8.0
    dev_ms is attached.
    trc file: "dev_ms", trc level: 1, release: "700"
    [Thr 3436] Sat May 12 11:17:33 2012
    [Thr 3436] MsSSetTrcLog: trc logging active, max size = 20971520 bytes
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    94
    intno      20050900
    make:      multithreaded, ASCII, optimized
    pid        3432
    [Thr 3436] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 3432) [msxxserv.c   1824]
    [Thr 3436] MsInitAclInfo: acl file D:\NSP\SYS\global\ms_acl_info.DAT not found, unrestricted access
    [Thr 3436] MsGetOwnIpAddr: my host addresses are :
    [Thr 3436]   1 : [10.10.0.10] sap.localhost (HOSTNAME)
    [Thr 3436]   2 : [127.0.0.1] localhost (LOCALHOST)
    [Thr 3436]   3 : [192.168.238.128] allon-51c22207c.corp.loc (NILIST)
    [Thr 3436] MsHttpInit: full qualified hostname = sap.localhost
    [Thr 3436] HTTP logging is switch off
    [Thr 3436] set HTTP state to LISTEN
    [Thr 3436] MsHttpOwnDomain: own domain[1] = localhost
    [Thr 3436] ms/icf_info_server : deleted
    [Thr 3436] *** I listen to port sapmsNSP (3600) ***
    [Thr 3436] *** I listen to internal port 3900 (3900) ***
    [Thr 3436] *** HTTP port 8100 state LISTEN ***
    [Thr 3436] CUSTOMER KEY: >I1895797210<
    [Thr 3436] Sat May 12 11:28:22 2012
    [Thr 3436] *** ERROR => MsSCheckConnections: no response from client C0 (10.10.0.10) after 300 secs received [msxxserv.c   3165]
    [Thr 3436] *** ERROR => MsSCheckConnections: disconnect now [10.10.0.10] [msxxserv.c   3169]
    Regards,
    Olga.

  • SQL Causes server to swap and become unresponsive, What is it doing?

    SQL Causes server to swap and become unresponsive does it have the same effect with other users??
    WARNING - script causes my servers to not respond, requiring reboot after 30 mins
    Only run on a server/vm where a bounce is ok
    The script creates a table
    Runs an anonymous block to put 160mb in a single clob
    Runs a simple select with some REGEXP_REPLACE and REGEXP_SUBSTR
    This has been raised with Oracle support.
    Their conclusion is lots of single block reads are causing the server to hang.
    I do not think this is the reason and would like someone else to run it, to see what they think!
    Environment
    on red hat 5.7 and Oracle 11.2.0.3 enterprise edition it seems to hang the server
    [oracle@ ~]$ uname -a
    Linux  2.6.18-274.el5xen #1 SMP Fri Jul 8 17:45:44 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
    [oracle@edu-db3 ~]$ cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 5.7 (Tikanga)on redhat 4.5 Oracle 10.2.0.4 - it seems to just kill the instance
    [oracle@ ~]$ uname -a
    Linux  2.6.9-55.ELxenU #1 SMP Fri Apr 20 16:56:53 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
    [oracle@edu-db1 ~]$ cat /etc/redhat-release
    Red Hat Enterprise Linux AS release 4 (Nahant Update 5)When running the sql oracle consumes all the memory on the server, although SGA and PGA configured well bellow os memory
    SQL> show parameter sga
    NAME TYPE VALUE
    lock_sga boolean FALSE
    pre_page_sga boolean FALSE
    sga_max_size big integer 5G
    sga_target big integer 5G
    SQL> show parameter pga
    NAME TYPE VALUE
    pga_aggregate_target big integer 2G
    [oracle@ scripts]$ free
    total used free shared buffers cached
    Mem: 8388608 7346232 1042376 0 70060 6498460
    -/+ buffers/cache: 777712 7610896
    Swap: 4161528 1212380 2949148Script Output
    SQL> @kill_server.sql
    Table created.To start with we see oracle using the 5g sga
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    13007 oracle 25 0 5352m 216m 212m R 95.9 2.6 0:19.33 oracle163mb clob created
    MB
    163SQL Running
    Oracle process using 13gb of memory!!!!!!!!!!!!!
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    13007 oracle 18 0 13.4g 6.5g 210m D 7.3 81.8 0:55.42 oracleBut PGA has not grown
    SQL> select * from v$pgastat;
    NAME VALUE UNIT
    aggregate PGA target parameter 2147483648 bytes
    aggregate PGA auto target 1767444480 bytes
    global memory bound 214743040 bytes
    total PGA inuse 183654400 bytes
    total PGA allocated 248871936 bytes
    maximum PGA allocated 522175488 bytes
    -- SCRIPT
    -- WARNING (again) - script causes my servers to not respond, requiring reboot after 30 mins
    -- Only run on a server/vm that does not matter!
    DROP TABLE testing.clob_store PURGE;
    -- Clob holding table
    CREATE TABLE
      testing.clob_store
      clob_data CLOB
      LOB ("CLOB_DATA") STORE AS BASICFILE (TABLESPACE "TBSCLOB" DISABLE STORAGE IN ROW CHUNK 8192 RETENTION CACHE)
    -- Make a 100mb test clob
    DECLARE
      g_clob  CLOB := EMPTY_CLOB;
      PROCEDURE clob_append(p_line VARCHAR2) IS
        l_line VARCHAR2(2000) := p_line || CHR(10);
      BEGIN
        DBMS_LOB.WRITEAPPEND( g_clob, LENGTH(l_line), l_line );
      END;
    BEGIN
      DBMS_LOB.CREATETEMPORARY(g_clob,TRUE);
      DBMS_LOB.OPEN( g_clob, DBMS_LOB.LOB_READWRITE );
      clob_append( '<Workbook>' );
      clob_append( '<Styles>' );
      FOR i IN 1..1000000 LOOP
        clob_append(' <Styles><Style ss:ID="Default" ss:Name="Normal"><Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/></Style>');
      END LOOP;
      clob_append( '</Styles>' );
      clob_append( '<Workbook>' );
      FOR i IN 1..1000000 LOOP
        clob_append('<dummy>sfsdfsdf</dummy>');
      END LOOP;
      clob_append( '</Worksheet>' );
      clob_append( '</Workbook>' );
      INSERT INTO testing.clob_store(clob_data) VALUES (g_clob);
      DBMS_LOB.CLOSE(g_clob);
      DBMS_LOB.FREETEMPORARY(g_clob);
      COMMIT;
    END;
    -- Check sizes
    select
      round(DBMS_LOB.GETLENGTH (clob_data)/1024/1024) mb
    from
      testing.clob_store
    -- Test lob set up
    -- no trace and run simple select
    column rd new_value run_date noprint
    select to_char(sysdate, 'YYYY_MM_DD__HH_MI') rd from dual
    alter session set tracefile_identifier = 'bad_sql_&run_date'
    alter session set events '10046 trace name context forever, level 12'
    -- Some regexp extracts
    SELECT
      REGEXP_REPLACE( REGEXP_REPLACE( REGEXP_SUBSTR( RPO.CLOB_DATA , ' <Styles>.*</Styles>.', 1, 1, 'n' ) , ' </?Styles>.', NULL, 1, 0, 'n' ) , '  <Style ss:ID="Default".*?  </Style>.', NULL, 1, 0, 'n' ) STYLES
    , REGEXP_SUBSTR(RPO.CLOB_DATA, ' <Workbook.*</Workbook>.', 1, 1, 'n') worksheet
    FROM
      testing.clob_store rpo
    /Extra info
    SQL Trace
    *** 2012-11-12 10:22:03.936
    WAIT #47954520916768: nam='db file sequential read' ela= 28421 file#=12 block#=1324297 blocks=1 obj#=567174 tim=1352715723936618
    WAIT #47954520916768: nam='db file sequential read' ela= 34490 file#=12 block#=1324345 blocks=1 obj#=567174 tim=1352715724000358
    WAIT #47954520916768: nam='db file sequential read' ela= 59165 file#=12 block#=1324298 blocks=1 obj#=567174 tim=1352715724314041
    WAIT #47954520916768: nam='db file sequential read' ela= 68224 file#=12 block#=1324346 blocks=1 obj#=567174 tim=1352715724395729
    *** 2012-11-12 10:22:04.631
    WAIT #47954520916768: nam='db file sequential read' ela= 34901 file#=12 block#=1324299 blocks=1 obj#=567174 tim=1352715724631454
    WAIT #47954520916768: nam='db file sequential read' ela= 32349 file#=12 block#=1324347 blocks=1 obj#=567174 tim=1352715724701167
    WAIT #47954520916768: nam='db file sequential read' ela= 109175 file#=12 block#=1324300 blocks=1 obj#=567174 tim=1352715725093610
    WAIT #47954520916768: nam='db file sequential read' ela= 69001 file#=12 block#=1324348 blocks=1 obj#=567174 tim=1352715725194967
    *** 2012-11-12 10:22:05.913
    WAIT #47954520916768: nam='db file sequential read' ela= 23154 file#=12 block#=1324301 blocks=1 obj#=567174 tim=1352715725913197
    WAIT #47954520916768: nam='db file sequential read' ela= 31894 file#=12 block#=1324349 blocks=1 obj#=567174 tim=1352715726090547
    WAIT #47954520916768: nam='db file sequential read' ela= 29719 file#=12 block#=1324302 blocks=1 obj#=567174 tim=1352715726457981
    WAIT #47954520916768: nam='db file sequential read' ela= 29533 file#=12 block#=1324350 blocks=1 obj#=567174 tim=1352715726593580
    *** 2012-11-12 10:22:07.096
    WAIT #47954520916768: nam='db file sequential read' ela= 121833 file#=12 block#=1324035 blocks=1 obj#=567174 tim=1352715727096799
    WAIT #47954520916768: nam='db file sequential read' ela= 56658 file#=12 block#=1324131 blocks=1 obj#=567174 tim=1352715727322665STRACE
    -rw-r--r-- 1 root root 130647 Nov 12 10:29 strace_oracle.log7 minutes after last oracle trace entry!!
    brk(0x60013000)                         = 0x5ffef000
    mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b9e772b5000
    brk(0x60013000)                         = 0x5ffef000
    mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b9e773b5000
    brk(0x60013000)                         = 0x5ffef000
    mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b9e774b5000
    brk(0x60013000)                         = 0x5ffef000
    mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b9e775b5000
    brk(0x60013000)                         = 0x5ffef000
    mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b9e776b5000Edited by: Tom 55 on Nov 13, 2012 6:39 AM

    Thanks Iggy, now I know the strace show the os is really out of memory.
    Some more Debug, using Tanels tools...
    SQL> @snapper stats 5 1 13
    Sampling SID 13 with interval 5 seconds, taking 1 snapshots...
    -- Session Snapper v3.52 by Tanel Poder @ E2SN ( http://tech.e2sn.com )
        SID, USERNAME  , TYPE, STATISTIC                                                 ,     HDELTA, HDELTA/SEC,    %TIME, GRAPH
         13, TESTING   , STAT, session logical reads                                     ,      1.93k,      386.6,
         13, TESTING   , STAT, consistent gets                                           ,      1.93k,      386.6,
         13, TESTING   , STAT, consistent gets from cache                                ,      1.93k,      386.6,
         13, TESTING   , STAT, consistent gets from cache (fastpath)                     ,        277,       55.4,
         13, TESTING   , STAT, consistent gets - examination                             ,       1.1k,      220.8,
         13, TESTING   , STAT, logical read bytes from cache                             ,     15.84M,      3.17M,
         13, TESTING   , STAT, shared hash latch upgrades - no wait                      ,        552,      110.4,
         13, TESTING   , STAT, calls to get snapshot scn: kcmgss                         ,        276,       55.2,
         13, TESTING   , STAT, index crx upgrade (positioned)                            ,        552,      110.4,
         13, TESTING   , STAT, lob reads                                                 ,        276,       55.2,
         13, TESTING   , STAT, index fetch by key                                        ,        276,       55.2,
         13, TESTING   , STAT, index scans kdiixs1                                       ,        552,      110.4,
    --  End of Stats snap 1, end=2012-11-13 10:54:06, seconds=5
    SQL> @snapper stats 5 1 13HANG!
    So snapper not showing anything?
    Over to ostackprof
    SQL> @ostackprof 1143 0 5
    Sampling...
    Below is the stack prefix common to all samples:
    Frame->function()
    # 34 ->__libc_start_main()
    # 33  ->main()
    # 32   ->ssthrdmain()
    # 31    ->opimai_real()
    # 30     ->sou2o()
    # 29      ->opidrv()
    # 28       ->opiodr()
    # 27        ->opiino()
    # 26         ->opitsk()
    # 25          ->ttcpip()
    # 24           ->opiodr()
    # 23            ->opifch()
    # 22             ->opifch2()
    # 21              ->qerstFetch()
    # 20               ->qertbFetch()
    # 19                ->qerstRowP()
    # 18                 ->kpofcr()
    # 17                  ->evaopn2()
    # 16                   ->evaopn2()
    # 15                    ->evaopn2()
    # 14                     ->kokle_rxsubstr()
    # 13                      ->kole_rxsubstr()
    # 12                       ->lxkRegexpSubstrLobNSub()
    # 11                        ->lxregexec()
    # 10                         ->lxregmatch()
    #  ...(see call profile below)
    # - Num.Samples -> in call stack()
         2 ->lxregmatgpt()->kole_rxrdcb()->koklc_read()->koklread()->koklOutlineRead1()->kdlf_read()->kdl_read1()->kdlprl()->__intel_new_memcpy()->__sighandler()->->
         2 ->__sighandler()->->
         1 ->lxregmatpush()->__sighandler()->->Ok we see the regex function running
    Server starting to overload now
    SQL> @ostackprof 1143 0 5
    Sampling...
    Below is the stack prefix common to all samples:
    Frame->function()
    #  ...(see call profile below)
    # - Num.Samples -> in call stack()
         2 ->__libc_start_main()->main()->ssthrdmain()->opimai_real()->sou2o()->opidrv()->opiodr()->opiino()->opitsk()->ttcpip()->opiodr()->opifch()->opifch2()->qerstFetch()->qertbFetch()->qerstRowP()->kpofcr()->evaopn2()->evaopn2()->evaopn2()->kokle_rxsubstr()->kole_rxsubstr()->lxkRegexpSubstrLobNSub()->lxregexec()->lxregmatch()->lxregmatgpt()->kole_rxrdcb()->koklc_read()->koklread()->koklOutlineRead1()->kdlf_read()->kdl_read1()->kdlprl()->kdlrdb()->kcbgtcr()->__sighandler()->->
         1 ->__sighandler()->->
         1 ->__libc_start_main()->main()->ssthrdmain()->opimai_real()->sou2o()->opidrv()->opiodr()->opiino()->opitsk()->ttcpip()->opiodr()->opifch()->opifch2()->qerstFetch()->qertbFetch()->qerstRowP()->kpofcr()->evaopn2()->evaopn2()->evaopn2()->kokle_rxsubstr()->kole_rxsubstr()->lxkRegexpSubstrLobNSub()->lxregexec()->lxregmatch()->lxregmatgpt()->kole_rxrdcb()->koklc_read()->koklread()->koklOutlineRead1()->kdlf_read()->kdl_read1()->kdlprl()->__intel_new_memcpy()->__sighandler()->->
         1 ->__libc_start_main()->main()->ssthrdmain()->opimai_real()->sou2o()->opidrv()->opiodr()->opiino()->opitsk()->ttcpip()->opiodr()->opifch()->opifch2()->qerstFetch()->qertbFetch()->qerstRowP()->kpofcr()->evaopn2()->evaopn2()->evaopn2()->kokle_rxsubstr()->kole_rxsubstr()->lxkRegexpSubstrLobNSub()->lxregexec()->lxregmatch()->lxregmatgpt()->__sighandler()->->
    SQL> @ostackprof 1143 0 5
    Sampling...
    Below is the stack prefix common to all samples:
    Frame->function()
    #  ...(see call profile below)
    # - Num.Samples -> in call stack()
         2 ->__sighandler()->->
         2 ->__libc_start_main()->main()->ssthrdmain()->opimai_real()->sou2o()->opidrv()->opiodr()->opiino()->opitsk()->ttcpip()->opiodr()->opifch()->opifch2()->qerstFetch()->qertbFetch()->qerstRowP()->kpofcr()->evaopn2()->evaopn2()->evaopn2()->kokle_rxsubstr()->kole_rxsubstr()->lxkRegexpSubstrLobNSub()->lxregexec()->lxregmatch()->lxregmatgpt()->kole_rxrdcb()->koklc_read()->koklread()->koklOutlineRead1()->kdlf_read()->kdl_read1()->kdlprl()->kdlrdb()->kcbgtcr()->__sighandler()->->
         1 ->__libc_start_main()->main()->ssthrdmain()->opimai_real()->sou2o()->opidrv()->opiodr()->opiino()->opitsk()->ttcpip()->opiodr()->opifch()->opifch2()->qerstFetch()->qertbFetch()->qerstRowP()->kpofcr()->evaopn2()->evaopn2()->evaopn2()->kokle_rxsubstr()->kole_rxsubstr()->lxkRegexpSubstrLobNSub()->lxregexec()->lxregmatch()->lxregmatpush()->__sighandler()->->
    SQL> @ostackprof 1143 0 5
    Hit CTRL+C to cancel, ENTER to continue...HANG!
    Now I am lost!!
    As Iggy points out from the strace, the OS is returning an error back to the Oracle foreground process, is this not handled?
    Or is it normal for oracle to ignore this error, and ask for more memory?
    Any help would be greatly appreciated.
    Thanks,
    Tom
    Edited by: Tom 55 on Nov 13, 2012 7:54 AM

  • Failed to invoke getMountedFileSystemUsage[/SASHome/nfs/sasconfig]: bonhamtest:/SASHome/nfs/sasconfig nfs server unreachable:

    Hi, getting getMountedFileSystemUsage[/SASHome/nfs/sasconfig]: bonhamtest:/SASHome/nfs/sasconfig nfs server unreachable:
    error with hyperic platform service file mount
    Looks to be a sigar issue with nfs version 4 and auto mounter
    I was not able to find an open issue or topic on
    Linux RHEL both client and server
    also using imapd
    exportfs is
    /SASHome/nfs/sasconfig
    10.87.73.0/24(rw,sync,no_root_squash)
    10.97.73.0/24(rw,sync,no_root_squash)
    Nothing unique with the auto master server or client
    nfs version 4
    nfs server setting
    MOUNTD_NFS_V2="no"
    MOUNTD_NFS_V3="no"
    RPCNFSDARGS="-N 2 -N 3 -d"
    RPCMOUNTDOPTS="--debug all"
    RPCIDMAPDARGS="-vvv"
    RPCGSSDARGS="-vvv"
    RPCSVCGSSDARGS="-vvv"

  • Boot fsck from abnormal shutdown

    Hi,
    Since 2.6.31 my computer is unable to do a fsck when a abnormal shutdown occured (e.g. a powerout), and a second reboot is always needed because the system prompt me "give the root password or press CTRL-D to proceed" error. After pressing CTRL-D, the system reboots and do fsck at the second boot.
    How can I restore to the mode that's been used before, which just do fsck automatically immediately once if an abnormal shutdown and a unclean filesystem is detected ?

    This occured to me also, but I'm still using kernel 2.6.30.5
    The problem seems to be elsewhere ...
    At first I didn't thought this was a bug, but now that I read your post, maybe we should file a bug-report.
    See also : http://bbs.archlinux.org/viewtopic.php?id=80564
    Last edited by john_schaf (2009-10-02 08:14:09)

  • How do you properly shutdown the OLite MA server?

    Does anyone know the "proper" shutdown command for the OLite 10g Mobile Admin [Java] server? By "proper", I mean something other than Cntrl-Break when the DOS box has focus. I have not been able to find anything in the documentation on it, only the startup command. I would have thought there would be a rather obvious "Shutdown MA Server" option on the browser admin ui....
    TIA,
    Scott

    My classpath is
    C:\>set classpath
    CLASSPATH=D:\oracle\sdk\MOBILE\CLASSES\OLITE40.JAR;D:\oracle\ora92\MOBILE\CLASSES\OLITE40.JAR;D:\oracle\ora92\Mobile\CLASSES\AQLite.jar;D:\oracle\ora92\Mobile\CLASSES\AQOracle.jar;D:\oracle\ora92\Mobile\CLASSES\AQCommon.jar;D:\oracle\ora92\Mobile\Server\bin\webtogo.jar;
    But seems it is not matter. Class com/evermind/server/OC4JServer is included to oc4j.jar and we have added it in paramters -Djava.class.path=oc4j.jar
    Well, check in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ {SERVICE_NAME}\Parameters
    1) "Current Directory" should be like D:\oracle\ora92\mobile_oc4j\j2ee\home\
    2) "JVM Library" should point on something like C:\j2sdk1.4.2_04\jre\bin\server\jvm.dll
    3) finally "JVM Option Number 0" should be -Djava.class.path=oc4j.jar
    You can also try to execute service using yours login.

Maybe you are looking for

  • Need a script for squaring images of various sizes please

    Hello, new to this group but have been using photoshop for years doing basic editing. I have never done any sripting. I have a project on my hands. I have a lot of image of various sizes with some taller or wider than others. I need to make all these

  • Is Motion 3.0 compatible with Final Cut Studio-7 on Lion?

    I was just wondering if the Motion on Final Cut Pro works on Lion for the iMac because it seems to freeze when I open it and when I try to reinstall I can't locate it. Does anyone know what the problem is, or have a solution for me? thanks for the he

  • Having trouble putting movie on new Zen MX

    *having trouble putting movie on new Zen MX? just recieved it in the mail. i am able to load mp3's without any problems. i want to put Incredible Hulk on to it for a road trip. Creative Centrale has no problem seeing the movie, i can use the rip func

  • Scroll bar for RF transaction?

    Hi Gurus, I'm currently developing an RF transaction. I just have a question: Is it possible for an RF Transaction to have a scroll bar? Thanks in advance! Best Regards. Brando

  • THE ANSWER: iChat fails to start, Error -7 & -8 etc - what worked for me!

    Like many of you, I have been struggling to get iChat to work reliably. I initiate a chat, my daughter responds, it tells me the iChat is connecting, but then the dreaded error message appears. I tried all the tips given here, checked that I had open