List, I've got a process(s) that have been exiting on a signal 11, but not all the time. I suspect it's memory related, and I was wondering, is there any way to tell exactly how much memory a particular process has in use at the point it sigsev's ? I can't sit here and watch top or the system monitor, but thought maybe something might be saved somewhere after the fact. The processes are using at the moment, 1.4gb of memory and no swap. I've not seen swap go active during any of this process run, and the machine has 2 GB memory installed. Rather hard to trace down the exact activity when it happens. Thanks.. -- Snowman
Sam Drinkard wrote:> List, > > I've got a process(s) that have been exiting on a signal 11, but not > all the time. I suspect it's memory related, and I was wondering, is > there any way to tell exactly how much memory a particular process has > in use at the point it sigsev's ? I can't sit here and watch top or the > system monitor, but thought maybe something might be saved somewhere > after the fact. The processes are using at the moment, 1.4gb of memory > and no swap. I've not seen swap go active during any of this process > run, and the machine has 2 GB memory installed. Rather hard to trace > down the exact activity when it happens.After the process starts, strace it: strace -p `ps -ef |grep YourProc |grep -v grep | awk '{print $1}'` -Mark
B.T.D.T! catch the signal in a handler of your own, do analysis as needed, then clean up and exit (saving a core file if you need one). AIUI, the signal handler runs in the space of the process/thread that hit the trap. Brian Brunner brian.t.brunner at gai-tronics.com (610)796-5838>>> sam at wa4phy.net 11/25/05 10:47AM >>>List, I've got a process(s) that have been exiting on a signal 11, but not all the time. I suspect it's memory related, and I was wondering, is there any way to tell exactly how much memory a particular process has in use at the point it sigsegv's ? ******************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. www.hubbell.com - Hubbell Incorporated