Unless I'm missing something, it sounds like the child process continues to run after system() returns (e.g. you are using '&' in your system call or the child itself spawns other children that live past it). The reason I say this is because NFS is no different than other filesystems -- the write calls to it must complete before they return to writing process. So this isn't really an NFS issue and may eventually bite you even without NFS.
If you have control of the child's code, you should be able to make sure it finishes completly before returning from system by making sure it isn't doing anything in the background.
If you don't control the child's code, but know all of the process PIDs, you can wait for them to die off. Otherwise, you'll probably have to pick a method of polling (as the other monks here have mentioned).
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.