Number of Open Files in DB Server

Hi everyone,
I need some advise from Unix and Oracle experts on a query that my customer raised.
There are 3 additional application servers added recently. Before the app servers are brought up, I increased the Oracle processes and sessions parameters.
Then, my customer's UNIX administrator asked this question which made me ponder if it's true :
"Changing some of the Oracle parameters can also effect the Unix kernel parameters.  For example if there are 256 data files and 4 application servers each with 99 work processes that means that SAP can have at least 101,376 open files on the DB server without the additional Oracle open files and those need for the OS etc. "
I just wonder, does SAP processes really perform read-write on the Oracle datafiles ? Isn't it that the SAP processes logon to Oracle server processes, and it is the Oracle instance that perform the IO on the datafiles ?
The DB server has 343 processes which corresponds to the actual number of total processes in all the app servers. And there are 202 datafiles.
Does that means only 343 processes will open datafiles ? Or will it be 202 files open only ? Or is it like what the Unix administrator said in the example ?
Can someone please enlighten me ?
Thank you,
Kent Peh

Hi again
I give you some example with commands on a real system.
SQL> select count(*) from dba_data_files;
  COUNT(*)
       262
SQL> select count(*) from dba_temp_files;
  COUNT(*)
         8
SQL> show parameter processes
NAME                                 TYPE        VALUE
processes                            integer     620
So we have a system with 270 data/tempfiles and a maxium of 620 processes, so the theoretical maximum of open files can be over 270x620. Lets check how many processes we really have at the moment:
orasid> ps -ef | grep ora | wc -l
330
This includes, all shadow and background processes one shell (mine) and even my ps command )
But we do have slightly above 300 oracle processes here. So we might have roughly 270x300 = 81000 files open at the moment. Lets see, i use lsof to list the open files of the oracle command and redirect the output to a file, just because there is really a lot of files open on this system:
orasid> lsof -c oracle > /tmp/lsof.out
This includes directory entries, looks like there is some shared memory stuff, even tcp connections as well (we forgot about these until now). I think all these need file handles on unix as well, so be it. So in our example we have 46557 files open:
orasid> wc -l lsof.out
46557 lsof.out
You can dig further in the lsof.out, for example how many times is one single data file open:
orasid> grep /oracle/SID/sapdata2/stabd_4/stabd.data4 lsof.out | wc -l
209
I hope i did not do too many mistakes here, have fun!
Best regards, Michael
BTW: there is a maximum of 131072 (= 0x20000) open files on this system (HP-UX IA64)
orasid> /usr/sbin/kctune -v nfile
Tunable             nfile
Description         Maximum number of file descriptors (system-wide)
Module              fs
Current Value       0x20000
Edited by: mho on Feb 7, 2008 9:26 AM

