Abnormal increment in background processes on AIX unix (oracle8i)

Hi
We have a problem running oracle8i on AIX unix. Our system is having two
parallel IBM RS6000 servers. Both running in HACMP env. We are using oracle8i with almost 350 clients.
For the last few days we observed that total no of oracle background processes abnormally increasing and touches 400 on each server. We got this information from following command
ps -ef |grep ora |wc -l
The moment it reaches 400 no more sessions are able to connect to the database.
One more thing we have observed that about 150 processes are defunct, which we get from using following commands
ps -ef |grep defunct | wc -l
On killing these processes using
kill -9 <pid>
system is unable to kill it.
When we query from v$session connecting to each servers we hardly found total number of sessions more than 225 on each server.
If anybody has any idea why so many processes are spawned and how to control them please mail me the solution. Or if u require some more information about the system and oracle parameters please let me know. My email_id is
[email protected]
Thanks
SHAKEEL AHMAD

You compare v$process with v$session.
If you have any defunc process, they wont appear in the v$session. But, they resides in the v$process. You need to kill them from the os prompt.
SELECT spid
FROM v$process
WHERE NOT EXISTS ( SELECT 1
FROM v$session
WHERE paddr = addr)
This query gives the osid of all the defunc process and kill them using kill -9 on os.
Are your connection coming from jdbc? Also, you can make use of DCD Dead Connection Detector.
http://asktom.oracle.com/pls/ask/f?p=4950:8:8284822833477458404::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:1784142376742
Jaffar
Message was edited by:
The Human Fly

Similar Messages

  • Top resource intensive processes on AIX/Unix/Linux

    top is good to find this out, topas on aix, any other tips to find out memory/IO resource intensive processes, here i have for cpu....
    oracle:tulpfsd01$ ps -e -o pcpu -o pid -o user -o args | sort -k 1 | tail -5r
    %CPU PID USER COMMAND
    1.1 1230914 oracle oraclepwpd (LOCAL=NO)
    0.9 1248744 oracle oraclepwpd (LOCAL=NO)
    0.9 1099146 oracle oraclepwpd (LOCAL=NO)
    0.6 503688 oracle oraclepwpd (LOCAL=NO)
    0.5 1239486 oracle oraclepwpd (LOCAL=NO)

    Generally, memory shouldn't be a concern. The total amount of SGA is set (fixed) with SGA_MAX_SIZE and occupies shared memory (to be seen with 'ipcs')
    The PGA is set by PGA_AGGREGATE_TARGET, but is only a rough pointer for oracle. Additional information about memory is seeable with pmap (alt least on linux and solaris)
    You'll see the loaded shared libraries (which are used by the process in a shared matter, so not any process which uses libraries copy their own versions, and you should be able to identify the shared memory (identified with shmid=0xsomething) etc. On linux /proc/<pid>/maps shows the same in a little different way.
    Now we've established that the shared libraries are used shared to preserve memory, and the shared memory is used shared (quite obviously), and 'put' into the process' address space, you should understand why listing VSS (virtual set size) and other memory stuff isn't very helpful: if you just add all listed used memory, there are much components which are not really used by that process.
    Top and topas are helpful for finding CPU intensive processes. That is what both are designed for, to be able to identify the processes which are using the most slices of processor time. Of course, it's only helpful if you truly want to identify top CPU intensive processes. This is also quite easy to find inside the database.
    IO: there's no way to identify processes which are the most intensive writers. Simple because linux doesn't keep statistics about it. Inside the database, it's easy to find (guess you should need an example of that?) please mind you should be aware how the database works: a user process does no writing, it's the logwriter, checkpointer and database writer who does that. The user process only reads.
    I will see if I can find some nmon examples tomorrow, when I've got access to AIX systems.
    If you still want examples, could you be specific?

  • Launch background process from unix command line and detect if it is runnin

    in Cocoa, I am able to run unix app by using NSTask, it works fine to me. But I want to do the following:
    1. Start up a background process.
    2. Wait to see if this background process has been launched correctly.
    3. If yes, keep running following codes...
    With NSTask, I cannot make sure when the background process has been launched correctly... and other codes just keep running...
    If I do something like:
    while (bgprocess isRunning)
    }

    What exactly do you mean by "launched correctly"? Do you just care that the process has begun? Do you want to make sure it is still running? Do you want to see if there is some signal emitted (either affirmative "I am running" or absence of a child-died signal)?
    Your isRunning example does appear to be in accord with the NSTask docs for "do blah blah blah while the task is running", but that doesn't seem to be what your description says you want to do. Is "blah blah blah" an idle loop until the task has started, or is it something to do while the task is actually running?
    How about looking up the pid of the child process (processIdentifier for the NSTask) and then check whether that process is still running?

  • Background processing - unable to access the file

    Hi Gurus!
    01/09/2009 00:00:06 Job started
    01/09/2009 00:00:06 Step 001 started (program ZWELL_UPLOAD, variant 20080107WMI-1, user ID STIWARI)
    01/09/2009 00:00:06 File P:\SAP\ERP\ZWELL\wmigdc\wmi_dls_extract_20090107_3 does not exist or cannot be opened
    01/09/2009 00:00:06 Step 002 started (program ZWELL_UPLOAD, variant 20080107WMI-2, user ID STIWARI)
    01/09/2009 00:00:06 File P:\SAP\ERP\ZWELL\wmigdc\wmi_dls_extract_20090107_2 does not exist or cannot be opened
    01/09/2009 00:00:06 Step 003 started (program ZWELL_UPLOAD, variant 20080107WMI-3, user ID STIWARI)
    01/09/2009 00:00:07 File P:\SAP\ERP\ZWELL\wmigdc\wmi_dls_extract_20090107_3 does not exist or cannot be opened
    01/09/2009 00:00:07 Job finished
    Can I get some help as to why is it not able to loacte the file when run through background processing when its able to read and excute when I directly run the program. Is theer any settings that I need to set up in the ABAP program itself which will enable to make it happen or else what to do so that I can set a background job to happen successfully.
    Thanks

    I have assigned thhose correctly I believe.
    *   Selection-Screen                                            *
    selection-screen  begin of block 1 with frame title text-001.
    parameters:  p_bukrs type t001-bukrs default '1000',      " company code
                 p_zss type zsds_uwi-zss,                     " Survey system
                 p_pathps like rlgrap-filename modif id g1 ,  " Presentation server path
                 p_pathas like rlgrap-filename modif id g2 ,  " Application server path
    *             p_pbkas  LIKE rlgrap-filename MODIF ID g2 ,  " Backup path
                 p_err    like rlgrap-filename ,               " error file as SAP table format
                 p_err2   LIKE rlgrap-filename,               " error file as input format
                 p_ps like ssfparms-binccerts radiobutton group ssff " Presentation server
                 default 'X' user-command shift,
                 p_as like ssfparms-binccerts radiobutton group ssff." Application server
    selection-screen  end of block 1.
    *   Includes                                                           *
    include zwellupd0001. "Top Include
    include zwellupd0002. "Form Include
    *  Initialization.
    initialization.
    *--- Assign default '1' to survey system
      p_zss = v_zss = 1.
    *  At Selection-Screen                                          *
    at selection-screen output.
      perform modify_screen.
    *-Presentation
    at selection-screen on value-request for p_pathps.
      call function 'KD_GET_FILENAME_ON_F4'
        exporting
          static    = c_x
        changing
          file_name = p_pathps.
    *-Application
    at selection-screen on value-request for p_pathas.
    *- Assign the Physical File Name Using a Logical File Name
      call function 'FILE_GET_NAME'
        exporting
          client           = sy-mandt
          logical_filename = c_asin
          operating_system = sy-opsys
        importing
          file_name        = p_pathas
        exceptions
          file_not_found   = 1
          others           = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    at selection-screen on value-request for p_err.
        call function 'KD_GET_FILENAME_ON_F4'
        exporting
          static    = c_x
        changing
          file_name = p_err.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_err2.
        CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          static    = c_x
        CHANGING
          file_name = p_err2.
    *  Start-Of-Selection                                           *
    start-of-selection.
    *---Modify the screen variables as per the user selection
      perform initialize.
    *--- Upload file from Presentation
    *  PERFORM upload_ps .
    **--- Upload file from Application
    *  PERFORM upload_as .
      perform upload_file.
      perform write_err_file.
    *  perform write_err2_file.
      perform write_report.
    *  End-Of-Selection                                             *
    end-of-selection.
    *&      Form  modify_screen
    *       Modify the screen variables as per the user selection
    form modify_screen .
      if p_ps = 'X'.
        loop at screen.
          check screen-group1 = c_g2.
          screen-active = 0.
          modify screen.
        endloop.
      else.
        loop at screen.
          check screen-group1 = c_g1.
          screen-active = 0.
          modify screen.
        endloop.
      endif.
    endform.                    " modify_screen
    *&      Form  initialize
    *       Assign Local Variables
    form initialize .
    *-Pass selection screen fields to local variables.
      v_zss      = p_zss.
      v_pathas   = p_pathas.
      v_pathps   = p_pathps.
    *  v_pathbkas = p_pbkas.
      v_ps       = p_ps.
      v_as       = p_as.
      v_bukrs    = p_bukrs.
    endform.                    " initialize
    *&      Form  write_report
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form write_report .
       if v_zss = 1.
          write: /  '*** Update report for DLS ***'.
       else.
           write: /  '*** Update report for NTS ***'.
       endif.
       write:
              / 'Input File Count', g_inp_count,
              / 'Insert     Count', g_insert_count,
              / 'Updated    Count', g_upd_count,
              / 'Failed     Count', g_err_count.
    endform.                    " write_report
    *&      Form  write_err_file
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form write_err_file .
           case p_as.
            when 'X'.                      "X is application server
    *         TRANSLATE FILENAME USING '\/'." correct slash for unix
              open dataset p_err for output in text mode encoding default.
              if sy-subrc = 0.
                loop at t_err into s_welldls.
                  transfer s_welldls to p_err.
                  if sy-subrc ne 0.
                    message i010(ad) with p_err 'Download Failed'.
                  endif.
                endloop.
                close dataset p_err.
              else.
                message i010(ad) with p_err 'dataset could not be found'.
                sy-subrc = -1.             "Maintain error condition
              endif.
            when ' '.                      "Blank is presenation server
              translate p_err using '/\'."correct slash Dos file
              call function 'DOWNLOAD'
                   exporting
                        filename = p_err
                        filetype = 'DAT'   "FTYPE set to ASC in DATA seg
                   tables
                        data_tab = t_err.
                   if sy-subrc ne 0.
                message i010(ad) with 'File ' p_err 'cannot be located.'.
                sy-subrc = -1.             "Maintain error condition
                exit.
              endif.
          endcase.
    endform.                    " write_err_file
    even the constants:
    *-Declare survey system as constants
    CONSTANTS: c_dls TYPE zsds_uwi-zss VALUE '1',
               c_nts TYPE zsds_uwi-zss VALUE '2',
               c_x   TYPE c VALUE 'X'.
    *-Logical File Path maintained in Txn FILE
    CONSTANTS:
    c_asin  TYPE filename-fileintern VALUE 'Z_INTERFACES_IN_WELL_MASTER',
    c_asout TYPE filename-fileintern VALUE 'Z_INTERFACES_OUT_WELL_MASTER'.
    *-Screen Grouping
    CONSTANTS:
    c_g1 TYPE screen-group1 VALUE 'G1',
    c_g2 TYPE screen-group1 VALUE 'G2'.
    DATA: v_folder  TYPE string.
    DATA: v_filestr TYPE string.
    DATA: v_datalen TYPE i.
    DATA v_rec(1000).
    Thanks

  • To see the rman process running on UNIX

    Hi
    What is command on AIX / UNIX to see if we have any rman processes still running?
    Thanks.
    I tried ps -ef | grep oraprod (user) but see no rman processes.
    Many thanks

    There are 2 things what should be checked:
    1. from unix side as already pavan mentioned
    ps -ef | grep rman
    2. from oracle side to look for rman sessions:
    select * from v$session where program like 'rman%';
    If both requests return nothing - rman had finished his job and already from logfiles or with help of rman commands (list, report) You can understand īs the job done or not.

  • Reducing Windows Background Processes

    I'm in charge of my company's data acquisition system and we've finally got everything running about how we want it to.  The last issue we're having is that whenever the screen updates the program slows down measureably.  I've got the program running in a loop that collects data, processes data, waits for user input, sends out commands to other hardware, and then repeats.  The program is configured to only display one data point (64 channels, plus 5 on a chart and three other numeric gauge indicators) of every 100 collected.  The effect this has is that while the program is not displaying data the loop executes in about 2-3ms, but that time jumps to ~60ms when it has to update the front panel.
    My question is: how can improve the performance of my code on a windows XP system?
    Is there some kind of indicator that I should use over another kind?
    Does anyone have a guide on how to disable windows background processes (the computer the DAQ system is on isn't running much, but I'm not a very advanced user in that area)?
    Any other general tips and tricks for this kind of problem?
    I know the best solution would be to move to a real time operating system, but that just isn't an option right now.  Any suggestions on how to improve performance on the system I've got would be appreciated.

    Some clarifications, as requested.  We're acquiring 32 analog channels and 32 thermocouple channels.  The gauges and chart indicators are just a way of displaying a subset of the data in a more obvious form.  All channels are also displayed in numeric indicators.  The program is set up to run a loop with the following DAQ scheme: calculate a timestamp (relative to the start of the program), acquire a single scan of the analog channels, acquire a single scan of the thermocouple channels, and then do other data processing tasks.  There's no set data rate, we're trying to acquire the data as fast as the program will allow, so the 2-3ms loop times is what we see in the output data file.  One data point will occur at time 0.003, and then next would get the timestamp 0.006. 
    Every time the screen is updated, in the post-processing part, the time to execute the whole loop increases dramatically.  In the data file we'd see a point recorded at time 0.006, and then the next one would be at time 0.066 (something to that effect).  Since screen updating seems to be the cause of the slowdown I'm interested in what I can do to get that part to run as fast as possible.
    We're running LabVIEW 7.1, and to get the screen to only update occasionally I have it set to keep a counter going that is incremented each time through the loop.  If the counter gets to the value of 100, then in post-processing the current batch of data is sent to the front panel indicators and the counter is reset to 0.  For all other counter values the data just goes into the output file and the screen indicators are left alone.

  • Why may any user leave background processes running at will?

    Hi all,
    yesterday, I encountered a rather strange problem with linux in common, at least
    I think so.
    In my .xinitrc, I'm starting offlineimap - a console-based mail synchronization
    tool - in the background. Being naive, I expected it to be killed along with the
    gui applications started in that file. Yet, that assumption proved wrong and I
    started asking for help on how to kill that process on #archlinux.
    The guys there (again, thanks for your help and patience!) all came up with
    plenty of ideas on how to avoid starting more than once instance of the program,
    but that wasn't really what I was looking for. The only usable option came from
    anrxc, who suggested killing the program from awesome's logout hooks.
    Not fully satisfied with the solutions, I started thinking and came up with the
    following question:
    Why is every user allowed to leave background processes on the machine
    just as he pleases, even if he logs out?
    I even tried this over ssh, where the launched commands have some sort of
    "parent" process, but even in this circumstance it was possbible to leave
    background processes behind after logging out.
    I mean, on my desktop system, this is not a big issue... I shut it down once
    every day at the least and there are no users on it besides my girlfriend and
    me. But this seems like a fundamental problem to me. Why is this allowed at all?
    Does it make sense to do it that way? What are the consequences?
    Let's discuss!

    JohannesSM64 wrote:Really, you need to find a better way to manage offlineimap than starting it in xinitrc. Automatically killing any background processes on any logout will not make linux better.
    Hmm... to me, .xinitrc is the place to start apps which should live just as long
    as the graphical user login lasts. On #archlinux, several other places were
    discussed, but none of them were "the thing":
    .bashrc
    Doesn't work, because a) the process would only get started when I open a shell,
    not when I log in and b) because finding a place to stop the process would be
    even harder.
    .bash-profile
    Only gets executed for a login shell, which I wouldn't account for a graphical
    login at all.
    wm startup script (in this case awesome's rc.lua)
    Possbile, but not much better. Would fork the process all the same, merely
    moving the problem. If X got killed, not even awesome's logout hooks would
    apply.
    Also, this approach isn't wm-agnostic, so trying out / switching to another wm
    would have the problem occur all over again.
    So what do you suggest? Do you have a good idea?
    pseudonomous wrote:
    As to the question of "why" things act this way:
    I believe this is linux display it's heritage as a mulit-user operating system that people used terminals to log into to run program on.  A big place where unix used to be (and is, to some degree, still used) was in universities where a professor or graduate student might have logged onto the system to run some program to process some large set of data.  You wouldn't want to sit around and wait for this program to finish; you'd want to run it in the background, leave, and come back and look at the results a week later, when the program finished running.  One of my friends doing applied math research still does this sort of thing.  I'd imagine it's relatively common.
    Process management was largely handled be systems administrators, and commonly you were being billed for CPU time, so it was in your interest not to leave programs that you didn't want to run running when you logged out.
    Hmmm... that seems like a rational explanation. But in the case that is the
    reason for linux' behavior: Why isn't there some kind of a mode setting? Like
    one which allows any user to keep processes alive and another one that doesn't?

  • How to examine Oracle background process (SMON, PMON, DBW0, ...) on WIN OS

    Dear All :
    In Linux/Unix OS , we can check Oracle background process with command
    ps -ef | grep ora
    ,but how to check on Windows OS ? Can anyone show me how to do that...
    thanks alot ~
    with regards

    set line 400
    select
    A.SID,
    A.SERIAL#,
    A.PROGRAM,
    P.PID,
    P.SPID,
    A.OSUSER, /* Who Started INSTANCE */
    A.TERMINAL,
    A.MACHINE,
    A.LOGON_TIME,
    B.NAME,
    B.Description
    ,P.PGA_USED_MEM
    ,P.PGA_FREEABLE_MEM
    ,P.PGA_MAX_MEM
    from
    v$session A,
    v$process P,
    v$bgprocess B
    where
    A.PADDR=B.PADDR
    AND A.PADDR=P.ADDR
    --and   A.type='BACKGROUND'
    --Alternative (you can use BACKGROUND column from v$process )
    AND P.BACKGROUND=1
    HTH
    Girish Sharma

  • LOCKING BY CKPT BACKGROUND PROCESS

    Dear All,
    Lock Occuring Frequently in Our development database - Blocking by CKPT background Process.
    After checking the system, found that Drop table command causing the problem.
    Oracle Version 10.2.0.3, Hp-Unix
    whether any one face this scenario and share how you resolved it?
    Thanks in Advance
    Edited by: user585870 on Jun 10, 2009 10:31 AM

    select substr(DEST,1,10) DEST, DESCRIPTION from x$messages where dest='CKPT' order by DEST;
    i am not getting any description which says that locking the table is CKPT task. There should be a .trc file (trace file) which can be used to diagnose it or i shall wait with you to hear more replies by forum experts.
    Regards
    Girish Sharma

  • GUI_DOWNLOAD and background processing

    Hello,
    I have created a process which creates a file. this process uses GUI_DOWNLOAD to put the file on the users C drive or other directory on our network. The user wants to run this process in background and the program is returning a 6  (error unknown) from the GUI_DOWNLOAD FM. I was looking on SDN and found out the GUI_DOWNLOAD only works in foreground. You have to use OPEN and CLOSE DATASET statements to process in background. I am thinking about putting a button to denote foreground/background processing and using the appropriate statements to process the file. I will then have to get the file from the app server to a place will the user can get access to it.
    <b>first question</b> - is there a FM to do a FTP from the app server to a directory on our network for the user to access?
    <b>second question</b> - is this the right approach or is there something else that I should be doing.
    thanks in advance for your help

    Hi,
    Yes, your right, GUI_DOWNLOAD wil not work in background mode, you need to place the file in Application server, here.
    See the below link for a FTP program, use the proper commands(i do not know whether downloading the file is possible through the commands)
    http://www.sap-img.com/ab003.htm
    or else, write a small program which downloads the data from the application server, but it should run in the foreground
    Regards
    Sudheer

  • The request could not be submitted for background processing.

    Post Author: Chriss
    CA Forum: Administration
    It's an BOE XI SR2, on Win2k3 server, with a print cluster with two print spools, handling 3000+ printers. I discovered this error to be intermittent and only on one of the spools. It turned out that the only common factor was an HP4250 print driver. I backed all the 4250s down to 4200 drivers and the intermitent error ("Error in File. The request could not be submitted for background processing.") went from about 100 a day to zero. The other spool had a different version of the HP4250 driver and would on rare occassion cause this error, "Error in File ... Page header or footer longer than a page." but never the background processing error.
    For reference, when I got this error in XI R1, this was the solution for 'the error with one name and many causes':The error "The request could not be submitted for background processing" can be related to a corrupt or wrong versioned crpe32.dll in the Crystal bin folder. Renaming to crpe32.dll_bak and using the repair command in the the "Add/Remove Programs" tool in the "Control Panel" will reinstall the correct dll. Then restart the Crystal services.

    Post Author: krishna.moorthi
    CA Forum: Administration
    For Crystal reports :
    Error : "The request could not be submitted for background processing"
    I think,this was not related to a corrupt or wrong versioned crpe32.dll.
    but the below mentioned is one of the reason for getting this error.
    I got the error when the main report(crystalreports10) having more than 2 subreports not assigned proper tables for the subreports.
    Example: (this code raise the abone mentioned error.)
    rpt.SetDataSource(Exdataset);
    rpt.Subreports&#91;"subreportname1"&#93;.SetDataSource(Exdataset); // Exdatatset.Tables&#91;1&#93;
    rpt.Subreports&#91;"subreportname2"&#93;.SetDataSource(Exdataset);// Exdatatset.Tables&#91;2&#93;

  • How to Create Excel File in Background processing with different colors

    HI All
    I am trying to create Excel file in background & send it to user through e-mail, this i could acheive using fucntion module SO_DOCUMENT_SEND_API1, but here my requirement is i want to put different colors to columns of excel & this should happen in Background processing,
    Initially i completed above requirement by using HTML type of document with attachment type 'ALI'  & formatted output using write statement & used colors, after that i took this o/p using save_list function module & then table compress...etc.
    but i don't know how to achieve same if we need o/p in excel as size of object of excel file is less than that of HTML
    I am thankfull to everybody who will help me.
    Regards
    Lokesh

    Lokesh,
    Iam also trying to populate my text file with colors as an attachment . If you know this please let me know.

  • Data of alv report in  excel file in background processing using open datas

    Hi Experts,
    I have developed report for purchase register . if i execute this report in background process i am not able to get the downloaded file in excel and output is also not coming properly, columns are going to overlap.
    i used open dataset  read dataset and close dataset but still problem is not solved. so if anyone have code with this and also which will have concatenate statement in the code send it.
    Regards,
    Rahul

    Hi Rahul,
    Ur code shud be like below:
    DATA : l_filename2 TYPE string,
                v_extn.
        SPLIT p_filename AT '.xls' INTO l_filename2  v_extn.
        CONCATENATE l_filename2  'downloaded'  INTO l_filename2  SEPARATED BY '_'.
        CONCATENATE l_filename2  'txt'   INTO l_filename2 SEPARATED BY '.'.
        OPEN DATASET l_filename2 IN TEXT MODE FOR OUTPUT ENCODING DEFAULT.
        IF sy-subrc <> 0.
          MESSAGE e499(sy) WITH text-e02.
        ENDIF.
        LOOP AT it_order_number INTO wa_order_number.
          TRANSFER wa_order_number TO l_filename2.
        ENDLOOP.
        CLOSE DATASET l_filename2.
    Now, go to tcode AL11 and check it in the Application server itself.
    Hope this helps,
    Regards,
    Arnab.

  • When running the workflow background process for drop shipment order, sale order line's status gets automtically closed instead of awaiting shipping

    Hello friends,
    I am created a drop shipment order with all the setups done . now i have booked the sale order as source type external. but when i run the workflow background process , after completing the report when i check the sale order line status it changes to "closed" instead of "awaiting shipping".
    Plz guide me if i have missed something in the setups.
    thanks,
    Sachin

    Hi Sachin,
    pls check the below notes from MOS
    Drop Ship Sales Order Cycle In Order Management (Doc ID 749139.1)
    Vision Demo - How To Create A Drop Ship Sales Order/Purchase Order (Doc ID 1060343.1)
    Thanks
    -Arif.

  • Crystal Reports VS 2008 "The request could not be submitted for background processing"

    Hi,
    I am going to try to explain this issue the best I can. Please let me know if you need any other information or have any ideas as I have exhausted my resources. We have an ASP.NET application that has highly formatted crystal reports in them that the users can export as PDFs. All reports export without a problem when the application is run off of our desktops. The reports use a sql server authenticated user, executing stored procedures, and each subreport is linked by the main parameter. We are using Visual Studio 2008 version 3.5 SP1 with Crystal Reports Basic for Visual Studio 2008 on Windows 7 Enterprise SP1. We have designed the reports in Crystal Reports XI Release 2 (11.5.12.1838) and imported them into the ASP.NET application. When trying to export the reports as PDFs from the development or production servers, we get the error message below for some, not all, reports:
    System.Runtime.InteropServices.COMException (0x800002AD):  Error in File C:\Windows\TEMP\KeyAccountProfile {9FA5C095-77A2-425D-AC6B-8BB66B435336}.rpt: The request could not be submitted for background processing.     at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)     at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    We have cleared the temp directory on the servers before exporting and are still receiving the error. We have installed Crystal Reports Basic Runtime for Visual Studio (10.5.2.0) on both servers. I have identified the underlying issue to one stored procedure/subreport that is causing the report to fail. The weird thing is, when we change the connection to point to development, the stored procedure/subreport runs fine for the report that generates an error when run from production, and the data is the exact same. I have tried rebuilding the subreport but the error still appears even though it runs fine for other reports.
    I have been through the document below, and othe similar issues in the forums, but still have not found a resolution. I was trying to use the "modules" application put since this is an ASP.NET application I am unsure of which executable I should be looking at.
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33?QuickLink=index&overridelayout=true&36837934524320
    Thanks in advance for your assistance,
    Brad Hood
    06-26-14
    OK.. I did some more investigating on this today. I have found out when I move the sub report that generates the error under another sub report, the sub report in question runs without issue. But when I try and move the sub report that produces the error above any other sub report, the error still generates. Can this get any weirder.... FYI.. there is a total of ten sub reports on this report.

    Hi Brad
    I'm not sure that Modules would show us anything in this case, so let's try a few other things:
    1) Make sure you are using SP 1 for Crystal Reports Basic Runtime for Visual Studio:
    Crystal Reports for VS 2005 and VS 2008 Updates & Runtime Downloads
    2) Seeing as this works on dev, this may be some db inconsistency so enabling the report option "Verify on 1st Print" will be a good idea.
    3) Double check the database client and make sure the same client is used on dev and deployed systems. Actually I take back my Modules negative as this is where it may prove useful. Once you have the Modules logs, look at who is loading the crpe32.dll, then look at that process and see the client dlls.
    4) Check the printer driver; see if there are any updates. Try a different printer driver.
    Ten subreports is not too bad, though not that good either as you are loading the report engine with at minimum 11 simultaneous reports (each subreport is considered to be a report). If a subreport is in a details section and the details section returns a 100 records, you are running 100 + 1 reports. This may lead to memory issues, which may lead to the error.
    If I was a betting man, I'd put most of my money on the printer driver (based on your last addition to your post). What ever money I had left would go to some database issue (be it actual data or client related).
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for

  • What is the biggest stopper in the BizTalk application testing?

    To me the biggest stopper is the work with the test endpoints.  Let me explain. To test BTS applicaion in isolation we have to create new test ports (or modify existed ports which is the unlikely approach of course). After tests we have to remove the

  • ORA12801 errors in JDBC

    Any reason why we would get this error? java.sql.SQLException: ORA-12801: error signaled in parallel query server P002 ORA-00604: error occurred at recursive SQL level 2 ORA-00060: deadlock detected while waiting for resource null

  • OSX 10.5.8 to Mountain Lion

    I have a Powerbook G4 with OSX 10.5.8 can I upgrade software to Mountain Lion

  • PAP2T does not make calls

    Hallo guys, I bought Linksys Phone adapter PAP2T. I read the manual, and I did the configuration, the phone light is on, which means that it takes the signal from my provider, but I can't make calls. Should I press something else before the dialing n

  • Can't access 2nd hard drive - " ..you do not have sufficient privileges"

    I recently performed an Erase & Install on my PowerPC G5. Everything is fine with the main HD, but not with my 2nd hard drive; I can't access it (The folder "Hard Drive 2" could not be opened becuase you do not have the sufficient privileges). The ic