Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Strange memory usage - Processes
Results 1 to 4 of 4

Thread: Strange memory usage - Processes

  1. #1

    Strange memory usage - Processes

    I posted in another forum on this board about my INSANE memory usage, so I will recap here and add something...
    Basically, my system, Slack 9.1 with a full-install, seems to use ALOT of memory. The sysem has 512Mb, and if I log in (INIT3) and just let it run with apache, proftpd, and sshd, my memory gets eaten up by about 100Mb every couple of hours. Finally, the memory will be used up, and it will start to use the swap.
    Now, something I noticed today... I usually open up alot of 'vi' sessions during my time on Slack, in a VAIN attempt to learn that POS editor... Anyway... ummm... Oh yeah... Well, I open vi or I run 'top', and get the info I need and close them out. After a while, my system will run slow, so I do another 'top'. Lo and behold, I have 'vi' sessions still going and several instances of top, that are using all of my resources. Two questions... Why aren't these processes ending when I close the app, and, with them not closing, what is causing them to use 90%+ of my CPU? I also have problems with 'iptraf'. I will use this to see if someone is downloading from my server (so I don't cut someone off if I need to reboot, or whatever) and ever since I ran it the first time, every time I open it and try to see option one (can't remember what it is off the top of my head) I can't see the info, as it tells me 'iptraf is already listening on that device". Keep in mind that, at this point, I haven't run iptraf during this session, and it is not set to autorun on boot (to my knowledge). If I run 'top' it doesn't show up, so... Maybe this relates to the 'vi' and top stuff above??? Fun stuff...
    Asus A8V Deluxe Mobo
    AMD Athlon64 X2 4400 -939
    2GB Crucial DDR3200 Dual-Channel
    ATi AiW 9800 Pro 128DDR
    Audigy2 ZS
    Sony DRU-810 DVD+RW DL
    3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 120Gb 16Mb Cache

  2. #2

    Re:Strange memory usage - Processes

    To close vi the command :q should be issued. Plain q will get you out of top.

    If those processes remain running after you've closed them, then use the kill command to shut them down. You can check for processes still running by issuing the command ps aux. Once this is done find the PID (Process ID), and use kill in this manner: kill -9 PID

    If you do find for some reason that these programs are still running, even after you've shut them down with the proper command, then there is probably something wrong with your systems, and it might be your home directory since you saved that.
    AMD Athlon 2200+ 1.8Ghz
    1280MB PC-3200 CAS2.5 RAM
    ATI Radeon 9600 Pro 128MB AGP
    Western Digital WDC WD2500JB-00FUA0 250GB 7200 rpm ATA/133
    Seagate ST3200822A 200GB 7200 rpm ATA/133
    Western Digital WDC WD1200BB-00CAA1 120GB 7200 rpm ATA/133
    Western Digital WDC WD800BB-00CAA1 80GB 7200 rpm ATA/133
    Maxtor OneTouch 2HA43R32 1TB 7200 rpm USB 2.0
    D-Link DFE-530TX+ 10/100 NIC
    D-Link DWL-G520 Rev.A
    Debian 5.0r1 Lenny

  3. #3

    Re:Strange memory usage - Processes

    Yeah, I knew that stuff (as far as how to close the apps), and that is why I am being thrown for a loop... Drives me nuts. I am just really getting fed up with this thing... I don't mind fiddling with something to get it working right, but spending more time fiddling with it, then I actually get to USE it... is getting a little out of hand...
    I guess I could format the /home, then setup all of my stuff again, and see if that helps...
    Asus A8V Deluxe Mobo
    AMD Athlon64 X2 4400 -939
    2GB Crucial DDR3200 Dual-Channel
    ATi AiW 9800 Pro 128DDR
    Audigy2 ZS
    Sony DRU-810 DVD+RW DL
    3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 120Gb 16Mb Cache

  4. #4

    Re:Strange memory usage - Processes

    What I mean by your home dir, is mainly the hidden folders. There is probably a .vi or .vim or something like that. Have you tried removing it, and letting the OS create a new one. Perhaps the carry over isn't going to smoothly.

    Although that really doesn't explain top though. Give this thread a little while longer before you go with a format. Maybe someone will come up with something.

    One last thing. Try to re-compile a new kernel for yourself to see if that helps.
    AMD Athlon 2200+ 1.8Ghz
    1280MB PC-3200 CAS2.5 RAM
    ATI Radeon 9600 Pro 128MB AGP
    Western Digital WDC WD2500JB-00FUA0 250GB 7200 rpm ATA/133
    Seagate ST3200822A 200GB 7200 rpm ATA/133
    Western Digital WDC WD1200BB-00CAA1 120GB 7200 rpm ATA/133
    Western Digital WDC WD800BB-00CAA1 80GB 7200 rpm ATA/133
    Maxtor OneTouch 2HA43R32 1TB 7200 rpm USB 2.0
    D-Link DFE-530TX+ 10/100 NIC
    D-Link DWL-G520 Rev.A
    Debian 5.0r1 Lenny

Similar Threads

  1. How to see all processes running on particular port in linux
    By praveen28 in forum Linux - General Topics
    Replies: 1
    Last Post: 06-07-2007, 06:18 PM
  2. Memory usage
    By BurntAsh in forum Linux - General Topics
    Replies: 7
    Last Post: 10-04-2003, 11:08 PM
  3. Processes running that I am clueless about
    By Rastar in forum Linux - General Topics
    Replies: 4
    Last Post: 04-03-2003, 05:29 AM
  4. background processes
    By blackjack in forum Linux - General Topics
    Replies: 7
    Last Post: 02-12-2002, 04:35 AM
  5. Poor memory usage
    By Kaiser_Sose in forum Linux - General Topics
    Replies: 12
    Last Post: 01-31-2002, 08:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •