Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i appear to be having some kind of memory usage problem... a big one... i have been moitoring my system with free recently and right now(after only 20 hours of uptime) i have about 251 of my 256 megs used... when my system boots i have about 70 megs used.. and over time it just adds up... i have almost nothing running except apache, mysql, and the normal stuff...any suggestions? if needed ill post the output of $ps -ax..
ok i did a 'top' and then used 'M' to get the sort.. X and all its components are usng about 30% of my mem, enlightenment, netscape and X... after those there is only small ones like 1.5, 1.4, 1.0, 0.9... a question when daemons are running, how many instances of each should show up on 'top'... cuz i have like 10 httpd's and 5 mysqld, each httpd is like .9% and each mysqld is .8%... i have no clue.. i did build 'mm' in with apache... and this problem possibly started then, im not quite sure... any help is 'preciated..
------
new..
i used 'gtop' in x and it has a nice gui for top.. i added up all the processes that it had listed, and they only came out to like 90M... why is it a 'free' and 'top' are both showing that i have 255M used... oh yeh i tried to kill a couple httpd's and they came back, so i think they is a number of thoses always there..
This seems absolutely normal.
Since linux use the memory quite different from windows you will only have a few meg memory free.
This is because linux use as much of the memory as possible for disk cache and buffers, and as soon as you need more memmory linux write the diskbuffers to disk freeing memory for your application. This speed up the use of disk and cache as frequently used files are in memmory instead of on the disk. This is the reason why you need to shut down linux proberly since the data in memory needs to be written to disk.
Since linux use the memory quite different from windows you will only have a few meg memory free. This is because linux use as much of the memory as possible for disk cache and buffers, and as soon as you need more memmory linux write the diskbuffers to disk freeing memory for your application. This speed up the use of disk and cache as frequently used files are in memmory instead of on the disk.
ugge,
i shouldve read your post a little closer! i was trippn cause of seeing $free and not understanding quite what it was saying.. thanks for the help...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.