![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Icq: 14420613
Industry Role:
Join Date: Mar 2001
Location: chicago
Posts: 15,432
|
freebsd question
How do i free inact memory up?
I have something on my server thats not releasing memory after its done running and i need to do it manually ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
ps -aux
Find the number for the process that is still running. kill 723648 (or whatever the number is)
__________________
I like pie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Icq: 14420613
Industry Role:
Join Date: Mar 2001
Location: chicago
Posts: 15,432
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: May 2002
Location: Doesn't matter, I'm not buying you another pint!
Posts: 1,511
|
The VM in FreeBSD will bring inactive pages into the pool as
needed. If you've a memory leak from some piece of shit program, ...get out the debugger and fix it. What is the exact messages that are generated on the cons? You're not just running top or something and figuring that the VM system works like winXX and assuming a low number is all that is really there right? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Icq: 14420613
Industry Role:
Join Date: Mar 2001
Location: chicago
Posts: 15,432
|
Quote:
Ok here is the story im running top to check stats, thurday the box got upgraded to 1664 megs of ram from 640 box got rebooted with about 900 megs of free ram slowly till today that # has gone down to 68 megs now my traffic is only up 20% since the ram upgrade and im running the same scripts as before my tech is on vacation and wont be back for a few more days so i figured either free up inactive or reboot to fix the problem till he gets back and can look at it. Tell me if my thinking is wrong. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Icq: 14420613
Industry Role:
Join Date: Mar 2001
Location: chicago
Posts: 15,432
|
bump
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: May 2002
Location: Doesn't matter, I'm not buying you another pint!
Posts: 1,511
|
Are you running a stock kernel?
Post the line like Mem: 12M Active, 14M Inact, 25M Wired, 5444K Cache, 14M Buf, 3168K Free from your top display. It's probably as simple as just tuning the user space VM settings. and recompiling the kernel. You did say you're not running anything new. Better would be to do a vmstat -m and ICQ me over the output to look at. 176592333 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Mar 2002
Location: NY
Posts: 4,994
|
1664 megs of ram, what dimms did you put in to get that freaky number?
![]() Anyway stop fretting about inactive memory, if you arent using any swap it doesnt matter, also look at the number of apaches or inactive processes you are running, more likely than not these are responsible for your inactive memory. But in any case inactive memory isnt bad for the system, it means nothing unless you are heavy in swap usage. 49 processes: 2 running, 47 sleeping CPU states: 10.1% user, 0.0% nice, 15.5% system, 0.0% interrupt, 74.3% idle Mem: 167M Active, 559M Inact, 123M Wired, 580K Cache, 199M Buf, 1159M Free Swap: 512M Total, 512M Free |
![]() |
![]() ![]() ![]() ![]() ![]() |