Server :: Log File Usage How To

Apr 26, 2010

I wanted to know how can I use apache log files for trouble shooting ( I know how to see inside them) I mean what key word should I search in each of them when it fails ,as you know just getting cat of each of them is very time consuming , what should I search in them what should I look for in each log file.

View 2 Replies


ADVERTISEMENT

Server :: "free" Shows Far More Memory Usage Than Summing Up Application Usage?

Aug 6, 2010

I've come across a really strange issue with one of my RHEL servers. The "free" command shows that 7019 MB of memory are actually in use by my system, but when summing up the actual usage (or even virtual usage like the example below) it doesn't add up - the sum is far less than what is reported by "free":

Code:

[root@server1 ~]# free -m
total used free shared buffers cached
Mem: 12011 7946 4065 0 4 23
-/+ buffers/cache: 7919 4092

[code]....

View 2 Replies View Related

Ubuntu Servers :: No X Server And No VNC (old HP Office Pc) At The Moment Memory Usage Is Only 40Mb Without X Server?

Feb 2, 2010

Last weekend i've set up my first headless ubuntu home file server and torrent downloader with ubuntu 9.10.Very cool but CPU is way too fast for a home server: P4 HT 2.8Ghz, unfortunatly it has only 256Mb of ram, so no X server and no VNC (old HP office pc) At the moment memory usage is only 40Mb without X server. Besides SSH works just fine Few questions i can't seem to find answers to on google:What is a good CL network monitoring program?mething similar to htopUbuntu 9.10 has a lot, about 20-30, console-kit deamon instanses running after boot each using some memory that i can't spare.

View 2 Replies View Related

Server :: Home Server Bandwidth Usage

Jan 27, 2011

I am looking to probably make a home server act as a backup for most of my data but also as a media server. I want to host all my music and videos for the most part on the server and then regardless what computer I'm using I could listen or watch. (Another question would be could I have itunes find my music on the server and play it).

But anyway, from people with home media servers, what kind of bandwidth usage do you go through a month? Comcast (ISP) limits me to 250GB and I'm thinking this is enough for moderate usage, I just want to make sure before I start the project.

View 1 Replies View Related

Fedora Servers :: Usage Of The .htaccess File?

Dec 16, 2010

Is anyone here fluent with the usage of the .htaccess file? Is it the way to go to deter search bots or is there a better method? Never mind. I already have a thread about .htaccess here.

View 1 Replies View Related

Ubuntu :: 10.10 Massively Over-reporting File Usage?

Jun 2, 2011

This is not exactly an urgent issue, but when I recently checked the amount of file usage on my main drive Ubuntu was claiming that I had used over 128 terabytes of space on a 650 GB drive. I was wondering what could be causing this issue.

View 1 Replies View Related

General :: Disk Usage By Unknown File

Jul 31, 2010

i am facing problem of space usage by unknown file on /var partition.

[root@test var]# df -h

Filesystem Size Used Avail Use% Mounted on
/dev/sda2 20G 3.3G 16G 18% /
/dev/sda5 39G 36G 769M 98% /var
/dev/sda6 15G 4.7G 9.1G 34% /var/spool/squid
/dev/sda1 487M 16M 446M 4% /boot
tmpfs 1014M 0 1014M 0% /dev/shm

where as when I checked the using du -sh in its maximum utilization is about 5.9GB. i want to know the space being utilized by whom.

[root@test /]# du -sh /var
5.9G /var

View 5 Replies View Related

General :: Status Of Memory Usage And Disk Usage Using Sigar In Windows And Ubuntu

Mar 15, 2010

I was trying to get the status of memory usage and disk usage using sigar in windows and ubuntu. done this in windows by just copying the sigar library into jdk library. But i was unable to do so in ubuntu. I've copied the library to java-6-sun library but still can't run the program.

View 14 Replies View Related

Fedora :: Hidden Disk Space Usage \ Can't Figure Out Where The Runaway Usage Is?

Dec 10, 2010

I'm running into a problem where my system is running out of disk space on the root partition, but I can't figure out where the runaway usage is. I've had a stable system for a couple of years now, and it just ran out of space. I cleaned some files up to get the system workable again, but can't find the big usage area, and I'm getting conflicting results.For example, when I do a df it says I'm using 44GB out of 58 GB:

Code:
[root@Zion ~]# df -h
Filesystem Size Used Avail Use% Mounted on

[code]....

View 5 Replies View Related

General :: Unix - Monitor Average CPU Usage And RAM Usage On One Process System?

Nov 15, 2010

Is there any way to monitor one process' CPU usage and RAM usage over time on Linux? I am trying to change to a cheaper VPS and need to work out what level of CPU and RAM I need!