Similar Messages

  • InfoSpoke fails with message "Could not open file on application server"

    BW Experts,
    I created an InfoSpoke that is configured to extract to a flat file. The name of the file is specified using a logical filename. During extraction, the infospoke reports the error message "Could not open file on application server" adnd  marks the extraction process as red(failed). I have tried to run the InfoSpoke in background mode and in dialog mode and the same error appears. After i run in dialog mode, i checked SU53 for authorization errors and did not find any. I also tried changing the Logical filename setup in transaction FILE to a more "friendly" directory in which i'm sure i have authorizations (e.g. my UNIX home directory) and im still getting errors.
    Can you please share your thoughts on this? Any help will greatly appreciated. I also promise to award points.

    Hi Nagesh,
    Thanks for helping out.
    If i configure the InfoSpoke to download to a file using "File Name" option and also check the "Application server" checkbox, the extract works correctly (extraction to the defualt SAP path and filename=infospoke name). If i configure the InfoSpoke to download to the local workstation, the InfoSpoke also works correctly. It's only when i configure it to download to the application server and use the "Logical filename" option, that i encounter a failed extract.
    Here are the messages is the Open Hub Monitor:
    (red icon) Request No.147515
    0 Data Records
    Runtime 1 sec.
    (red icon)Run No. 1
    0 Data Records
    Runtime 1 sec.
    Messages for Run
    Extraction is running RSBO 305
    Could not open file on application server RSBO 214
    Request 147515 was terminated before extraction RSBO 326
    Request 1475151: Error occured RSBO 322
    If i clink on the error message, no messages nor clues are displayed. Note, this is a new InfoSpoke that is currently in the dev system.
    Please help.

  • The dialog box open twice when open file from the server

    I use the following code to download/open file from the server:
    <%
    String filename = "MengxianhuiDocTest.doc";
    String filepath = "D:\\";
    response.setContentType("APPLICATION/OCTET-STREAM");
    response.setHeader("Content-Disposition",
    ??attachment; filename=\"" + filename + "\"");
    java.io.FileInputStream fileInputStream =
    new java.io.FileInputStream(filepath + filename);
    int i;
    while ((i=fileInputStream.read()) != -1) {
    out.write(i);
    fileInputStream.close();
    out.close();
    %>
    If the application runs, the Open or Save dialog box display.When I select open the file,
    the dialog box will display twice.
    Pls help me.
    Thanks.

    thx
    but I tried it and it did't work.
    The dialog box also display twice.

  • ORA-22290: operation would exceed the maximum number of opened files or LOB

    i am getting this error in a procedure.
    ORA-22290: operation would exceed the maximum number of opened files or LOBs
    22290, 00000, "operation would exceed the maximum number of opened files or LOBs"
    // *Cause: The number of open files or LOBs has reached the maximum limit.
    // *Action: Close some of the opened files or LOBs and retry the operation.
    NAME TYPE VALUE
    session_max_open_files integer 10
    Procuedure:
    CREATE OR REPLACE PROCEDURE WMSOWN."PROC_WMS_XML_READ"
    P_EVENT_KEY IN VARCHAR2,
    X_STATUS_MSG OUT VARCHAR2,
    X_STATUS OUT NUMBER
    )AS
    l_parser dbms_xmlparser.Parser;
    domdoc xmldom.DOMDocument;
    nodelist XMLDOM.DOMNODELIST;
    node XMLDOM.DOMNODE;
    n_child XMLDOM.DOMNODE;
    elements XMLDOM.DOMELEMENT;
    name_node_map XMLDOM.DOMNAMEDNODEMAP;
    parent_seg varchar2(4000);
    tag_name_bkp varchar2(4000); -- LOOK OUT BRAD IS CODING AGAIN
    chile_seg VARCHAR2(4000);
    p_seg VARCHAR2(4000);
    p_seg1 VARCHAR2(4000);
    p_seg2 VARCHAR2(30);
    p_int_name VARCHAR2(50);
    col_value VARCHAR2(100):=NULL;
    len1 NUMBER;
    cnt NUMBER;
    seg_id_bkp NUMBER; -- LOOK OUT BRAD IS CODING AGAIN
    sequence_bkp NUMBER; -- LOOK OUT BRAD IS CODING AGAIN
    prev_sequence NUMBER; -- LOOK OUT BRAD IS CODING AGAIN
    prev_seq_set VARCHAR2(3); --brad coding
    parent_id number; ---brad coding
    valid_seg NUMBER; -- LOOK OUT BRAD IS CODING AGAIN
    data_status VARCHAR2(10);
    v_main_seg VARCHAR2(50);
    v_seq_no NUMBER;
    V_CLOBLOCATOR CLOB;
    V_FILELOCATOR BFILE;
    v_amount_to_load NUMBER;
    dest_offset NUMBER := 1;
    src_offset NUMBER := 1;
    lang_context NUMBER := DBMS_LOB.DEFAULT_LANG_CTX;
    warning NUMBER;
    v_event_name USR_OUB_FILE_PROCESS_DETAILS.EVENT_NAME%TYPE;
    v_file_name USR_OUB_FILE_PROCESS_DETAILS.FILE_NAME%TYPE;
    DIRECTORY_PATH_INVALID EXCEPTION;
    PRAGMA EXCEPTION_INIT(DIRECTORY_PATH_INVALID,-22285);
    NO_PRIVILEGES EXCEPTION;
    PRAGMA EXCEPTION_INIT(NO_PRIVILEGES,-22286);
    INVALID_DIRECTORY EXCEPTION;
    PRAGMA EXCEPTION_INIT(INVALID_DIRECTORY,-22287);
    FILE_NOT_FOUND EXCEPTION;
    PRAGMA EXCEPTION_INIT(FILE_NOT_FOUND,-22289);
    P_DIRECTORY VARCHAR2(50) :='WMS_XML_DIR_OUB';
    v_whid poldat_view.wh_id%type;
    BEGIN
    --NAME :  PROC_WMS_XML_READ.PLS
    --DESCRIPTION :
    -- Procedure PROC_WMS_XML_READ search XML files from remote location.
    -- Open,Parse and Read XML files. Store all XML values into tables.
    -- Developed by Dharmesh Patidar(jw782)
    -- History: New condition is added i.e. p_seg:=parent_seg to maintain PARENT and CHILD relationship
    -- by Vishwanath Dubey(jl246) on 17-June-2011
    -- BRAD_XML_DEBUG table removed for CLEANING Activity by DHARMESH PATIDAR(JW782) ON 29-JUNE-2011.
    /*BLOCK FOR CAPTURING EVENT NAME BASED ON EVENT ID START*/
    BEGIN
    SELECT event_name,file_name,WAREHOUSE_ID
    INTO v_event_name, v_file_name,v_whid
    FROM usr_oub_file_process_details
    WHERE event_id=p_event_key
    AND process_flag='U';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    x_status_msg:=SQLCODE||':'||' Error while selecting event name and event id in Procedure PROC_WMS_XML_READ : Record is not available in USR_OUB_FILE_PROCESS_DETAILS table for event id '|| P_EVENT_KEY;
    x_status:=SQLCODE;
    proc_wms_error_trace(v_whid, --warehouse id
    null , --event id
    v_event_name , --event name
    x_status, --error code
    x_status_msg ); --error message
    RETURN;
    WHEN TOO_MANY_ROWS THEN
    x_status_msg:=SQLCODE||':'||' Error while selecting event name and event id in Procedure PROC_WMS_XML_READ : More than one Records found in USR_OUB_FILE_PROCESS_DETAILS table for event id '|| P_EVENT_KEY;
    x_status:=SQLCODE;
    proc_wms_error_trace(v_whid, --warehouse id
    null , --event id
    v_event_name , --event name
    x_status, --error code
    x_status_msg ); --error message
    RETURN;
    WHEN VALUE_ERROR THEN
    x_status_msg:=SQLCODE||':'||' Error while selecting event name and event id in Procedure PROC_WMS_XML_READ : Varibale length is small or data type mismatch while selecting event id and event name in USR_OUB_FILE_PROCESS_DETAILS table for event id '|| P_EVENT_KEY;
    x_status:=SQLCODE;
    proc_wms_error_trace(v_whid, --warehouse id
    null , --event id
    v_event_name , --event name
    x_status, --error code
    x_status_msg ); --error message
    RETURN;
    WHEN OTHERS THEN
    x_status_msg:=SQLCODE||':'||'Error in Procedure PROC_WMS_XML_READ while selecting event name and event id ';
    x_status:=SQLCODE;
    proc_wms_error_trace(v_whid, --warehouse id
    null , --event id
    v_event_name , --event name
    x_status, --error code
    x_status_msg ); --error message
    RETURN;
    END;
    /*BLOCK FOR CAPTURING EVENT NAME BASED ON EVENT ID END*/
    /*LOGIC TO READ XML FROM REMOTE LOCATION START*/
    DBMS_LOB.CREATETEMPORARY(V_CLOBLOCATOR, TRUE);
    V_FILELOCATOR := BFILENAME(P_DIRECTORY,V_FILE_NAME);
    DBMS_LOB.OPEN(V_FILELOCATOR,DBMS_LOB.FILE_READONLY);
    V_AMOUNT_TO_LOAD := DBMS_LOB.GETLENGTH(V_FILELOCATOR);
    DBMS_LOB.LOADCLOBFROMFILE(V_CLOBLOCATOR,
    V_FILELOCATOR ,
    V_AMOUNT_TO_LOAD,
    DEST_OFFSET,
    SRC_OFFSET,
    0,
    LANG_CONTEXT,
    WARNING);
    dbms_lob.close(V_FILELOCATOR);
    /*LOGIC TO READ XML FROM REMOTE LOCATION END*/
    /*Temporary Code to help with debug Clear the table before populating it with new data*/
    --delete table BRAD_XML_DEBUG;
    cnt:=1;
    seg_id_bkp:=0;
    data_status:='N';
    v_seq_no:=0;
    prev_seq_set:='NO';
    /*create new parser.*/
    l_parser := dbms_xmlparser.newParser;
    dbms_xmlparser.parseClob(l_parser, replace(V_CLOBLOCATOR,'&','1x2x3x4x5'));
    /*Parse the document and create a new DOM document.*/
    domdoc :=dbms_xmlparser.getDocument(l_parser);
    /* get all elements in the DOM*/
    nodelist := XMLDOM.getElementsByTagName(DOMDoc, '*');
    len1 := XMLDOM.getLength(nodelist);
    /* loop through elements of the DOM */
    FOR j in 1..len1-1 LOOP --MAIN LOOP START
    BEGIN
    /*below sql will fetch Node from table to travel xml data*/
    BEGIN
    SELECT int_name,tag_name
    INTO p_int_name, p_seg1
    FROM usr_wms_tag_det
    WHERE int_name=v_event_name
    AND seq_no =cnt;
    EXCEPTION
    --PLEASE DO NOT HANDLE ANY EXCEPTION APART MENTIONED BELOW
    WHEN OTHERS THEN
    NULL;
    END;
    IF cnt=1 THEN
    v_main_seg:=p_seg1;
    END IF;
    EXCEPTION
    --PLEASE DO NOT HANDLE ANY EXCEPTION APART MENTIONED BELOW
    WHEN no_data_found THEN
    null;
    WHEN OTHERS THEN
    x_status_msg:=SQLCODE||':'||'Error in Procedure PROC_WMS_XML_READ while selecting interface name and tag name'||sqlerrm;
    x_status:=SQLCODE;
    proc_wms_error_trace(v_whid, --warehouse id
    null , --event id
    v_event_name , --event name
    x_status, --error code
    x_status_msg ); --error message
    RETURN;
    END;
    /*LOGICS TO READ XML START*/
    node:=XMLDOM.item(nodelist, j);
    elements:=XMLDOM.makeElement(node);
    parent_seg:=(xmldom.getTagName(elements));
    tag_name_bkp:=(xmldom.getTagName(elements));
    name_node_map:=xmldom.getAttributes(node);
    n_child:=xmldom.getFirstChild(node);
    col_value:=xmldom.getNodeValue(n_child);
    /*get the sequence number from the interface hierarchy table */
    SELECT count(1)
    INTO valid_seg
    FROM usr_wms_tag_det
    WHERE int_name=v_event_name
    AND tag_name = tag_name_bkp;
    if valid_seg>0 then
    begin
    SELECT seq_no
    INTO sequence_bkp
    FROM usr_wms_tag_det
    WHERE int_name=v_event_name
    AND tag_name = tag_name_bkp;
    seg_id_bkp:=seg_id_bkp+1;
    p_seg:=parent_seg;--Modified by Vishwanath Dubey dated 16-jun-2011
    end;
    end if;
    if prev_seq_set = 'NO' then
    begin
    prev_sequence := sequence_bkp;
    prev_seq_set := 'YES';
    end;
    end if;
    if sequence_bkp < prev_sequence then --you just moved up level(s) in the message structure
    begin
    select max(seg_id)
    into parent_id
    from usr_wms_global_xml_det
    where seg_sequence = sequence_bkp-1;
    prev_sequence := sequence_bkp;
    end;
    end if;
    if sequence_bkp > prev_sequence then --you just moved down a level in the message structure
    parent_id := seg_id_bkp-1;
    prev_sequence := sequence_bkp;
    end if;
    /*end getting the hierarchy table sequence */
    /*LOGICS TO READ XML END */
    IF (parent_seg =p_seg1) or (parent_seg=p_seg2) THEN
    if parent_seg=v_main_seg then
    v_seq_no:=v_seq_no+1;
    end if;
    BEGIN
    /* INSERTING DATA LOGICS TO READ XML END */
    INSERT INTO usr_wms_global_xml_det values(p_int_name,tag_name_bkp,parent_seg,seg_id_bkp,sequence_bkp,parent_id,'','','',J,v_seq_no,data_status,cnt);
    EXCEPTION
    WHEN OTHERS THEN
    x_status_msg:=SQLCODE||' : Error in Procedure PROC_WMS_XML_READ while inserting records in USR_WMS_GLOBAL_XML_DET table for interface name and parent segment '||P_INT_NAME||','||PARENT_SEG;
    x_status:=SQLCODE;
    proc_wms_error_trace(v_whid, --warehouse id
    null , --event id
    v_event_name , --event name
    x_status, --error code
    x_status_msg ); --error message
    RETURN;
    END ;
    p_seg:=parent_seg;
    p_seg2:=P_SEG1;
    cnt:=cnt+1;
    ELSE
    chile_seg:=parent_seg;
    BEGIN
    /* INSERTING DATA LOGICS TO READ XML END */
    INSERT INTO usr_wms_global_xml_det values(p_int_name,tag_name_bkp,p_seg,seg_id_bkp,sequence_bkp,parent_id,'',chile_seg,replace(TRIM(Col_Value),'1x2x3x4x5','&'),J,v_seq_no,data_status,cnt);
    EXCEPTION
    WHEN OTHERS THEN
    x_status_msg:=SQLCODE||' : Error in Procedure PROC_WMS_XML_READ while inserting records in USR_WMS_GLOBAL_XML_DET table for interface name and parent segment '||P_INT_NAME||','||PARENT_SEG;
    x_status:=SQLCODE;
    proc_wms_error_trace(v_whid, --warehouse id
    null , --event id
    v_event_name , --event name
    x_status, --error code
    x_status_msg ); --error message
    RETURN;
    END;
    END IF;
    END LOOP; --MAIN LOOP END
    dbms_xmldom.freeDocument(DOMDoc);
    x_status:=0;
    EXCEPTION
    WHEN DIRECTORY_PATH_INVALID THEN
    x_status_msg:=SQLCODE||' : Error in Procedure PROC_WMS_XML_READ DIRECTORY PATH IS INVALID';
    x_status:=SQLCODE;
    proc_wms_error_trace(v_whid, --warehouse id
    null , --event id
    v_event_name , --event name
    x_status, --error code
    x_status_msg ); --error message
    RETURN;
    WHEN FILE_NOT_FOUND THEN
    x_status_msg:=SQLCODE||' : Error in Procedure PROC_WMS_XML_READ INVALID XML FILE NAME OR FILE DOES NOT EXISTS';
    x_status:=SQLCODE;
    proc_wms_error_trace(v_whid, --warehouse id
    null , --event id
    v_event_name , --event name
    x_status, --error code
    x_status_msg ); --error message
    RETURN;
    WHEN NO_PRIVILEGES THEN
    x_status_msg:=SQLCODE||' : Error in Procedure PROC_WMS_XML_READ Insufficient privileges on file or directory NAME- '||p_directory||' to perform FILEOPEN operation.';
    x_status:=SQLCODE;
    proc_wms_error_trace(v_whid, --warehouse id
    null , --event id
    v_event_name , --event name
    x_status, --error code
    x_status_msg ); --error message
    RETURN;
    WHEN OTHERS THEN
    x_status_msg:=SQLCODE||' : Error in Procedure PROC_WMS_XML_READ '|| SQLERRM;
    x_status:=SQLCODE;
    proc_wms_error_trace(v_whid, --warehouse id
    null , --event id
    v_event_name , --event name
    x_status, --error code
    x_status_msg ); --error message
    dbms_xmlparser.freeParser(l_parser);
    dbms_xmldom.freeDocument(DOMDoc);
    RETURN;
    END PROC_WMS_XML_READ;
    Edited by: user13427480 on Feb 8, 2013 7:08 PM

    when you post sql statement use also similar threads :
    ORA-22290: operation would exceed the maximum number of opened files or LOB
    https://kr.forums.oracle.com/forums/thread.jspa?messageID=10842417                                                                                                                                                                                                                                                                                                                                                                                                           

  • Number of open files

    Is there any way I can read kernel data structure that contains the number of open files on the system? I know I can traverse the /proc tree or
    use the lsof program, but it creates too much overhead for my application.
    This parameter must be somewhere in the kernel - I can't beleive that Solaris reads all /proc tree every time I open a file :-)

    ...hi Alex. I may not have a complete answer to your question, but I did want to clarify one thing.
    It's not like the kernel every has to read the /proc file system tree because the /proc file system IS part of the kernel. It's simply a virtual file system that makes certain parts of the kernel's memory look like a bunch of files.
    So, except for the overhead associated with the system calls necessary to "read" through that space with your application, the performance bind is minimal.
    That brings us to the open file handles limit. Here's what I see in the "Solaris Internals" book.
    Systemwide limit for the number of files a process may open:
    rlim_fd_max - systemwide hard limit
    rlim_fd_cur - systemwide soft limit (or default, or current if you will)
    You can change the per-process limit (maybe bump up from the default to the hard limit) with limit(1) and ulimit(1) commands, or programatically with the function setrlimit(2).
    Further, if you are using the <stdio.h> interface to access a file, there is a limit on 32-bit systems of 256 because an 8-bit number is used to represent the file handle. On a 64-bit system the number is closer to 65000. (16-bit number in use)
    So that brings us to your real problem, which is how to test for the number of filehandles a process has open at this moment. I don't know that I have a good answer, but I presume that you've already ruled out the pfiles(1) command. This program (/usr/proc/bin/pfiles) gives good output and does a nice job of getting you really good information about open files.
    You may not want to execute it from your own process (otherwise you have the execution overhead and you still have to parse the output) but you may find the source code for it to be instructive.
    I haven't looked at it, but I would imagine that you could probably trace it to the source of information about how the kernel represents open file information.
    If you don't have Solaris source code, perhaps you know someone who has a license. I'll poke around and see if I can find any other useful information that is related to this question.
    ---v

  • Maximum number of open files..

    I'm looking for some help...probably a consultant to give us a call.
    I need to know the following:
    For 2.6 and 7, number of open files per process default and maximum setting.
    Procedure to change the default setting to the maximum
    Amont of RAM required to handle the max setting.
    Risks inherent in setting this parameter to the max.
    Any info on test environments where max setting has been utilized (e.g. datase TPC benchmarks, etc..)
    Feel free to call 408.861.1103 - happy to pay for the advice.

    Hi!
    The maximum number of file descriptors per process is set by two parameters:
    rlim_fd_cur (soft limit, defaults to 64)
    rlim_fd_max (hard limit, defaults to 1024)
    Processes may raise their soft limit up to the hard limit using setrlimit(2).
    Setting rlim_fd_cur high is not a problem as the file desciptors are allocated in chunks of 24 as required, and so not all in one go. They don't actually require that much memory either.
    As administrator you may set the limits by adding an entry to /etc/system, eg:
    set rlim_fd_max=600
    and rebooting.
    Note however on 32 bit solaris, the significant limitation is that the stdio library FILE structure limits your process to 256 fds. This is increased to 65536 for 64bit programs on solaris 7.
    Select(3c) can use up to 65536 fds (#define FD_SETSIZE 65536 in your code for 32bit solaris 7).
    Hope that helps.
    Ralph
    SUN DTS

  • Dreamweaver reports file "not found" when attempting to open files from SMB server...

    User's work-files are hosted on a Windows Server 2003 SP2 volume accessed via SMB. She's been opening and saving the files from the server successfully in Dreamweaver for years from other Macs running Dreamweaver CS4.
    Now she has an iMac running 10.7.4 and Dreamweaver CS6... and it's not the SMB problem you'd expect.
    She mounts the server volume. She opens and saves files normally with full r/w permissions from any app... except Dreamweaver. For any file that she attempts to open in Dreamweaver -- whether from the Finder or from within Dreamweaver -- Dreamweaver pops up an alert reporting that the file at the file-path was not found. The same file is easily accessible from other apps and from the Finder. She continues to have full read/write access to the shared volume.
    Local copies of the files do not have the problem. It only affects files hosted on the server and it only happens in Dreamweaver.
    So, I create a new user account and everything works fine... The user mounts the sharepoint, opens a file with Dreamweaver... perfectly normal. Then she quits Dreamweaver and relaunches it... everything's fine. Repeatedly. It all works normally. She quits Dreamweaver and unmounts the share, then she mounts the share again and tries to open a file in Dreamweaver again... and it reports that the file was not found.
    This is reproducible: If the server volume has been mounted and unmounted repeatedly under any user account, that triggers the error which continues occurring under that user account from that point on. A restart will not fix it. A safe-boot will not fix it. (In fact, restarting seems to trigger the problem by unmounting the volume.)
    I tried trashing the entire contents of the ~/Library folder in one of the test-user accounts. It doesn't fix the problem. Once it strikes a user account, the only temporary fix seems to be using a new user account. And that's like a ticking time bomb just waiting for the problem to pop up again.
    Any ideas?
    TIA!!

    I've seen on two computers so far. Looking at the mount point under unix, the share is being mounted at two different locations. This is normal behaviour for Macs when you mount two different shares with the same name.
    From terminal I run:
    df
    Which returns something like
    /dev/disk0s2                           1951845952 224463456 1726870496    12%    /
    devfs                                         360       360          0   100%    /dev
    map -hosts                                      0         0          0   100%    /net
    map auto_home                                   0         0          0   100%    /home
    //[email protected]/website  204360384  38067872  166292512    19%    /Volumes/website
    //[email protected]/website  204360384  38067872  166292512    19%    /Volumes/website-1
    map -fstab                                      0         0          0   100%    /Network/Servers
    Notice that the share "website" has been mounted once as website, and again as website-1. This is the underlying unix name for the share, which is how most programs (99% sure including Adobe suite products) will reference files. So, if it thinks that the file is at /Volumes/website/site/index.html but can only see /Volumes/website-1/ then it doesn't know what to do.
    The confusion arises because both will show in Finder as "website". Even more annoying is that Finder does not always unmount shares correctly, so that /Volumes/website might not be accessible but /Volumes/website-1 will be. As far as the user is concerned, the share "website" is still mounted, but as far as Dreamweaver is concerned, it isn't, although website-1 is.
    It's the same share, same data, but is being referenced by different names, so does not seem accessible.
    BUT
    I don't have a solution yet, apart from force unmounting both (or rebooting), remounting, and checking that Dreamweaver is using the right share (perhaps by removing and readding from within Dreamweaver).
    Tedious.

  • How do I increase the number of opened files in LabWindows?

    There's a Win32 function _setmaxstdio, but it doesn't seem to be included in the stdio.h version in LabWindows.  I'm using the fopen call and it's limited to 512 opened files.  MSDN help says to use the _setmaxstdio function.  Is there anyway to do this with the LabWindows compiler?
    Thanks!

    This number is defined in stdio.h as FOPEN_MAX and it is set to 255. Are you using fopen to open your files? _setmaxstdio is not supported for CVI. Why do you need to have more than 512 files open at one time?
    I am going to go ahead and say that this is not recommended. This can put a heavy strain on your system and can also suffocate your OS of file descriptors (remember that other applications and your OS itself will be opening files as well). Likely there is another way to architect your application so that you do not need that many files open at one time. Typically you do not leave files open. You open, read/write, then close.
    National Instruments
    Product Support Engineer

  • Unable to Open File In Application Server

    Hi All,
    I have generated csv file in application Server with the help of Open HUb Destination.In Open Hub 2 files will we generated(1 is structure of the file(s_ztest),2 is data file(ztest)).When i click on the structure of the file then it is opening,but when im tryin to open data file(i,e(ztest)its giving an message like UNABLE TO OPEN THE FILE.
    Please let me know how it can be opened.
    Thanks In Advance,
    Bobby

    Hi All,
    File is Opening,it was an error in filed mapping....

  • Lion Preview and Textedit very slow when opening files from Leopard Server

    My small office (about 10 users) recently upgraded our iMac's, Mac Mini's, and Macbook Pro's.  We are experiencing a big problem with Preview opening super slow (1-2 minutes) when trying to open JPG's, PDF's, etc from our 10.5.8 Leopard Server.  We have deleted numerous plist files related to Preview, completely deleted Preview.app from one iMac and reinstalled it via Pacifist and still no change in performance.  One of the new iMac's does open much faster than the others, but we cannot figure out why this one machine works well and the others don't.
    All machines are showing the below error (dozens of times) in Console when trying to open files directly from the server...
    sandboxd:  ([###])  Preview(###) deny system-fsctl
    We have searched the internet for a solution but have not come up with anything that works.  This problem exists with Textedit as well.  We did try opening a file from one Lion machine to the other and it opened very fast.  We also can open files very quickly from older 10.4.11 Tiger machines directly from the server.  So the best we can determine right now is Lion and Leopard Server are not playing nicely together.
    Any help would be greatly appreciated.
    I have pasted (one of) the console log files below for reference.
    Preview(3364) deny system-fsctl
    Process:         Preview [3364]
    Path:            /Applications/Preview.app/Contents/MacOS/Preview
    Load Address:    0x102c9a000
    Identifier:      Preview
    Version:         ??? (???)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [114]
    Date/Time:       2012-04-24 13:28:40.470 -0700
    OS Version:      Mac OS X 10.7.3 (11D50d)
    Report Version:  7
    Backtrace:
    0   libsystem_kernel.dylib                  0x00007fff922a0516 fsctl + 10
    1   AppleShareClientCore                    0x0000000105629f4a afp_getMountURL + 112
    2   afp                                     0x0000000104e7fe03 AFP_GetMountInfo + 161
    3   NetFS                                   0x00007fff8a17c295 NetFSGetMountInfo + 147
    4   NetFS                                   0x00007fff8a17e08f GetCompleteMountURL + 68
    5   CoreServicesInternal                    0x00007fff86ef1e51 _ZL29addVolumeInfoForURLToBookmarkPK13__CFAllocatorR19BookmarkMutableDataPK7__C FURLmjPK9__CFArrayPP9__CFError + 1535
    6   CoreServicesInternal                    0x00007fff86ef12fb _ZL28createBookmarkWithURLAtDepthPK13__CFAllocatorPK7__CFURLmS4_PK9__CFArrayR19 BookmarkMutableDatajbPP9__CFError + 3230
    7   CoreServicesInternal                    0x00007fff86ef2443 _CFURLCreateBookmarkData + 1309
    8   CoreFoundation                          0x00007fff8d1e3219 -[NSURL bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:] + 105
    9   Foundation                              0x00007fff91b72fbf -[NSURL(NSURL) encodeWithCoder:] + 239
    10  Foundation                              0x00007fff91b2e4ed _encodeObject + 1120
    11  Preview                                 0x0000000102cdfb4d
    12  AppKit                                  0x00007fff90975f0b -[NSWindow encodeRestorableStateWithCoder:] + 316
    13  AppKit                                  0x00007fff90974a00 -[NSPersistentUIRecord generateArchive:] + 177
    14  AppKit                                  0x00007fff90975937 recursivelyEncodeInvalidPersistentState + 525
    15  AppKit                                  0x00007fff90973ccc -[NSPersistentUIManager flushAllChangesOptionallyWaitingUntilDone:updatingSnapshots:] + 1128
    16  AppKit                                  0x00007fff90973836 -[NSPersistentUIManager flushPersistentStateAndClose:waitingUntilDone:] + 182
    17  AppKit                                  0x00007fff90973714 __-[NSPersistentUIManager acquireDirtyState]_block_invoke_1 + 53
    18  libdispatch.dylib                       0x00007fff8a79b2b6 _dispatch_source_invoke + 635
    19  libdispatch.dylib                       0x00007fff8a797f77 _dispatch_queue_invoke + 71
    20  libdispatch.dylib                       0x00007fff8a7986f7 _dispatch_main_queue_callback_4CF + 257
    21  CoreFoundation                          0x00007fff8d0da06c __CFRunLoopRun + 1724
    22  CoreFoundation                          0x00007fff8d0d9676 CFRunLoopRunSpecific + 230
    23  HIToolbox                               0x00007fff86aa731f RunCurrentEventLoopInMode + 277
    24  HIToolbox                               0x00007fff86aae5c9 ReceiveNextEventCommon + 355
    25  HIToolbox                               0x00007fff86aae456 BlockUntilNextEventMatchingListInMode + 62
    26  AppKit                                  0x00007fff90918f5d _DPSNextEvent + 659
    27  AppKit                                  0x00007fff90918861 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
    28  AppKit                                  0x00007fff9091519d -[NSApplication run] + 470
    29  AppKit                                  0x00007fff90b93b88 NSApplicationMain + 867
    30  Preview                                 0x0000000102c9bdb4
    Binary Images:
           0x102c9a000 -        0x102e7efef  com.apple.Preview (5.5.1 - 719.16) <EE12E506-F88C-319F-A2B4-5EF997884F0C> /Applications/Preview.app/Contents/MacOS/Preview
           0x104e7f000 -        0x104e86fff  com.apple.URLMount.AFPPlugin (4.0 - 4.0) <91C71C5D-562D-37C4-9131-6E6F086288DE> /System/Library/Filesystems/NetFSPlugins/afp.bundle/Contents/MacOS/afp
           0x105618000 -        0x105664ff7  com.apple.AppleShareClientCore (2.5 - 2.5) <CC62F28C-398E-35E2-B2C0-B85A02E57247> /System/Library/Frameworks/AppleShareClientCore.framework/Versions/A/AppleShare ClientCore
        0x7fff86aa5000 -     0x7fff86dcfff7  com.apple.HIToolbox (1.8 - ???) <D6A0D513-4893-35B4-9FFE-865FF419F2C2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
        0x7fff86eec000 -     0x7fff86f17ff7  com.apple.CoreServicesInternal (113.12 - 113.12) <C37DAC1A-35D2-30EC-9112-5EEECED5C461> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/Cor eServicesInternal
        0x7fff8a17a000 -     0x7fff8a181fff  com.apple.NetFS (4.0 - 4.0) <433EEE54-E383-3505-9154-45B909FD3AF0> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
        0x7fff8a795000 -     0x7fff8a7a3fff  libdispatch.dylib (187.7.0 - compatibility 1.0.0) <712AAEAC-AD90-37F7-B71F-293FF8AE8723> /usr/lib/system/libdispatch.dylib
        0x7fff8d0a1000 -     0x7fff8d275fff  com.apple.CoreFoundation (6.7.1 - 635.19) <57B77925-9065-38C9-A05B-02F4F9ED007C> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
        0x7fff90910000 -     0x7fff91514fff  com.apple.AppKit (6.7.3 - 1138.32) <A9EB81C6-C519-3F29-89F1-42C3E8930281> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
        0x7fff91ae2000 -     0x7fff91dfbff7  com.apple.Foundation (6.7.1 - 833.24) <6D4E6F93-64EF-3D41-AE80-2BB10E2E6323> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7fff92289000 -     0x7fff922a9fff  libsystem_kernel.dylib (1699.24.8 - compatibility 1.0.0) <C56819BB-3779-3726-B610-4CF7B3ABB6F9> /usr/lib/system/libsystem_kernel.dylib

    "Enable Related Files" isn't the fix for this issue. It's slightly different - I wanted to still load related files, but only the ones local to the file I was editing.
    The fix was to use DW's Resolve To IP Address feature. It required adding a registry value - it fixed the issue straight away
    This Adobe support doc helped: http://kb2.adobe.com/cps/887/cpsid_88742.html

  • Problem opening file in application server received by FTP.

    Hi,
    I am using FTP_COPY to receive file in application server.
    I am receiving file from FTP but I am unable to open them because the mode was set as 640 as in attributes.
    Could you please help me in how to receive in readable format...
    Any suggestions to use FTP commands?
    Thanks in advance.

    If you do not have authorizations to open the file its easy: there is nothing you can do except contact the ftp admin.

  • Error opening files on a server "Application is missing" for every file type

    Hello,
    I have got quite a strange problem with Maverick and a server (Isilon NAS).
    When we connect to this server, with SMB or CIFS, it's impossible to open a file because "The application is missing". They are .PDF or .XLSX files mainly, so nothing exotic.
    If we copy those files locally we are able to open them. The problem is only happening on two new MacBook Pro, we have roughly 40 other various Macs without this bug.
    It's possible to "fix" the problem temporary by connecting to the same server, but on another share : smb://my_server/one_share -> "The application is missing", smb://my_server/another_share -> Working as expected. But next time "another_share" won't work, but "one_share" will...
    We tried to troubleshoot the problem but it looks like a really rare bug, we are going to install the Combo Updates to see if it helps.
    Any suggestion or idea is welcomed.
    Have a nice day

    Hi
    Did you try some steps given in the following article
    "Some files on the server may be missing or incorrect" Warning Message
    See if that helps. Do let me know if you have any question.

  • Error when opening files using SMB server

    I’m trying to download files using a Windows SMB server, but it does not work properly. I'm using a VPN connection to access the server. I already added smb protocol in my system preferences (using 'more internet'), but when I’m trying to open a file, the following error message (code 36) appears:
    The Finder cannot complete the operation because some of the data in smb://........ could not be read or written.
    The Console gives the following error message:
    mount_smbfs: can't get server address `……:
    Unknown host
    mount_smbfs: can't get server address: syserr = Network is down
    Does anyone know how to solve thed error? Thanx in advance!
    iBook G4   Mac OS X (10.4)  

    This has been bugging me. Typically, the FileOpenClient error would include the name of the "client" referenced by the FileOpenClient parameter in the ditafm.ini file (I don't think it really does anything, but that's not the point). In this case it's not indicating the name of the client. After some testing it looks like FM10 (probably FM9 as well) prints this error along with the message about being unable to open a file. I have a feeling that it's just a bogus error message. However, the message about being unable to open the file is real.
    Note that there is a difference between being unable to "open" of "locate" a file .. you'll see different messages in each condition. This (and the message from M_Boyd) are "open" errors. Off hand I don't know why. Try manually opening the file specified and see if you get any errors. I've not been able to replicate the "open" error (just a "locate" error) even when I corrupt the target file so it is invalid XML. When I do this, the xref does not properly resolve, and it *does* add significant time to the time it takes to open the referencing file .. but I'm not getting any errors written to the console for this .. strange.
    Also note that the error says "Unable to resolve link" .. this means a "link" element is the referencing element, as opposed to an "xref". If it was an xref it would say "Unable to resolve xref".
    Bottom line .. don't worry about the FileOpenClient error .. I think it's just bogus. But there is some reason that FM isn't able to open your referenced files. I'd strip out all of the references and start over with just one .. make sure it works before adding more. The simpler you can keep the directory structure the better.
    Cheers,
    ...scott

  • On linux, Acrobat Reader will not open files on SMB server

    I try double clicking a file on a network SMB server in Nautilus on Ubuntu and Acrobat reader starts but does not open the file.
    What's going on?
    Alex

    Hi Alex,<br /><br />Just for confirmation, have you opened the Windows share in Nautilus directly i.e. using URL of the form smb://<server-name>/<share-name>/ and then trying to open the PDF file by double-clicking?<br />If that is the case, it is a known issue.<br /><br />In the meantime, one way to open the PDF file (if you have sufficient privileges) would be to mount the SMB share, open the share (from the mount point) in Nautilus and then try to open the PDF by double-clicking?<br />Could you please try this and let us know if there are any issues with this?<br /><br />Thanks for the feedback,<br />Varun

  • Can't open files off of server in Yosemite and CC.

    We recently upgraded our team computers to Yosemite.  They are all iMac 27".   We also installed CC apps after the upgrade.  Now anytime we try and open a file that is stored on our team server we get error messages regarding filetype being unopenable or "someone else may have this open"  which is not the case.  We can copy the files to our desktops and they open just fine but as long as they are on the server we can't edit them. (My preferred workflow but not everyone on my teams)  Anyone else found this issue and a workaround?

    Yosemite sometimes has problems, often related to "default" permissions needing to be changed
    -one person's solution https://forums.adobe.com/thread/1689788
    -http://blogs.adobe.com/creativecloud/creative-cloud-and-yosemite/
    -https://helpx.adobe.com/x-productkb/global/mac-os-yosemite-compatability.html

Maybe you are looking for

  • Jcr:content not getting replaced by _jcr_content

    Hi, we have a problem with some image paths rendered in the markup which points to a specific image rendition, i.e the "jcr:content" node is a part of the path. For some of the image paths, "jcr:content" is not getting replaced by "_jcr_content" caus

  • NLS_LENGTH_SEMANTICS, how does it work?

    The tilde character produced below is going to take up at least a couple of bytes and because my NLS_LENGTH_SEMANTICS is set to byte "x" is i assume only capable of storing 1 byte so shouldn't the code excerpt throw up an error? When i run this code

  • Populating price agreements for performace base contracts with idoc

    Hi Experts, We are trying to create Contracts through idoc. We are using CRMXIF_ORDER_SAVE_M02 idoc and we are able to successfully create the flat fee contract and performance base contracts. we are having problem with populating the price agreement

  • A program that reads in secounds, and prints out hours minutes

    Hi, im new to Java and just testing something out. (Sorry for my bad english) How do i make a java application where the user input secounds, and the program "transforms" these secounds into hours, minutes and secounds. Like this: 11873 --> 3 hours,

  • Not able to activate ??

    Hi Experts, I have created a namespace (urn:idoctofile:ab). In that I have created 2 datatype. One is Root and second is the DT. But here I am not able to activate it. Showing the below error: Namespace "Namespace" is not defined in the software comp