Server :: Identify Which Processes Are Consuming Swap?

Jul 19, 2011

How to identify which processes (or PIDs) are consuming SWAP? In my RHEL box SWAP is nearly 100 % utilized.

Code:
$ free -m
total used free shared buffers cached
Mem: 144967 143212 1754 0 166 135259
-/+ buffers/cache: 7787 137180
Swap: 22367 21733 634

View 11 Replies


ADVERTISEMENT

Server :: How To Determine Swap Space Usage For Processes

Jan 10, 2011

On one of my servers the "free" command tells me that a lot of swap space are in use. What I'd like to do is to determine which processes have been swapped out. I tried issuing "top" and sort by the "swap" column, but this doesn't seem to provide correct values - when performing the same excersize on another server with close to no pages swapped out, the sum when adding the swap value for each process greatly exceeds the swap usage reported by "free". So how do I go about determining the swap space used for individual processes?

View 7 Replies View Related

Ubuntu Networking :: D-link DWA-552 Master Mode On 10.04 - File Transfers Or Bandwidth Consuming Processes

May 20, 2010

after successfully configuring the dwa-552 to work in master mode in ubuntu 10.04 (ath9k driver) I ran some file transfer tests. The download speed is very good (~50mbps) but the upload speed spikes at about 10-20mbps for the first few KB and then it's nonexistent (0-1kbps). This only affects file transfers or otherwise bandwidth consuming processes. Normal web browsing or ssh is not affected. After running a speedtest of my internet connection which is routed through the AP I could upload to the internet with 1mbps which is my inet connection maximum so apparently this is not affected. Tried the same file transfers with netcat to eliminate any other factors and had the same problem. dmesg and hostapd debug did not report anything unusual

View 2 Replies View Related

Networking :: Network Security - How To Identify Programs And Processes

Sep 2, 2010

I was wondering if anyone might know of good reference material, books websites etc., that discuss network security issues in layman terms. I would like to set up a dedicated Linux box as a firewall and would like to have a deeper understanding of the different types of configurations that are possible. I run a dual boot system and most of the firewalls I have used on the Windows side are very confusing to me. A lot of the time they give you a pop up that informs you that some cryptically named program is trying to access the network or the internet and wants to know if I want it to or not, 99% of the time I have not idea if it is a legitimate program or not. I realize that this is probably a separate issue (knowing how to identify programs and processes that should have access from those that should not) from setting up a firewall and basic network security but I know that they are related.

View 3 Replies View Related

General :: Find Out Processes Are Using Swap Space?

Jun 21, 2011

I have a linux server top reports about 9GB of swap used:But I cannot figure where's it use swap, some google results said that top - O commad follow by p will show swap usage by process. But as shown in the above image, taking a brief sum of the SWAP column shows that > 10GB of swap is used, so where does the 9GB figure for swap usage come from? Top reports that about 96492kb of ram is used by buffers. Is there anything I can do to utilize this, instead of using swap?

View 1 Replies View Related

Server :: Squid Excessive Memory Consuming On Fedora 12?

Feb 7, 2011

There is squid 3.1.8 on a Fedora 12 server with 2 GB of RAM. It is used for sharing the Internet for approximatively 80 PC's. The problem is that it is really a memory hog, when enabling delay pools. I am using the following configuration for the memory pools:

Code:

delay_pools 1
delay_class 1 2
delay_access 1 allow drumuri

[code]....

There are moments when the squid process uses approximatively all the RAM and goes into swapping. After that I restart it, it goes well for a while and again eats up all the memory. On the Internet it says that Squid uses a lot of memory, but should it use 2 GB of memory, even if all 80 people are online at the same time?

View 2 Replies View Related

General :: Minimalist Server - LFS Too Complicated And Time Consuming For End Result

Oct 7, 2010

I am wanting to create the smallest server I can possible. I have a small server I use as a print server and for file sharing. The hard drive is about 80GB. Since I only run cups and samba, I see no reason to take up an addition few GBs with major distros just to run the OS. I know it is possible to get a small distro around 50MB or so. I would even be happy with an OS running around 200MB. what would be the best way to go about doing this? LFS is just too complicated and time consuming for the end result. Would something like Gentoo be better? Anything else that I may not know about?

View 11 Replies View Related

General :: How To Identify A HDD In A Server

Jun 6, 2011

Are there any identifiers on an HDD that can be either seen physically on a "sticker" on the HDD, and the same number/identifier could be read with software solutions?

I mean if I see with e.g.: S.M.A.R.T. that an HDD (in RAID) is failing, then I give out the command:

SOMEMAGIC

then I get an OUTPUT, e.g.: 9835923759237489

and then are ther any stickers on the HDD that has a label: 9835923759237489 ? so the hdd that has to be changed could be identified.

View 2 Replies View Related

Server :: Using UUID To Identify Usbstick Rootdrives

Jun 6, 2010

I'm currently configuring my nslu2 to reboot correctly, having the Debian Lenny Operating System split over two usbsticks - this is quite difficult, i think.

You see, sometimes it boot, sometimes not. Therefore, I've decided to try UUID naming instead of the default sdX naming system. Maybe udev naming too ... dunno.

Here some person says it is important to do one usb stick at a time. How important is this(?) when I have the OS split over two usb-sticks, not just one?

I have not really used udev for other than renaming ethernet and wlan devices; so some tips on using it for renaming usb-devices would be nice. Is renaming on the grounds of UUIDs the most sensible way, you think?

I have set up the cabling to the nslu2 like this:

[Code].....

Edit: [SOLVED], just go on with naming by UUID if you boot from several memorysticks. Maybe it is preferable to rebuild the initramfs for each edit to the fstab file ...

View 3 Replies View Related

Server :: How To Check Multiple Processes?

Jun 13, 2011

I have running license server on my server. Right now I would like to write small status script and check if software is running.My software include 3 deamons:

1) daemonA
2) daemonB
3) daemonC

My script should check, if each of this deamon is running. If all deamons are running then script should print short output: "License server is running" if one of this daemons is not running, output should "License server is not running". Is it possible to write small loop to check it ? Let say, loop will take new daemon name from deamons pool and will check if its running. Sometimes I need to check more than three daemons of one Program and I dont know how to write good script for this. Maybe somebody could help me with this loop that in the future I could also use; daemonD, daemonE, daemonF.etc.etc. if all daemons from pool is running then..."Software is running"

View 3 Replies View Related

Server :: Limit User Processes ?

Feb 10, 2010

I have some domains on a VPS server. Typical account memory usage for all domains runs at 50% of available, but I have a problem. One domain is causing me trouble because intermittently traffic will spike on that domain, causing so many requests within 1 min that I exceed my memory allocation for my entire VPS package. Apache is then killed but the virtualization software and Apache must then be restarted.

A sample snippet from tops right before the sever went down would like like this:

All of that memory usage adds up. I would like to "throttle" the number of processes that user/domain can run. I think this would be a quick and easy way to keep the domain from taking down my entire VPS. My understanding is that I could do this with the /etc/security/limits.conf file.

Is that correct?

I have never done this before. Do I want to set a hard or soft limit? I think if I wanted to limit the number of processes for "coldclim" to 15 I would add a line to limits.conf like this:

Code:

Assuming that is correct, can anyone tell me how the website would respond once it reached its limit? Would visitor queries become sluggish, or would the website not come up for them at all?

View 4 Replies View Related

Server :: Logged Users Without Processes?

Nov 1, 2010

I try to write a script which would kill processes of users who are not logged in. My approach is to find out what users are logged in and then kill processes of all nonsystem users who fail the test of being logged. I use `w` for finding all logged in users, but apparently there are users on the list which `w` gives me who own absolutely no process in the output of `ps aux`. How do I log off those users, since killing their processes wont work (since they own no processes)?

View 4 Replies View Related

Server :: With PS Cannot Control The Processes Of Another User

Feb 15, 2011

I have a problem with the permission of the directories under /proc, they are readable and accessible only by Owner (they have permission 500 instead of the usual 555) As a consequence, the processes are visible only to the Owners or to Root. For exampleif I want to check if there is mysql

I see it only with the user mysql or with root because the directory has permission 500

This problem obstacles the functioning of some applications that should check the existence of some processes managed by other users. At the beginning all was working well. But after a while the problem appeared and I dont know which is the reason of it. how to restore the standard management of permissions of / proc?]

I have a Ubuntu server Maverick 10:10.

View 2 Replies View Related

Server :: Another Session Logged In But Running No Processes?

Jan 30, 2011

My University gives us access to a Linux server, named stud1.

Code:

me@stud1:~$ uname -a
Linux stud1.some.univ.ac 2.6.9-89.31.1.ELsmp #1 SMP Mon Oct 4 21:41:59 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

Apparently I was logged in, and never logged out sometime:

Code:

me@stud1:~$ who
<snip>
me pts/37 Jan 30 13:27 (6.6.66.66)
<snip>
me pts/58 Dec 30 19:13

but when trying to find out why I'm still logged in, I can't find it:

Code:

me@stud1:~$ ps faux |grep me
root 30030 0.0 0.0 51128 4360 ? Ss 13:27 0:00 \_ sshd: me [priv]
me 30033 0.0 0.0 51132 2336 ? S 13:27 0:00 \_ sshd: me@pts/37

[code]....

how can I logout this unused session?

View 2 Replies View Related

Server :: Apache Starts More Processes Than Configured?

Dec 2, 2010

I googled upto my capability but cant find answer so asking you In one of my apache 2.0.52 machines, we are using worker MPM model. Even if I use 1 start servers, the # of http processes it starts is 5. No matter what value I pass in StartServers, I dont see more than 5-6 http processes

MaxClients 1
ServerLimit 1
ThreadsPerChild 1
StartServers 1

View 1 Replies View Related

Server :: Can't Figure Out Which Processes Are Eating Memory

Nov 6, 2010

I'm running several SHOUTcast server instances and a WowzaMediaServer instance on a CentOS machine. I'm experiencing a memory leak problem, but I can't figure out which processes are eating memory.

TOP command reports as follows:

[Code]...

Something misterious to me (I'm still a Linux newbie) is that TOP reports a total of 7.5GB used ram but very small percentage for single process (0-1%). Memory consumption starts at 1GB/8GB after reboot and in three days running gradually increases up to 8GB. I'm practising with Linux, but I still miss a lot to understand what's happening on my system. For instance, are there linux kernel logs saved somewhere that I can look at?

View 4 Replies View Related

Server :: Webserver Stuck Very Often Because Of Httpd Processes / Fix It?

Jul 16, 2011

I have a dedicated server which I run on him only one website which has about 11k-15k unique visitors per day.

The httpd processes stuck it almost everyday and I can't understand why... I fix it via "killall -9 httpd" and then "service httpd start". code...

View 2 Replies View Related

Ubuntu :: Xorg Consuming 50% Cpu?

Apr 21, 2011

I noticed Xorg consuming over 30% of my cpu cycles. Does anyone know what is going on here?

View 2 Replies View Related

Server :: Increase Number Of Url_rewriter Processes In Squid?

Feb 28, 2009

Code...

I don't know how to increase the number of url_rewriter processes.

View 2 Replies View Related

Server :: Checking Processes Running In The Background And Showing Them?

Sep 10, 2010

While executing df command on an AIX Console, by mistake I ended the line with an ampersand:

[Code]...

View 5 Replies View Related

Server :: Finding Child Processes Spawned From Screen?

Aug 25, 2010

I have a situation where I have several screen (/usr/bin/screen) sessions running. 2 of the screen sessions (ps1 and ps2) run a script that launched SipP with specific parameters. 1 script starts SipP and has it make 50 calls where the other makes only 20 calls. However The script is configured where we can change how many calls it makes if needed.

So the problem is, due to issues with SipP, we must restart everything every 12 hours (at maximum). So I am trying to work out scripts to stop the SipP processes cleanly. In order to do so I need to figure out which SipP process is spawned by which screen. i.e. which sipp was started by screen session ps1, and which one was started by screen session ps2.

Now I can do ps -ef | grep <number of calls configured> to find out but then I would have to change my stop script every time we reconfigure how many calls are made, and have a separate stop script for each screen session. I would much rather be able to send the screen name as a parameter to the stop script and have it work no matter how many calls SipP is configured to make.Also your standard kill -1 <PID> does not shutdown SipP cleanly. So working out those details is a bit more tricky. Anyone know how I can determine what processes are spawned from a specific screen session?

View 2 Replies View Related

Server :: Shortlist Processes Which Are Writing / Reading To / From Disks?

Apr 2, 2010

At times I see heavy hard-disk activity slowing down system.I have enough RAM and enough of it free.Apparently I am not doing anything that should cause this.'vmstat' shows high numbers for "bi bo" I want to find out which processes are doing "bi bo".How can I zero in on the particular processes?What command?

View 3 Replies View Related

Programming :: Server Socket Assigned By Children Processes ?

Aug 27, 2010

I am currently programming a suite of daemons in c++ on CentOS 64. More or less all those daemons are SOAP servers, with the SOAP part handled by gSOAP.

One of the daemons is a monitor sitting on a certain server and more or less just checking if the other daemons are up and running - but also offering a SOAP interface to get the 'current situation' on the machine.

Whenever the detected situation does not correspond to the defined (i.E. a process which should be is not running) it is started up.

This part, I implemented via a system() call that starts the other process.

I was a little confused when lately often this monitoring process would not start because it could not bind its server port - the one the SOAP server is listening on.

And confusion got bigger when netstat told me that the port is assigned to one of the processes that were before started by the monitor..?

Even better: if I then kill the process of which netstat tells me it holds the port, the next netstat shows the next monitor-started process as the one listening on the port..

Only if I kill all the processes that were started by the monitor, the port is released and I am able to launch the monitor again.

Now I wonder: why does this port get 'reassigned' to the children - and most of all: how can I prevent this from happening?

View 6 Replies View Related

CentOS 5 :: Duplicate / Multiple Processes - Server Really Slow

Mar 28, 2010

My server is really slow. When I did a top -c or ps aux, below shows up. Shouldn't there be only one? Shall I kill all those processes and leave only one?

3135 nobody 15 0 15900 5232 1860 S 0.0 0.1 0:00.17 /usr/local/apache/bin/httpd -k restart -DSSL
3173 nobody 16 0 15900 5244 1848 S 0.0 0.1 0:00.05 /usr/local/apache/bin/httpd -k restart -DSSL
3174 nobody 15 0 15900 5232 1860 S 0.0 0.1 0:00.15 /usr/local/apache/bin/httpd -k restart -DSSL
5153 nobody 15 0 15900 5228 1860 S 0.0 0.1 0:00.04 /usr/local/apache/bin/httpd -k restart -DSSL
7598 nobody 16 0 15900 5228 1872 S 0.0 0.1 0:00.20 /usr/local/apache/bin/httpd -k restart -DSSL .....

View 5 Replies View Related

OpenSUSE Install :: Swap Partition : Need To Check Swap File System?

Mar 20, 2011

Does one need to Check the Swap filesystem, from time to time

View 4 Replies View Related

Ubuntu :: Can't Kill Skype - Consuming 100% Of CPU

Nov 30, 2010

This doesn't happen all the time, but right now I can't kill skype!I noticed that it's consuming 100% of CPU, so I closed it on desktop, but it's still there consuming 100% of CPU. So I tried to send the kill signal "killall skype," and nothing happens.Then, I tried to get the process ID "pgrep skype" and then "kill process_id," but skype is still consuming 100% CPU.What the hell?

View 7 Replies View Related

General :: Less Power Consuming Distro?

Jun 19, 2011

I'm new to netbooks and linux. I have an Asus 1215b (AMD FUSION E350) and I want to install an OS only for writting offline or browsing the web (and accessing to google docs or my email account) while making my battery last as most time as possible.

View 14 Replies View Related

CentOS 5 :: Check 'how Much Ram And Cpu A Process Is Consuming'

Mar 19, 2010

I'm trying to check how much ram memmory and CPU is a particular process consuming, i have checked free -m and top but is not esay to undesrtand the output from CPU

What i need is to check the consuming for a particular process; with free -m i'm able to see only the available space of memmry and i want to know how much is consuming a particular process, the same with 'top'

It's hard ot understan the output from top, to many columns and MAY process, not easy to check the process i want to monitor

View 5 Replies View Related

Ubuntu :: Swap Space Shows 0k But Have Volume Formatted As Swap

Dec 7, 2010

Lucid on an Acer Travelmate800.Can anyone tell me why I have 0k for swap space? I allocated swap which I can see in my Disk Utility's 'volumes' display.

View 5 Replies View Related

Server :: Controlling Memory/number Of Processes For LDAP Users?

Jun 29, 2009

I know of /etc/security/limits.conf and that can be used to limit all sorts of good things, but I haven't found anything that talks about using this when the users come from LDAP. Would I be able to do something like

@"Domain Users" soft nproc 25
@"Domain Users" hard nproc 40

where Domain Users is the group all users belong to in our system.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved