Assura and NFS deleting old runs

Discussion in 'Cadence' started by Rick, Sep 21, 2004.

  1. Rick

    Rick Guest

    Im having a problem with Assura not being able to delete the files from the
    previous run. Assura get hunk up trying to delete, the process "rm" runs
    continuously. All of the files are gone except the .nfsxxx files. Unix rm
    has the same problem. How should NFS be set up so this does not happen? I
    want to talk to our sys-admins but Im not sure what to ask them to do.

    Thanks

    Rick
     
    Rick, Sep 21, 2004
    #1
  2. Yippieee,

    I have the same problem and I'm in discussion with Cadence now since
    3 Weeks.

    See my previous posting:
    http://groups.google.de/groups?hl=d...ght&th=79f7b3aea7512dfa&seekm=2q2nnvFqhaduU1@

    I detect some more:
    - It's only with Assura 3.1.2 Hotfix1 or USR1 not with the
    Assura 3.1.2 Base installation
    - In our environment the lvs run files are on a Network Appliance file
    server.
    - It happens only for already LVS clean cells not for cells
    where layout and schematic did not match.

    Can you confirm this?

    Today my local Cadence AE filed a Program Change Request for this
    issue, even if they can not exactly reproduce this behaviour of Assura
    the PCR No. is #746442.

    I would appreciate it if you could tell your Cadence AE to append
    to this PCR.

    Replies direct to


    Regards Bernd
     
    Bernd Fischer, Sep 21, 2004
    #2
  3. Rick

    fogh Guest

    You can system-trace your rm (using truss, tusc, or strace) , and your sysadmin can watch the logs from NFS daemon (and related kernel stuff), after he set them to be most verbose.
     
    fogh, Sep 22, 2004
    #3
  4. You can not do a truss on the rm
    because the rm is here a child process of the
    second Assura run where Assura itself is launched
    from the UI out of the Design Framework.

    We did a truss on icfb, but it does not help to
    identify the problem.

    Bernd
     
    Bernd Fischer, Sep 22, 2004
    #4
  5. ..nfsXXXX files are "created" when you (or some process on your behalf)
    remove a file which is opened by another process. They're placeholder
    names which disappear automatically when the process is done using them.

    It's quite possible that this is a bug in Assura.

    There's a utility around called "lsof" (LiSt Open Files). It's
    installed on most Linux distributions; for other OSes, you will need to
    have your sysadmin install it. Typing "lsof /path/to/.nfsXXXX" (from
    the client machine) should identify the culprit.

    Dave
     
    David Cuthbert, Sep 23, 2004
    #5
  6. I think it would get it if you do a truss -f which follows child
    processes.

    Normally .nfsxx files indicate that some application still has a file
    open - it requires some sort of handle on the file if it gets deleted.
    With local disk you can refer to a file via its inode, but an NFS
    mounted disk requires a file name (I believe).

    So almost certainly the problem is due to something not closing a file
    when it should.

    Andrew.
     
    Andrew Beckett, Sep 23, 2004
    #6
  7. Rick

    fogh Guest

    It could be "fuser" rather than "lsof". But if you have /proc filesystem
    it makes thinks simpler. (is that a copyrighted corp motto? :)
     
    fogh, Sep 23, 2004
    #7
  8. That's what Rick an I already discussed direct.

    'lsof ./*' (list open files)
    and you will see that icfb is keeping the LVS run files open.

    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    icfb.exe 1901 bernd 9r VREG 255,1462 671 6592030 ./index
    icfb.exe 1901 bernd 30r VREG 255,1462 221 6592031 ./stat
    icfb.exe 1901 bernd 33r VREG 255,1462 954 6592032 ./extr
    icfb.exe 1901 bernd 35r VREG 255,1462 671 6592030 ./index
    icfb.exe 1901 bernd 36r VREG 255,1462 221 6592031 ./stat
    icfb.exe 1901 bernd 37r VREG 255,1462 954 6592032 ./extr

    Bernd
     
    Bernd Fischer, Sep 24, 2004
    #8
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.