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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-20-2003, 09:50 AM   #1
sandman!
Icq: 14420613
 
sandman!'s Avatar
 
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
sandman! is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-20-2003, 09:54 AM   #2
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
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.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-20-2003, 10:06 AM   #3
sandman!
Icq: 14420613
 
sandman!'s Avatar
 
Industry Role:
Join Date: Mar 2001
Location: chicago
Posts: 15,432
Quote:
Originally posted by Armed & Hammered
ps -aux

Find the number for the process that is still running.

kill 723648 (or whatever the number is)
I know how to kill process i need to free up inactive ram im not sure what process it is there is nothing running righ now i think its a script i run that leaves shit inactive after its done.
sandman! is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-20-2003, 10:22 AM   #4
some_idiot
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?
__________________

This AVS pays my mortgage!
some_idiot is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-20-2003, 10:36 AM   #5
sandman!
Icq: 14420613
 
sandman!'s Avatar
 
Industry Role:
Join Date: Mar 2001
Location: chicago
Posts: 15,432
Quote:
Originally posted by some_idiot
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?

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.
sandman! is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-20-2003, 11:00 AM   #6
sandman!
Icq: 14420613
 
sandman!'s Avatar
 
Industry Role:
Join Date: Mar 2001
Location: chicago
Posts: 15,432
bump
sandman! is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-20-2003, 11:05 AM   #7
some_idiot
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
__________________

This AVS pays my mortgage!
some_idiot is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-20-2003, 11:40 AM   #8
liquidmoe
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
liquidmoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.