> ./stress --cpu 8 --io 4 --vm 2 --vm-bytes 2M --timeout 300s > The problem seems to be caused by the vm part of the stress code. > When I run this with vm = 1 it works fine , when the vm thread is > increased it causes the problem. > The thread does sync > > while (1){ > sync (); > } Sorry of the terrible mistake VM thread does malloc and free. while (1) { if (do_malloc) { dbg (stdout, "allocating %lli bytes ...\n", bytes); if (!(ptr = (char *) malloc (bytes * sizeof (char)))) { err (stderr, "hogvm malloc failed: %s\n", strerror (errno)); return 1; } if (keep) do_malloc = 0; } dbg (stdout, "touching bytes in strides of %lli bytes ...\n", stride); for (i = 0; i < bytes; i += stride) ptr[i] = 'Z'; /* Ensure that COW happens. */ if (hang == 0) { dbg (stdout, "sleeping forever with allocated memory\n"); while (1) sleep (1024); } else if (hang > 0) { dbg (stdout, "sleeping for %llis with allocated memory\n", hang); sleep (hang); } if (do_malloc) { free (ptr); dbg (stdout, "freed %lli bytes\n", bytes); } } -- Regards, Giri - To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html