|
From: Abdul Q. <abl...@ya...> - 2006-12-05 04:40:49
|
Hi, I need to know how can I check memroy leak in radiusd I use the following command valgrind --leak-check=full --num-callers=12 radiusd -X But I think valgrind only shows u memory leak after you exit the program. But I don't know how to quit radiusd so that valgrind ca dectect the leak in it. Is there any workaround for this. Thanking you in advance. Best Regards, Abdul Qadir --------------------------------- Any questions? Get answers on any topic at Yahoo! Answers. Try it now. |
|
From: Ivan S. <isj...@i1...> - 2006-12-05 08:50:18
|
On Tuesday 05 December 2006 05:40, Abdul Qadir wrote: > I need to know how can I check memroy leak in radiusd > I use the following command > valgrind --leak-check=full --num-callers=12 radiusd -X > > But I think valgrind only shows u memory leak after you exit the program. > But I don't know how to quit radiusd so that valgrind ca dectect the leak > in it. Is there any workaround for this. Most server programs cleans up and shuts down when they receive SIGTERM. Have you tried that? |
|
From: Abdul Q. <abl...@ya...> - 2006-12-05 11:20:49
|
Yes i did tried. I frogot to check the radiusd switches there was one -f which made it foreground process . Ivan Skytte Jørgensen <isj...@i1...> wrote: On Tuesday 05 December 2006 05:40, Abdul Qadir wrote: > I need to know how can I check memroy leak in radiusd > I use the following command > valgrind --leak-check=full --num-callers=12 radiusd -X > > But I think valgrind only shows u memory leak after you exit the program. > But I don't know how to quit radiusd so that valgrind ca dectect the leak > in it. Is there any workaround for this. Most server programs cleans up and shuts down when they receive SIGTERM. Have you tried that? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Valgrind-users mailing list Val...@li... https://lists.sourceforge.net/lists/listinfo/valgrind-users --------------------------------- Want to start your own business? Learn how on Yahoo! Small Business. |