View 2 Replies View Related

Debian :: X File - Massive Mobile Data Usage

May 29, 2015

I have been using Wheezy for two years, and everything was OK, so I decided to upgrade to Jessie. In fact i decided to perform a clean install of jessie, so I formatted the partition where Wheezy was installed, and the /boot partition, and I installed jessie in those partitions.

As I had done with Wheezy, I installed jessie in an encrypted LVM, and the installation was ok (well, almost everything was OK, because grub and plymouth were not working, but I will open another topic about it).

First thing I did after installing Jessie was editting sources.list in order to download a few programs (plymouth, firmware linux non free, libdvdcss2, gufw, menulibre). Moreover, I downloaded a few progrmas from the Debian install DVD (flashplugin, VLC, chromium, clamav). i did not perform a dist upgrade because i was not at home, and where I was I did not have a Wifi connection (so I was using my mobile connecion -USB ethernet with an android phone-. BTW I had just performed a hard reset I had not installed any apps after that, so that mobile phone was "clean").

After that, I created a desktop user account, and I rebooted the laptop . When i rebooted, I started to tweak my user account: I edited dconf, and the gnome shell theme; and I started my mobile connection to download three extensions for gnome shell (window list, simple dock and activities configurator. I had used those extensions with Wheezy, and I had never had any problems). Ten minutes after I started the mentioned mobile connection, I reveived a SMS as I had used over 300 MB. Gnome monitor showed that I have downloaded 300 MB, and the android native data usage app showed the same. I did not download any video or music neither watch any videos on youtube, dailymotion..., I did not visit any suspicious web

I had a look at the apt logs and I din not find anything significant (I was using a no sudo user account, so i was not able to perform a dist.upgrade), I had a look at the download, video, music, picture folders and i din not find anything. I tried to check the iceweasel cache folder, but there were so many subfolders I could not check everything.

View 4 Replies View Related

General :: CPU/RAM Usage Log Over A Period Of Time To File On CentOS

Jun 7, 2010

Im looking for an app pr line of code that could let me observe a process, save the info in a number of variable and then put the gathered info on a file.

Ive been trying with variations of top but no luck. I am running several CentOS virtual servers, VM is 2gb ram 2 processor.

Maybe a script that works over a specified amount of time while writing lines with the info on a text file so at the end i can have a sort of table with the data.

The thing is Im going to stress test the server and I would like to have the data to make some statistics.

View 2 Replies View Related

Server :: Debian 5.0.6 Too Much RAM Usage

Oct 30, 2010

I'd been using Directadmin on my Debian 5.0 machine earlier . I had 1GB ram and a lot of memory was used up. Sometimes even the OS crashed as the programs couldn't allocate memory. I increased my RAM to 3GB but still the RAM usage sometimes just flow up to 1GB although normally DirectAdmin doesn't use more than 200MB . Restarting the server fixes the issue but then it climbs up again and comes down to a 200-400MB again by itself. Cached Memory was also being too much and sometimes even Swap Partition gets used up .Just to be sure that it's not the Bugged OS, today I installed the latest Debian 5.0.6 Net-inst on my machine . I allocated just 128MB of ram to it because it was just a testing machine. I installed it without the swap partition since I thought I will make a swap-file if it is required. I did not even update the OS rather I just installed Openssh-server and everything else was default as in Debian 5.0.6 . When server started, only 20MB ram was being used .

I just logged into my server afer about 5 hours and saw 112 MB ram being used out of which 91MB was cached. I haven't installed anything so why is this happening ?Why is this happening when I just installed the default Operating System and didn't even run an apt-get update on it.I think my previous operating system with Directadmin was also having similar issues.

View 9 Replies View Related

Server :: Log Bandwidth Usage Per IP

Mar 27, 2011

I'm getting DDoS attacks on my server, and I need to block all the attacking IPs.But for that I need to know which IPs are attacking me.I was thinking that I should log the bandwidth usage per IP so I can tell which IPs are using excessive bandwidth.How can I achieve this? I'm using Ubuntu 10.10.

View 3 Replies View Related

Server :: No Files Yet 36% Disk Usage?

Jun 13, 2011

Can anyone explain this output? I'm not sure what to make of it. 36% usage and no files??

root@host:/backups# ls -la
total 8
drwxr-xr-x 2 root root 4096 Mar 8 20:12 .

[code]....

View 3 Replies View Related

Server :: TOP Command Showing 130% Usage?

Mar 8, 2011

In my server java based application is running and java usage showing some time 300% of usage in top command. on that time java application is getting some types errors. at that time i checked vmstat and sar commands also but they showing the free CPU. My server configuration as given below

Quote:

Processor Intel(R) Xeon(R) CPUX5670 @ 2.93GHz
No fo Cores 8
Ram :64GB

[code]....

View 2 Replies View Related

General :: Want To Write Script For Calculating Usage Of Software From Text File Contains Log

Sep 10, 2009

Actually i m new to scripting in Linux, we have RedHat Server Edition 4 in which different software licences are installed and software itself installed at client side. the usage of the software is recorded daily in a text file which is of format

I want to write a script that checks that for any OUT & IN, if utility, user and Client PC Name are same then subtract OUT Time from IN Time. This has to be done for each & every user and utility.Is there any GUI programming possible in Linux.

View 7 Replies View Related

Ubuntu Servers :: CPU, RAM Usage On ShoutCast Server?

Apr 11, 2010

I want to install a ShoutCast Server on Ubuntu, but I coudn't decide qualities of the server. I am planning to have 5,000 listeners continuously with 32kbs bit-rate. How would be usage of CPU and RAM ? I have 99MBit bandwidth, I think it is enough.

View 2 Replies View Related

General :: Configure Yum Client & Server And Usage?

Aug 5, 2010

i am pursuing rhce... i amn't get the concept of yum..

View 1 Replies View Related

General :: How To Check Server Usage In RHEL5

Mar 26, 2010

How to check server usage (process and memory) for last 4months in RHEL5

View 3 Replies View Related

Server :: Analyzing Filesystem For Improper Usage?

Aug 25, 2010

Are there any tools out there to scan, say our fileserver(20TB), to check for things that shouldn't be there like mp3s, videos, software crackers, etc?

View 2 Replies View Related

Server :: Bind Memory Usage Keeps Increasing?

Jun 14, 2011

I'm running a recursive DNS server on Ubuntu Server 10.04 64bits and Bind 9.7.0-p1 and having issues with memory usage. The named process memory usage keeps increasing from about 500Mb to 4Gig inside of a couple of weeks. If I don't restart Bind in the mean time the swap fills and performance gets very bad.

View 6 Replies View Related

Server :: Disk Usage By Process / How To Check?

Jan 24, 2011

how to check which process consuming a lot of HDD I/O ? Do You know any good command which can show me which process saving something big on the storage system ? "iostat" or maybe "ps" ? Would be great if somebody could past me here nice command.

View 3 Replies View Related

Server :: Excessive Swap Usage From Setroubleshootd

Jul 21, 2011

Just noticed from the "top" command that one of my least heavily used box is swapping excessivly by a program called setroubleshootd. Following is the top section of the "top" command sorted by Swap used for both boxes. Also tried checking it out to see if there's a "service setroubleshootd restart" but when I checked the status I got the following.

Code:
[root]# service setroubleshootd status
setroubleshootd: unrecognized service
Lightly loaded box with lots of swapping

Code:
Tasks: 85 total, 2 running, 83 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni, 98.0%id, 1.7%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 1026880k total, 983528k used, 43352k free, 59604k buffers
Swap: 2064376k total, 355692k used, 1708684k free, 121996k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ SWAP COMMAND
3319 root 15 0 1202m 665m 5748 S 0.0 66.3 23:29.99 537m setroubleshootd
3845 root 34 19 253m 14m 2188 S 0.0 1.5 0:34.41 238m yum-updatesd
3841 gdm 16 0 216m 5300 4236 S 0.0 0.5 0:00.15 211m gdmgreeter
3822 root 18 0 190m 2208 1568 S 0.0 0.2 0:00.00 187m gdm-binary
3824 root 15 0 185m 3948 3236 S 0.0 0.4 0:00.11 181m gdm-rh-security
3725 root 16 0 163m 2532 1920 S 0.0 0.2 0:00.00 161m gdm-binary
3500 root 18 0 130m 2140 1240 S 0.0 0.2 0:00.00 128m cupsd
Heavily used box with little swapping

Code:
Tasks: 118 total, 4 running, 113 sleeping, 0 stopped, 1 zombie
Cpu(s): 4.7%us, 0.3%sy, 0.0%ni, 94.7%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 2059580k total, 1928356k used, 131224k free, 162032k buffers
Swap: 4095992k total, 12k used, 4095980k free, 1336632k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ SWAP COMMAND
3842 root 34 19 253m 17m 2196 S 0.0 0.9 0:34.20 235m yum-updatesd
3284 root 15 0 301m 77m 6004 S 0.0 3.9 2:23.30 223m setroubleshootd
3840 gdm 16 0 216m 16m 7064 S 0.0 0.8 0:00.43 199m gdmgreeter
3814 root 18 0 190m 2352 1644 S 0.0 0.1 0:00.00 187m gdm-binary
3816 root 15 0 185m 4112 3384 S 0.0 0.2 0:02.90 181m gdm-rh-security
3724 root 15 0 163m 2588 1976 S 0.0 0.1 0:00.00 161m gdm-binary
3465 root 18 0 141m 14m 1824 S 0.0 0.7 0:00.06 127m cupsd
12799 daemon 18 0 103m 3708 648 S 0.0 0.2 0:00.00 100m httpd
12396 daemon 15 0 112m 13m 3440 S 0.0 0.7 0:00.99 98m httpd
3556 root 18 0 103m 5260 2208 S 0.0 0.3 0:37.68 98m httpd
11778 daemon 15 0 117m 19m 3144 S 2.3 1.0 0:01.76 98m httpd
12750 daemon 15 0 106m 9096 2860 S 0.0 0.4 0:00.04 97m httpd
12673 daemon 15 0 110m 12m 2876 S 0.0 0.6 0:00.23 97m httpd
12693 daemon 15 0 110m 13m 2876 S 0.0 0.7 0:00.18 97m httpd
12666 daemon 15 0 105m 8132 2888 S 0.0 0.4 0:00.19 97m httpd
12729 daemon 15 0 112m 15m 2968 S 0.0 0.8 0:00.11 97m httpd
12588 daemon 15 0 110m 12m 2984 S 0.0 0.6 0:00.54 97m httpd

View 3 Replies View Related

Server :: Kill Process Upon Reaching 85% Cpu Usage?

Mar 13, 2010

We have an internal application which takes below 10% cpu usage normally. However sometimes it hit above 85% or more (and stays there) causing the server to become very slow. Currently we have to monitor this manually, kill the process and manually start it.

command / script that will kill the process (using pid will be the best option as i think) when it reaches 85% or higher

(I saw another question that suggested to use monit but I have to get this done using the standard commands available in the current installation - RHEL5)

View 1 Replies View Related

Server :: Monitor Memory Usage For Process

Jan 24, 2011

I use linux and Unix and I want to monitor the memory usage for process. To prevent memory leakage and out of memory of the system. Any command or sytnax , have more better and presentable data than below command about memory usage of one process ?

View 3 Replies View Related

Server :: Qmail Httpd Process Usage Goes To 100 %?

Jan 26, 2011

I am using qmail in my office. I am noticing this for more than a month. It is my daily routine to check the cpu utilization using top command and by using top different processes can be viewed. the apache process after 1 or 2 days shows cpu utilization of 100%. There is no affect on the server whatsoever of 100% because mail server has 2 processors of 4 core, i think so that may be the reason. Can any one explain why is this happening. What i do after that is i restart the httpd process and cpu utilization comes to normal. What are the reasons behind this and how to solve this permanently.

View 1 Replies View Related

Debian :: Limit The Bandwith Usage For Each User On Server?

Jan 7, 2011

I have a webserver with a few users on and i wonder how i can limit the bandwith usage for each user on my server ?

View 1 Replies View Related

General :: How To Limit Printer Usage By Samba Server

Dec 4, 2010

How can I limit printer usage by SAMBA server?

View 6 Replies View Related

Server :: Running Apache 2.2.3 - High Swap Usage

Oct 2, 2009

I am running Apache 2.2.3 on a CentOS release 5.3 (Final) with 100 Sites. I've notice that Apache is making my server Swap around 200 MBs.
"http://www.xxx.yyy.zzz/server-status" doesn't show me too much to, so I am looking the behavior of specific httpd process.
ProcessID "18753" is the one for "http://www.xxx.yyy.zzz/server-status" in my browser.

This command show me (In KBs) how much virtual memory is that specific process using:
# /etc/init.d/httpd start
# grep Private_Dirty /proc/18753/smaps | awk '{ print $2 }' | xargs ruby -e 'puts ARGV.inject { |i, j| i.to_i + j.to_i }'
3012
... Running this command a lot of times it gives me the same output, but suddenly...
# grep Private_Dirty /proc/18753/smaps | awk '{ print $2 }' | xargs ruby -e 'puts ARGV.inject { |i, j| i.to_i + j.to_i }'
21708

Something make that process (and all the others httpd process too) to use a lot more memory!

Part of my httpd.conf:
# Timeout 120
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 3

<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 100
</IfModule>

<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule> #

My server is running Mysql 5.1.34, vsftpd 2.0.5, BIND 9.3.4-P1 (as slave). I couldn't found anything running in the specific time that httpd processes start to use that much memory.

View 7 Replies View Related







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