LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 05-25-2007, 05:52 AM   #1
Mr_Shameless
Member
 
Registered: Aug 2006
Location: Asia
Distribution: Ubuntu
Posts: 59

Rep: Reputation: 15
(looks like) memory leak after reinstalling everything in Port Tree.


Im using FreeBSD 6.2 on my computer as a desktop.

A few days ago, I deinstalled a package under the port tree, turned off the monitor and went outside. It was not until i came back did i realize i was standing at /usr/ports/ when deinstalling, oops .

Then i reinstalled my packages one by one, starting with Xorg. This time, i decided that i wouldnt use a Display Manager anymore, and used startx instead. I installed IceWM and ROX, and put these lines into my ~/.xinitrc file:
Code:
#!/bin/sh

exec /usr/local/bin/rox -p=MyPinboard &
exec /usr/local/bin/icewm
After rebooting and starting up, from the output of the top command, i have 134MBs of free RAM. This is weird. Before the "disaster", when starting up with GDM, then icewm-session (which included icewm itself, icembg, icemtray and some other things) and ROX, i still had 154MBs of free memory.

One more thing: Right after reinstalling Xorg, when i started up FreeBSD but not startx yet, i had 221MBs free. Now (i dont know after what package is installed) when i start FreeBSD without X, i have only 211MBs free.

Could there be any leak? Reinstalling packages can't duplicate anything right?

From the output of the top command, i see many similar command running, like 7 getty's, 2 sendmail's, 2 sh's, and 2 dhclient's.

O, about the sendmail thing, it's already disabled in /etc/defaults/rc.conf (and not enabled in /etc/rc.conf), how could it still appear here?

Thank you

Last edited by Mr_Shameless; 05-25-2007 at 06:01 AM.
 
Old 05-25-2007, 05:57 AM   #2
Mr_Shameless
Member
 
Registered: Aug 2006
Location: Asia
Distribution: Ubuntu
Posts: 59

Original Poster
Rep: Reputation: 15
PS:

1. When reinstalling, i use the command "make install clean", not "make reinstall clean". Could that be what cause the problem?

2. My previous packages were compile with -O, and the new ones now are compiled with -O2 -pipe. But that can't be the reason by any mean, right?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory leak? habl Slackware 11 02-02-2007 03:44 PM
memory leak mfitzpat Linux - Newbie 1 09-24-2004 02:58 PM
possible memory leak?? matt80 Linux - General 2 07-01-2004 11:07 PM
Memory Leak when using memory debugging C program on SuSE SLES8 babalina Linux - Distributions 0 10-06-2003 09:39 AM
Memory Leak FredrikN Linux - General 4 09-17-2002 03:16 PM


All times are GMT -5. The time now is 09:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration