LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-20-2008, 02:34 AM   #1
admir330
LQ Newbie
 
Registered: Feb 2004
Posts: 17

Rep: Reputation: 0
Red face All of the server memory 4 GB ram used; redhat 2.6.9; samba server 3.0! Help.


Hi, Please no new linux users responses!!!

My server is a Dell 1800 with a dualcore processor.
I bumped up the server from 2 GB Ram to 4 GB Ram.
The problem is that i do not see what is over-using all of my memory;
even though most of the samba users are not logged in and it is 2am in the morning. The information below is displayed with 8 users logged into samba domain.
Please only serious responses.
Let me know if you need more information. I will provide as much as I can without compromizing the security.

I am running a samba1 server only.

Linux galadriel 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 12 17:59:08 EDT 2007 i686 i686 i386 GNU/Linux

Version: Samba version 3.0.10-1.4E.12.2


here are the outputs:
=======================================================================

[root@galadriel ~]# top
top - 00:56:44 up 4 days, 14:18, 3 users, load average: 0.00, 0.00, 0.00
Tasks: 110 total, 1 running, 109 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0% us, 0.0% sy, 0.0% ni, 99.5% id, 0.5% wa, 0.0% hi, 0.0% si
Mem: 4151272k total, 4126924k used, 24348k free, 129464k buffers
Swap: 12289684k total, 224k used, 12289460k free, 3816272k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 16 0 2796 548 468 S 0 0.0 0:00.48 init
2 root RT 0 0 0 0 S 0 0.0 0:00.01 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.03 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.01 migration/1
5 root 34 19 0 0 0 S 0 0.0 0:00.05 ksoftirqd/1
6 root 5 -10 0 0 0 S 0 0.0 0:00.44 events/0
7 root 5 -10 0 0 0 S 0 0.0 0:00.02 events/1
8 root 8 -10 0 0 0 S 0 0.0 0:00.00 khelper
9 root 15 -10 0 0 0 S 0 0.0 0:00.00 kacpid
35 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/0
36 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/1
37 root 15 0 0 0 0 S 0 0.0 0:00.06 khubd
54 root 20 0 0 0 0 S 0 0.0 0:00.00 pdflush
55 root 15 0 0 0 0 S 0 0.0 0:01.34 pdflush
56 root 15 0 0 0 0 S 0 0.0 0:13.07 kswapd0
57 root 12 -10 0 0 0 S 0 0.0 0:00.00 aio/0
58 root 5 -10 0 0 0 S 0 0.0 0:00.00 aio/1
202 root 25 0 0 0 0 S 0 0.0 0:00.00 kseriod
445 root 18 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_0
458 root 21 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_1
459 root 15 0 0 0 0 S 0 0.0 0:00.00 aacraid
475 root 6 -10 0 0 0 S 0 0.0 0:00.00 ata/0
476 root 6 -10 0 0 0 S 0 0.0 0:00.00 ata/1
477 root 6 -10 0 0 0 S 0 0.0 0:00.00 ata_aux
481 root 15 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_2
482 root 15 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_3
492 root 15 0 0 0 0 S 0 0.0 0:05.97 kjournald
1979 root 6 -10 2488 444 360 S 0 0.0 0:00.01 udevd
2023 root 21 0 0 0 0 S 0 0.0 0:00.00 shpchpd_event
2315 root 6 -10 0 0 0 S 0 0.0 0:00.00 kauditd
2398 root 15 0 0 0 0 S 0 0.0 0:00.00 kjournald
2399 root 19 0 0 0 0 S 0 0.0 0:00.00 kjournald
2400 root 15 0 0 0 0 S 0 0.0 0:00.10 kjournald
2401 root 15 0 0 0 0 S 0 0.0 0:02.07 kjournald
2402 root 15 0 0 0 0 S 0 0.0 0:00.21 kjournald
3066 root 16 0 2072 400 332 S 0 0.0 0:00.00 netplugd
3088 root 16 0 3340 584 492 S 0 0.0 0:00.87 syslogd
3124 root 16 0 2160 384 320 S 0 0.0 0:00.00 klogd
3138 root 16 0 2148 296 216 S 0 0.0 0:00.29 irqbalance
3155 named 16 0 48928 2456 1704 S 0 0.1 0:00.00 named
3227 quagga 16 0 4028 596 284 S 0 0.0 0:00.00 zebra
3330 root 21 0 3452 444 372 S 0 0.0 0:00.00 acpid
3426 root 16 0 5084 1140 836 S 0 0.0 0:00.36 sshd
3437 root 15 0 3472 792 656 S 0 0.0 0:00.00 xinetd
3447 root 16 0 5212 1004 772 S 0 0.0 0:00.00 vsftpd
3457 root 16 0 2740 344 272 S 0 0.0 0:00.00 gpm
======================================================================
======================================================================
======================================================================

[root@galadriel ~]# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2796 548 ? S Dec15 0:00 init [5]
root 2 0.0 0.0 0 0 ? S Dec15 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN Dec15 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S Dec15 0:00 [migration/1]
root 5 0.0 0.0 0 0 ? SN Dec15 0:00 [ksoftirqd/1]
root 6 0.0 0.0 0 0 ? S< Dec15 0:00 [events/0]
root 7 0.0 0.0 0 0 ? S< Dec15 0:00 [events/1]
root 8 0.0 0.0 0 0 ? S< Dec15 0:00 [khelper]
root 9 0.0 0.0 0 0 ? S< Dec15 0:00 [kacpid]
root 35 0.0 0.0 0 0 ? S< Dec15 0:00 [kblockd/0]
root 36 0.0 0.0 0 0 ? S< Dec15 0:00 [kblockd/1]
root 37 0.0 0.0 0 0 ? S Dec15 0:00 [khubd]
root 54 0.0 0.0 0 0 ? S Dec15 0:00 [pdflush]
root 55 0.0 0.0 0 0 ? S Dec15 0:01 [pdflush]
root 56 0.0 0.0 0 0 ? S Dec15 0:13 [kswapd0]
root 57 0.0 0.0 0 0 ? S< Dec15 0:00 [aio/0]
root 58 0.0 0.0 0 0 ? S< Dec15 0:00 [aio/1]
root 202 0.0 0.0 0 0 ? S Dec15 0:00 [kseriod]
root 445 0.0 0.0 0 0 ? S Dec15 0:00 [scsi_eh_0]
root 458 0.0 0.0 0 0 ? S Dec15 0:00 [scsi_eh_1]
root 459 0.0 0.0 0 0 ? S Dec15 0:00 [aacraid]
root 475 0.0 0.0 0 0 ? S< Dec15 0:00 [ata/0]
root 476 0.0 0.0 0 0 ? S< Dec15 0:00 [ata/1]
root 477 0.0 0.0 0 0 ? S< Dec15 0:00 [ata_aux]
root 481 0.0 0.0 0 0 ? S Dec15 0:00 [scsi_eh_2]
root 482 0.0 0.0 0 0 ? S Dec15 0:00 [scsi_eh_3]
root 492 0.0 0.0 0 0 ? S Dec15 0:05 [kjournald]
root 1979 0.0 0.0 2488 444 ? S<s Dec15 0:00 udevd
root 2023 0.0 0.0 0 0 ? S Dec15 0:00 [shpchpd_event]
root 2315 0.0 0.0 0 0 ? S< Dec15 0:00 [kauditd]
root 2398 0.0 0.0 0 0 ? S Dec15 0:00 [kjournald]
root 2399 0.0 0.0 0 0 ? S Dec15 0:00 [kjournald]
root 2400 0.0 0.0 0 0 ? S Dec15 0:00 [kjournald]
root 2401 0.0 0.0 0 0 ? S Dec15 0:02 [kjournald]
root 2402 0.0 0.0 0 0 ? S Dec15 0:00 [kjournald]
root 3066 0.0 0.0 2072 400 ? Ss Dec15 0:00 /sbin/netplugd -p /var/run/netplugd.pid
root 3088 0.0 0.0 3340 584 ? Ss Dec15 0:00 syslogd -m 0
root 3124 0.0 0.0 2160 384 ? Ss Dec15 0:00 klogd -x
root 3138 0.0 0.0 2148 296 ? Ss Dec15 0:00 irqbalance
named 3155 0.0 0.0 48928 2456 ? Ssl Dec15 0:00 /usr/sbin/named -u named -t /var/named/chroot
quagga 3227 0.0 0.0 4028 596 ? Ss Dec15 0:00 /usr/sbin/zebra -d -A 127.0.0.1 -f /etc/quagga/zebra.conf
root 3330 0.0 0.0 3452 444 ? Ss Dec15 0:00 /usr/sbin/acpid
root 3426 0.0 0.0 5084 1140 ? Ss Dec15 0:00 /usr/sbin/sshd
root 3437 0.0 0.0 3472 792 ? Ss Dec15 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root 3447 0.0 0.0 5212 1004 ? S Dec15 0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
root 3457 0.0 0.0 2740 344 ? Ss Dec15 0:00 gpm -m /dev/input/mice -t imps2
root 3478 0.0 0.0 6556 948 ? Ss Dec15 0:00 crond
root 3492 0.0 0.0 6292 928 ? Ss Dec15 0:00 squid -D
squid 3494 0.0 0.1 9148 4844 ? S Dec15 0:03 (squid) -D
squid 3496 0.0 0.0 2788 272 ? Ss Dec15 0:00 (unlinkd)
xfs 3527 0.0 0.0 5380 2104 ? Ss Dec15 0:00 xfs -droppriv -daemon
root 3537 0.0 0.0 11004 1916 ? Ss Dec15 0:01 smbd -D
root 3541 0.0 0.0 11004 892 ? S Dec15 0:00 smbd -D
root 3542 0.0 0.0 8772 1552 ? Ss Dec15 0:33 nmbd -D
root 3665 0.0 0.0 2832 428 ? Ss Dec15 0:00 /usr/sbin/atd
root 3675 0.0 0.0 5844 428 ? Ss Dec15 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
root 3696 0.0 0.0 5844 224 ? S Dec15 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
root 3697 0.0 0.0 5844 220 ? S Dec15 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
root 3698 0.0 0.0 5844 220 ? S Dec15 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
root 3699 0.0 0.0 5844 220 ? S Dec15 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
dbus 3700 0.0 0.0 3704 832 ? Ss Dec15 1:13 dbus-daemon-1 --system
root 3711 0.0 0.0 3936 300 ? Ss Dec15 0:00 rhnsd --interval 240
root 3721 0.0 0.0 3588 892 ? Ss Dec15 0:00 cups-config-daemon
root 3733 0.0 0.2 12668 10020 ? Ss Dec15 0:56 hald
root 3989 0.0 0.0 2588 388 tty1 Ss+ Dec15 0:00 /sbin/mingetty tty1
root 3991 0.0 0.0 1540 388 tty2 Ss+ Dec15 0:00 /sbin/mingetty tty2
root 3997 0.0 0.0 2588 388 tty3 Ss+ Dec15 0:00 /sbin/mingetty tty3
root 3999 0.0 0.0 2036 388 tty4 Ss+ Dec15 0:00 /sbin/mingetty tty4
root 4022 0.0 0.0 3388 388 tty5 Ss+ Dec15 0:00 /sbin/mingetty tty5
root 4024 0.0 0.0 2524 388 tty6 Ss+ Dec15 0:00 /sbin/mingetty tty6
root 4039 0.0 0.0 12036 2348 ? Ss Dec15 0:00 /usr/bin/gdm-binary -nodaemon
root 4548 0.0 0.0 12720 2588 ? S Dec15 0:00 /usr/bin/gdm-binary -nodaemon
root 4558 0.0 0.4 21156 17568 ? S Dec15 1:35 /usr/X11R6/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7
root 5523 0.0 0.0 4788 816 ? S Dec15 0:01 NetworkManager
root 7204 0.0 0.0 9804 2284 ? Ss Dec16 0:00 cupsd
root 7950 0.0 0.1 22888 7044 ? S Dec16 0:00 /usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -l 3 -f
root 7969 0.0 0.0 11820 3024 ? S Dec16 0:00 smbd -D
665 12849 0.0 0.0 12296 3404 ? S Dec18 0:04 smbd -D
root 12851 0.0 0.0 12288 2996 ? S Dec18 0:00 smbd -D
root 12868 0.0 0.0 12292 3132 ? S Dec18 0:00 smbd -D
root 15386 0.0 0.0 12284 3212 ? S Dec19 0:43 smbd -D
root 15535 0.0 0.0 11836 2916 ? S Dec19 0:00 smbd -D
root 15536 0.0 0.0 11708 2380 ? S Dec19 0:00 smbd -D
root 15680 0.0 0.0 12296 3356 ? S Dec19 0:03 smbd -D
root 15897 0.0 0.2 21644 9768 ? Ss Dec19 0:00 /usr/bin/gnome-session
root 15955 0.0 0.0 4332 644 ? Ss Dec19 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients
root 15958 0.0 0.0 4284 492 ? S Dec19 0:00 /usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients
root 15959 0.0 0.0 3492 1004 ? Ss Dec19 0:00 dbus-daemon-1 --fork --print-pid 8 --print-address 6 --session
root 15963 0.0 0.1 10428 6516 ? S Dec19 0:00 /usr/libexec/gconfd-2 5
root 15966 0.0 0.0 3460 540 ? S Dec19 0:00 /usr/bin/gnome-keyring-daemon
root 15968 0.0 0.0 8424 2656 ? Ss Dec19 0:00 /usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=18
root 15970 0.0 0.1 19556 7012 ? S Dec19 0:00 /usr/libexec/gnome-settings-daemon --oaf-activate-iid=OAFIID:GNOME_SettingsDaemon --oaf-ior-fd=22
root 15976 0.0 0.0 3892 1224 ? S Dec19 0:00 /usr/libexec/gam_server
root 16008 0.0 0.1 14196 6864 ? Ss Dec19 0:00 /usr/bin/metacity --sm-client-id=default1
root 16012 0.0 0.3 23800 12488 ? Ss Dec19 0:00 gnome-panel --sm-client-id default2
root 16014 0.0 0.4 42764 18512 ? Ssl Dec19 0:00 nautilus --no-default-window --sm-client-id default3
root 16016 0.0 0.1 19592 6180 ? Ss Dec19 0:00 gnome-volume-manager --sm-client-id default6
root 16018 0.0 0.1 29556 7376 ? Ss Dec19 0:00 eggcups --sm-client-id default5
root 16020 0.0 0.1 13592 4588 ? Ss Dec19 0:00 pam-panel-icon --sm-client-id default0
root 16022 0.0 0.4 34452 20604 ? SNs Dec19 0:01 /usr/bin/python /usr/bin/rhn-applet-gui --sm-client-id default4
root 16024 0.0 0.0 2296 600 ? S Dec19 0:00 /sbin/pam_timestamp_check -d root
root 16027 0.0 0.0 21396 3520 ? Sl Dec19 0:00 /usr/libexec/gnome-vfs-daemon --oaf-activate-iid=OAFIID:GNOME_VFS_Daemon_Factory --oaf-ior-fd=28
root 16038 0.0 0.0 2392 708 ? S Dec19 0:00 /usr/libexec/mapping-daemon
root 16040 0.0 0.2 21364 9664 ? S Dec19 0:00 /usr/libexec/wnck-applet --oaf-activate-iid=OAFIID:GNOME_Wncklet_Factory --oaf-ior-fd=30
root 16042 0.0 0.2 21228 9220 ? S Dec19 0:00 /usr/libexec/mixer_applet2 --oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory --oaf-ior-fd=32
root 16044 0.0 0.1 20908 7900 ? S Dec19 0:00 /usr/libexec/clock-applet --oaf-activate-iid=OAFIID:GNOME_ClockApplet_Factory --oaf-ior-fd=34
root 16046 0.0 0.1 19652 6664 ? S Dec19 0:00 /usr/libexec/notification-area-applet --oaf-activate-iid=OAFIID:GNOME_NotificationAreaApplet_Factory --oaf-ior-fd=3
root 17020 0.0 0.0 7092 2296 ? Ss 00:35 0:00 sshd: root@pts/1
root 17022 0.0 0.0 4504 1440 pts/1 Ss 00:35 0:00 -bash
root 17143 0.0 0.0 4216 784 pts/1 R+ 00:51 0:00 ps aux
[root@galadriel ~]#
=========================================================================
 
Old 12-20-2008, 08:52 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
There is likely nothing wrong at all. By design, Linux uses all available RAM all the time. From what you've posted, you're not really using swap so unless there are other signs of a problem, this is just Linux behaving normally.
 
Old 12-20-2008, 05:55 PM   #3
admir330
LQ Newbie
 
Registered: Feb 2004
Posts: 17

Original Poster
Rep: Reputation: 0
Thank You very much. For the information.
Another question. How would I find what the actual usage is?
(meaning all of the services runing together currently/ how much RAM are they using);
 
Old 12-20-2008, 11:17 PM   #4
admir330
LQ Newbie
 
Registered: Feb 2004
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks but dont need your response any more.
I installed webmin and it workes so nice.
It displays all of the info about the server needed.
Webmin just rules .
 
Old 12-21-2008, 07:56 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Yeah, webmin is a great tool. I'm glad you found the answer you needed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How can I solve out Of Memory Error on RedHat 4 Update 5 Server newbieOnLinux Linux - Server 3 12-10-2007 03:20 AM
REDHAT ES Server 4 --- Samba 3 PDC treedstang Linux - Networking 2 12-16-2005 12:29 PM
redhat 8 samba server question kaasi Red Hat 3 10-25-2003 08:39 AM
Is samba required to connect to a Windows Advanced server from RedHat 8.0 server? NemesisStar Linux - Hardware 1 10-20-2003 01:32 AM
shared Memory versus the total amount of RAM on the server ashley75 Linux - General 1 08-25-2003 12:21 PM


All times are GMT -5. The time now is 06:10 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration