LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-25-2002, 07:42 PM   #1
kill4u666
LQ Newbie
 
Registered: Jan 2002
Posts: 3

Rep: Reputation: 0
Iptables / Memory Usage


Hello,

I have a linux firewall running Mandrake Linux 8.1 (Vitamin) which has been updated to the 2.4.8-34.1mdk kernel. The computer has 128Meg of memory.

What I have been observing is that the amount of free memory continuously drops as I am using the
Neo-Modus Direct Connect(DC) program to trade data. DC is a peer-to-peer file trading program.

When the machine boots I will have about 90Meg
free as reported by the "free" command. As a cron job, I check memory every 5 minutes...The free memory drops almost every time I look at it....

This process will continue until the machine finally hard locks up....I have observed that within 1 minute of lock-up, the free memory will be down to about 4 Meg......The lock up requires a hardware reset as you can not gain control of the computer in any other way.......

A co-worker told me that IPTABLES must remain in physical memory and will not use SWAP.....This statement has been backed up by my observations.......

Does anyone have an idea what may be causing this type of a memory leak?....?????.........Along with any possible solutions...........

Thanks,
kill4u666
 
Old 01-25-2002, 11:24 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
run top and see what's doing it
 
Old 01-27-2002, 09:58 AM   #3
kill4u666
LQ Newbie
 
Registered: Jan 2002
Posts: 3

Original Poster
Rep: Reputation: 0
Hello,

Top does not display anything using more than 2% of the memory......Neither does 'ps -aux'.......

Further review showed the culprit to be the
"slocate.cron" job which was run by anacron....
Eventhough I had disabled anacron for run level 3
.........

I moved slocate and makewhatis out of the cron path and the memory leak seems to be gone.....


Guess only time will tell if this is truely the solution....

Thanks for the help....
Kill4u666
 
Old 02-23-2002, 05:42 PM   #4
Franzose
LQ Newbie
 
Registered: Feb 2002
Posts: 3

Rep: Reputation: 0
Wink Wonna know how....

Hi,

I want to know how you get DC to work in active mode? I tried several times but it never worked....

thanks....
 
Old 02-23-2002, 05:42 PM   #5
Franzose
LQ Newbie
 
Registered: Feb 2002
Posts: 3

Rep: Reputation: 0
Wink Wonna know how....

Hi,

I want to know how you get DC to work in active mode? I tried several times but it never worked....

thanks....
 
  


Reply



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
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 05:55 AM
Memory usage jklewis Linux - Software 2 01-30-2004 05:27 AM
Memory Usage? LiquidIce Linux - General 4 04-29-2003 07:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:42 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration