Menu

#3 disconnect from nfs file system

Daemonize!
assigned
None
major
1.0
task
2011-07-03
2010-10-07
No

Make sure that the engines have no more connections to the home directory. Check whether the engines read config files from ~/.ipython, and find another solution for that. Any open file should be located on a local directory, like /var/tmp.

Of course, the path should be configurable via command line or config file.

Discussion

  • Michael Schmuker

    • description modified (diff)
     
  • Michael Schmuker

    It seems the only file which is kept open is the logfile:

    ls -l /proc/<ipengine_pid>/fd 
    total 0
    lr-x------ 1 schmuker login_neuroinf 64 Jul  3 10:13 0 -> pipe:[48458560]
    l-wx------ 1 schmuker login_neuroinf 64 Jul  3 10:13 1 -> pipe:[48458561]
    l-wx------ 1 schmuker login_neuroinf 64 Jul  3 10:13 2 -> pipe:[48458562]
    l-wx------ 1 schmuker login_neuroinf 64 Jul  3 10:13 3 -> /home/fenn/schmuker/.ipython/log/ipengine21758-21765.log
    lr-x------ 1 schmuker login_neuroinf 64 Jul  3 10:13 5 -> pipe:[48458569]
    l-wx------ 1 schmuker login_neuroinf 64 Jul  3 10:13 6 -> pipe:[48458569]
    lrwx------ 1 schmuker login_neuroinf 64 Jul  3 10:13 7 -> socket:[48458576]
    

    the -l option lets us specify a log file. We should put it in /var/tmp/<mkstemp> or something.

     
  • Michael Schmuker

    • owner set to mschmuker
    • status changed from new to assigned
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.