Summary: | [VFS] vfs_bio_getpages: infinite loop | ||
---|---|---|---|
Product: | Base System | Reporter: | Alexandre martins <alexandre.martins> |
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed DUPLICATE | ||
Severity: | Affects Only Me | CC: | alexandre.martins, markj, ota, pho |
Priority: | --- | ||
Version: | 12.0-STABLE | ||
Hardware: | amd64 | ||
OS: | Any |
Description
Alexandre martins
2019-04-02 12:59:58 UTC
Some additional info: - I'm running on UFS - I'm running Asynchronous - The machine has 12 CPU I updated the issue and changed the affected version. The stable 12 has the same problem. All file systems are OK. I have to do manually the fsck each time because the tool send me the error "PARTIALLY TRUNCATED INODE" and is unable to recover the error. # mount /dev/ufs/root on / (ufs, local, noatime) devfs on /dev (devfs, local, multilabel) /dev/ufs/var on /var (ufs, local, noatime) /dev/ufs/tmp on /tmp (ufs, asynchronous, local, noatime) /dev/ufs/usr on /usr (ufs, asynchronous, local, noatime) /dev/ufs/home on /home (ufs, asynchronous, local, noatime) # tunefs -p /dev/ufs/root (all file systems are the same) Password: tunefs: POSIX.1e ACLs: (-a) disabled tunefs: NFSv4 ACLs: (-N) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) disabled tunefs: soft update journaling: (-j) disabled tunefs: gjournal: (-J) disabled tunefs: trim: (-t) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 4096 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: space to hold for metadata blocks: (-k) 5240 tunefs: optimization preference: (-o) time tunefs: volume label: (-L) root I have not yet been able to reproduce the problem. I have a core file from Alexandre host: https://people.freebsd.org/~pho/bug236961.12.0-STABLE.coredump.txz After some investigation, it seems that the condition "if (ma[i]->valid != VM_PAGE_BITS_ALL)" (into vfs_bio_getpages) is always true in my case. Hello, The problem disappear when I put the /tmp folder (via symlink) in the same partition than /home (where the build run) To recap my disk configuration: - the build (source + objects) runs on /home partition - the /tmp is on the same disk as /home, but before (/tmp is quicker than /home) - Both /home and /tmp are "async + noatime" - I use ccache (but seems not relevant) - The swap is not the problem (freeze occurs when I disable it) - When /tmp is a symlink to a folder in /home, the problem disappear. What does "swapctl -l" show? "systat -swap" also helps to monitor swap page usage. We believe this will be fixed by r359464. *** This bug has been marked as a duplicate of bug 242626 *** |