|
|
|
@@ -64,12 +64,7 @@ int sanitycheck (int care_about_realtime, |
|
|
|
fprintf(stderr, "\t (this second option only works on relatively recent computers)\n"); |
|
|
|
fprintf(stderr, "--------------------------------------------------------------------------------\n\n"); |
|
|
|
} |
|
|
|
if (system_memlock_is_unlimited()) { |
|
|
|
fprintf(stderr, "\nMemory locking is unlimited - this is dangerous. You should probably alter the line:\n"); |
|
|
|
fprintf(stderr, " @audio - memlock unlimited"); |
|
|
|
fprintf(stderr, "\nin your /etc/limits.conf to read:\n"); |
|
|
|
fprintf(stderr, " @audio - memlock %llu\n", (system_available_physical_mem()*3)/4096); |
|
|
|
} else if (0==system_memlock_amount()) { |
|
|
|
if (0==system_memlock_amount()) { |
|
|
|
errors++; |
|
|
|
relogin++; |
|
|
|
fprintf(stderr, "\nYou are not allowed to lock memory. Please add a line\n"); |
|
|
|
|