Tag Info

Hot answers tagged

19

Do you mean before any part fails, at all? Or do you mean how long can a server be expected to last if you perform maintenance on the serve, including replacing faulty parts like hard drives and power supplies? Assuming you mean the latter - after all components like a hard drive can fail any time from '2 days after you got them' to 10 years plus - then I'd ...


12

Your picture shows 56% cached memory. Linux works with kernel and cache loaded in the RAM to speed up things. When you have more applications taking up memory, the cache will be reduced to trade off its advantages for running more apps. In short, things are fine; you are not running out of memory. The Kernel+Apps memory utilization is near the 30% mark. ...


11

For anyone trying to understand what usage output means, the best way is to man man. seriously :-) Take the time to learn the conventions, it really helps. The following conventions apply to the SYNOPSIS section and can be used as a guide in other sections. bold text type exactly as shown. italic text replace with appropriate ...


10

Is this a one time thing, or is this information you want to be able to extract regularly? In case it is the later then one option is to apply quotas on your filesystem. Doing that the system continuously keeps track of the amount of data used by each user. That way the information is merely a query to the quota database away.


7

you could install debian plus the various debian-science packages on these machines. that includes quite a large collection of free software programs for several common computation problems in science, as well as general libraries and toolkits such as openmpi. see also http://blends.alioth.debian.org/science/tasks/. it contains a list of the sub-projects ...


7

There are two main categories of uses for chroot (the Wikipedia article goes into more detail): Isolate an application, providing it with a restricted view of the filesystem. This is commonly done for public FTP servers, for example, to make sure they won't be able to serve files outside the public area even if there's a bug in the server software. This ...


6

You can use Windows Performance Monitor to monitor the CPU usage on the server. You can then configure an alert for when it reaches a certain threshold. This article gives a good description of setting this up. The Alert will let you either log this to the event log, send a netsend message, or more useful, run a program. You can then configure this to run a ...


4

For basic crash dump analysis no particular skills are needed. If you can follow the instructions and open a dump with crash then you can do some basic diagnostics without any in depth knowledge of the kernel. However, for anything beyond the basics you're going to need to know how to debug code using gdb, develop a good knowledge of kernel structure and ...


4

I have had same issue because my Amazon account was created way before I had signed up for free usage tier. Excerpt from their AWS Free Usage Tier Offer Terms: Only accounts created after October 20, 2010 are eligible for the Offer. The Offer does not apply to any use of the AWS services prior to November 1, 2010.


4

overflow 1.0M 0 1.0M 0% /tmp You have only 1 MB of tmp space EDIT: In this way you can increase size of /tmp sudo dd if=/dev/zero of=/usr/temp-disk bs=2M count=1024 sudo mke2fs -j /usr/temp-disk sudo mke2fs -j /usr/temp-disk sudo chmod 1777 /usr/temp-disk sudo umount /tmp sudo mount -t ext3 -o rw,noexec,nosuid,loop /usr/temp-disk ...


4

The most breakable part is a hard drive and telling when it will fail is quite Unpredictable. Others part should be able to works for years in a good environment (temperature, power, ...) But you probably want to change a server when it's no longer under warranty


4

Most people have so far answered this with a view to the technical life span of a server. Which is pretty much what most small companies and private owners do. I work for a company where there are no cash flow problems, and our approach is quite different. Our servers (and most other pieces of IT infrastructure) are all assets, i.e. they are capitalized ...


3

lsof will only show you which resources are being used by your local system, in no case it'll show any foreign resource acquisition, but there's a way around that... All remote usage will be tracked by the lockd daemon on the NFS server and it'll issue a lock on the file if you try to access it while being written by another node, so if you're using this ...


3

Until your warranty/service cover gets more expensive... for corporates Many shops have 3rd party or vendor service agreements, based on server age and CPUs etc. After 3 or 4 years (been some time since I last looked at this) the cost per server jumps massively. So it's replaced, whether it needs it or not.


3

Regardless of the average lifespan of a server, maintenance pays off in the end. If a server doesn't go belly up within the first 90 days, then chances are it should outlive the lifespan of the technology housed inside. Servers at 5 years are considered venerable in relation to the technology used to build them. As @radius says, a warranty actually ...


3

The three numbers represent the number of processes, on average, that are ready to run but are blocked, over the last one, five, and fifteen minutes, respectively. https://secure.wikimedia.org/wikipedia/en/wiki/Load_average It varies very slightly from one unix-like OS to the next (e.g., different criteria for "waiting"), but they all work basically the ...


3

AWK is your friend. http://en.wikipedia.org/wiki/AWK


3

It's using 600MB of memory at the moment - you must have quite a few things running, but it's not unreasonable. Ignore the 'buffers' and 'cached' lines - those are disk buffers and disk cache. The system's just using that because it's there. Look at the 'Kernel + Applications' line to see what the programs are actually using.


3

In a 200-person environment I would imagine you have some Windows servers floating around there somewhere. If the printer isn't already available via a print queue on one of your servers (i.e. your clients are printing directly to the printer IP), alter this so that your clients print via a shared printer queue from a server. This will have a nice side ...


3

It will always be pretty inaccurate because of shared pages. However smem should be able to generate you such report.


3

Found it... "top -S"


2

You need to parse the logs with a custom script. You'll also likely want a custom log format (to capture the VirtualHost names.) You can either parse the logs daily (or hourly/weekly) or you can run the logs through a script as it happens. LogFormat "%B \"%{Host}i\"" myformat CustomLog "|/usr/local/bin/apachebwmeter" myformat It's up to you to write ...


2

As Michal says, this will be inaccurate due to shared pages, but if you wanted to you could build a script around a ps command For example the couple of liner below would print out the virtual memory used by the UID 500 in KB: #!/bin/bash SUM=0 for MEM in `ps -u 500 -o vsize --no-headers`; do SUM=$((SUM+$MEM)); done echo $SUM Ewan


2

What we do in many places is use the quota system, but set absurdly high quotas. This way you get the benefit of fast reporting. At one site, each user has 1 TB of "quota" space. We periodically bump the quota higher as serviceable disk grows -- initially it was 30GB per user, something that was absurdly high at the time.


2

Or for finding the problem users (directories too), du -xk | sort -n | tail -25 and for Solaris: du -dk | sort -n | tail -25 This gives you a list of the 25 largest directories. Not quite what you asked for, but I use it all the time.


2

I don't know if you can do all you want but there are a variety of was to create scripts to extract data from Exchange. In my case I'm only interested in the number of messages and the total size of each mailbox. A Perl script that runs each night gathers that information and logs it into a MySQL database. It then uses the data in the database to generate an ...


2

A hadoop cluster could be used to process massive amounts of data if they have the need.


2

You could set up some webcams around campus and use facial recognition software to track people (anonymously) and look at any patterns that emerge. The cluster would be used for performing the facial recognition from the webcam images.


2

This article just came across one of my rss feeds and I thought about this question. It lists 25 opensource HPC applications. And it includes a number of science related applications from a number of disciplines. http://www.hpccommunity.org/f55/clusters-produce-25-open-hpc-applications-591/



Only top voted, non community-wiki answers of a minimum length are eligible