Ok, something weird is going on. Either that or I don't understand how the computer measures memory usuage. Here are some logs from the record_usage() function: 15:15:37 :: rusage: usr time: 2 sec, sys time: 0 sec, max res size: 1760 kbytes 15:25:37 :: rusage: usr time: 3 sec, sys time: 1 sec, max res size: 1760 kbytes 15:35:37 :: rusage: usr time: 4 sec, sys time: 2 sec, max res size: 1776 kbytes 15:45:37 :: rusage: usr time: 5 sec, sys time: 4 sec, max res size: 1784 kbytes 15:55:37 :: rusage: usr time: 7 sec, sys time: 5 sec, max res size: 2216 kbytes 16:05:37 :: rusage: usr time: 8 sec, sys time: 6 sec, max res size: 2232 kbytes 16:15:37 :: rusage: usr time: 10 sec, sys time: 7 sec, max res size: 2248 kbytes 16:25:37 :: rusage: usr time: 11 sec, sys time: 9 sec, max res size: 2340 kbytes 16:35:37 :: rusage: usr time: 13 sec, sys time: 10 sec, max res size: 2340 kbytes 16:45:37 :: rusage: usr time: 14 sec, sys time: 11 sec, max res size: 2348 kbytes 16:55:37 :: rusage: usr time: 16 sec, sys time: 12 sec, max res size: 2348 kbytes 17:05:37 :: rusage: usr time: 17 sec, sys time: 14 sec, max res size: 2348 kbytes This was the first record that made me think I had a memory leak. The max res size kept increasing. However, this is a record from a stock circle mud: 10:56:21 :: rusage: user time: 5 sec, system time: 0 sec, max res size: 3208 11:00:21 :: rusage: user time: 6 sec, system time: 1 sec, max res size: 3224 11:00:51 :: rusage: user time: 6 sec, system time: 1 sec, max res size: 3228 11:05:21 :: rusage: user time: 6 sec, system time: 1 sec, max res size: 3228 11:05:51 :: rusage: user time: 6 sec, system time: 1 sec, max res size: 3240 11:10:21 :: rusage: user time: 7 sec, system time: 1 sec, max res size: 3248 11:10:51 :: rusage: user time: 7 sec, system time: 1 sec, max res size: 3252 11:11:51 :: rusage: user time: 7 sec, system time: 1 sec, max res size: 3256 Under both circumstances the max res size is increasing. Maybe I don't entirely undrestand what the max res size is. I imagined that the memory usage would go up and down, not just up. Is this normal? I guess what I really want to know is if I have a memory leak or not? All the above measurements were take on an SGI running IRIX 5.3 IP12 mips The details I posted last night were taken from a machine running Linux. I am a little warry about bringing the mud for any length of time on the Linux machine where the mud will be running (permenantly) if there is a memory leak (its not fair to the other users of the machine) Help please. -Haddixx -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Haddixx | -=-=-Implementor of Avalanche MUD-=-=- | + Brian M. Menges + Running at: 143.207.31.45 8000 + | haddixx@megamed.com | Web Page: http://www.megamed.com/~haddixx | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/07/00 PST