workarounds for nscd and java

From: Guy Coates (gmpc_at_sanger.ac.uk)
Date: Wed Jul 22 2009 - 06:13:33 PDT

  • Next message: Paul H. Hargrove: "Re: workarounds for nscd and java"
    Hi,
    
    There are a couple of additional workarounds that might be useful to add to the
    FAQs about checkpointing with nscd:
    
    Why do I get "vmadump: mmap failed: /var/db/nscd/[something]" in the system logs?)
    
    and java jobs:
    
    (Why do I get "vmadump: mmap failed: /tmp/hsperfdata_[user]/[pid]" in the system
    logs?)
    
    You can disable the nscd filedescriptor passing behaviour which confuses BLCR by
    adding the following options to your nscd.conf file:
    
    shared                  passwd          no
    shared                  group           no
    shared                  hosts           no
    
    (The only place this seems to be documented is
    http://anusf.anu.edu.au/~djh900/nscd.html)
    
    
    The sun java runtimes can be made BLCR friendly by adding the following option
    when calling java:
    
     -XX:-UsePerfData
    
    This will prevent the creation of the /tmp/hsperfdata* files.
    
    Cheers,
    
    Guy
    
    -- 
    Dr. Guy Coates,  Informatics System Group
    The Wellcome Trust Sanger Institute, Hinxton, Cambridge, CB10 1HH, UK
    Tel: +44 (0)1223 834244 x 6925
    Fax: +44 (0)1223 496802
    
    
    -- 
     The Wellcome Trust Sanger Institute is operated by Genome Research 
     Limited, a charity registered in England with number 1021457 and a 
     company registered in England with number 2742969, whose registered 
     office is 215 Euston Road, London, NW1 2BE. 
    

  • Next message: Paul H. Hargrove: "Re: workarounds for nscd and java"