Hi Thomas, >> I'd ideally like to have Watchdog keep an >> eye on available memory on the system and if we reach a minimal fee >> memory limit then the system will be reset. >> >> After looking through the Watchdog.conf manpage it gives the following >> description: >> >> min-memory = <minpage> >> >> Set the minimal amount of virtual memory that has to stay free. Note >> that this is in pages. Default value is 0 pages which means this test is >> disabled. The page size is taken from the system include files. >> >> My question with regards to this is, how does a 'page' refer to MB of >> free memory? How many pages make up 1 MB? For instance, if I wanted to >> reboot the system when we had only 20MB of available memory, what would >> my <minpage> setting be? This is a horribly naive question I know but >> it's not something I've worked with before. J >> > > IMHO pages in x86 means 1 page = 4 kbytes. > > - Thomas
Thanks for your opinion on this. I'll try working to this idea this afternoon, create a memory leak on the system and see if it triggers properly. Thank you, Robert _______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux
