/*
- * $Id: filemap.cc,v 1.25 1998/04/16 21:51:55 wessels Exp $
+ * $Id: filemap.cc,v 1.26 1998/05/22 23:28:37 wessels Exp $
*
* DEBUG: section 8 Swap File Bitmap
* AUTHOR: Harvest Derived
fm->n_files_in_map++;
if (!fm->toggle && (fm->n_files_in_map > ((fm->max_n_files * 7) >> 3))) {
fm->toggle++;
- debug(8, 0) ("You should increment MAX_SWAP_FILE\n");
+ debug(8, 0) ("WARNING: filemap utilization at %d%%\n"
+ "\tConsider decreasing store_avg_object_size in squid.conf\n",
+ percent(fm->n_files_in_map, fm->max_n_files));
} else if (fm->n_files_in_map > (fm->max_n_files - 100)) {
fatal("You've run out of swap file numbers.");
}