Sponsored Content
Full Discussion: Any advice would help
Operating Systems Linux Red Hat Any advice would help Post 302172447 by liquidstyleb on Monday 3rd of March 2008 05:42:45 PM
Old 03-03-2008
Any advice would help

Hi everyone. I must admit up front that I am not very strong when it comes to Linux. I am actually a Windows guy, but don't let that count against me. Smilie I work for a very small company so we do not have a Server/Linux Admin on staff. Most of our needs have been handled by our WebHost. We have started running into a problem and I can't seem to figure out what it is and I was hoping someone could point me in the right direction.

My company is webbased. We have one server that runs Apache and PHP. We have a secondary server that is used strictly for MySQL. We know that our PHP code is not as fine tuned as we would like it to be, but overall it is pretty solid. To ensure that it is we are in the process of installing Zend Platform to help catch some bottlenecks and such. The webserver is running RedHat, not exactly sure of which version but I know it is pretty current. I could get the exact info if it is needed. It is a Dell PowerEdge 1425 with 2 Xeon 3.2Ghz Processors, 2GB RAM and 2 80GB mirrored Hard Drives. Our server load has been skyrocketing lately. We have had an increased traffic level so it is understandable to a point. When I view top it seems to run on average from a .2 to around a 1.8. But it does get up around a 4 to an 8 quote a bit. So far today it is has skyrocketed to about 210 before Apache crashes and restarts. It has done this 4 times today. On average over the past 2 weeks it does this about 4 to 5 times a day. I know the code isn't perfect, but this seems pretty crazy to me. Zend Platform will be installed within the next few days so that will shed some light on the coding issues, but I guess I'm worried that something else might be going on as well.

If anyone could point me in the right direction to find out what is going on I would appreciate it. Again, I'm not a Linux Admin so my knowledge is pretty sparse as to how to go about locating the problem. Thanks in advance.
 

9 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Looking for some advice

I am looking for some advice on wether to use unix or red hat linux? I have played with most windows OS and Mac OS up to in and including OS X. any and all advice would be appreciated (4 Replies)
Discussion started by: justawind
4 Replies

2. Shell Programming and Scripting

first script. need help and advice.

Hello everyone, This is my first post here and this is the first time I am using UNIX OS (Slackware). I find it really useful and powerful and would like to master it but as you may guess I am expreicing quite a few problems. I've been reading a few documentations about it and bash this week... (17 Replies)
Discussion started by: sanchopansa
17 Replies

3. Shell Programming and Scripting

Advice on Script

I would like some advice on how to logically put together a script to handle a daily task of data gathering for the following problem. I have two files, file1 has 125,000 records that I cut and remove unwanted fields through scripts and cron. In file2, I have 25000 records that has the same... (4 Replies)
Discussion started by: greengrass
4 Replies

4. What is on Your Mind?

Career advice

I am a junior unix sys admin (Tru64) I have been in this job for 9 months and I am quite worried. When I first got the job I was delighted as I was finally in a job where I could have the chance to be a specialist in a field rather than being a general support guy (i graduated from uni and got... (5 Replies)
Discussion started by: supadid
5 Replies

5. Shell Programming and Scripting

looking for advice...

Hi. First of all, Im an msoft guy, and when it comes to linux/unix, I'm retarded. Here is what I'm trying to do. I want to start I want to automatically connect to a remote server. Then I need it to login(https) -insert the licensce in the box(vi) -based on that licensce, the... (1 Reply)
Discussion started by: bravo24601
1 Replies

6. Shell Programming and Scripting

Script Advice please?

Ok. I want to parse a log file and search only for denied traffic for the previous hour. The log looks like this: Jun 18 17:47:56 routername 36806: Jun 18 17:53:01.088: %SEC-6-IPACCESSLOG: list ingress-filter denied tcp 1.2.3.4(1234) -> 6.7.8.9(53), 4 packets I only really care about the... (12 Replies)
Discussion started by: earnstaf
12 Replies

7. UNIX for Advanced & Expert Users

scripting advice

what is the good way to improve your skill in shell scripting?? (4 Replies)
Discussion started by: memphiz16
4 Replies

8. UNIX for Dummies Questions & Answers

need advice

i am currently running windows vista home premium, i want to install unix because i just started a computer programing course, i am just wondering if i install unix will i still have vista?? how does it work? will i get a choice of which os to run on system startup?? (1 Reply)
Discussion started by: naner9
1 Replies

9. Shell Programming and Scripting

Need Advice

Guys, Can you tell me what value would additional knowledge of PERL and CGI scripting will add to my skill set of UNIX shell scripting and ORACLE PL/SQL? I understand that PERL is a good tool for text processing. (1 Reply)
Discussion started by: yabhi_22
1 Replies
UPTIME(1)							   User Commands							 UPTIME(1)

NAME
uptime - Tell how long the system has been running. SYNOPSIS
uptime [options] DESCRIPTION
uptime gives a one line display of the following information. The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes. This is the same information contained in the header line displayed by w(1). System load averages is the average number of processes that are either in a runnable or uninterruptable state. A process in a runnable state is either using the CPU or waiting to use the CPU. A process in uninterruptable state is waiting for some I/O access, eg waiting for disk. The averages are taken over the three time intervals. Load averages are not normalized for the number of CPUs in a system, so a load average of 1 means a single CPU system is loaded all the time while on a 4 CPU system it means it was idle 75% of the time. OPTIONS
-p, --pretty show uptime in pretty format -h, --help display this help text -s, --since system up since, in yyyy-mm-dd HH:MM:SS format -V, --version display version information and exit FILES
/var/run/utmp information about who is currently logged on /proc process information AUTHORS
uptime was written by Larry Greenfield <greenfie@gauss.rutgers.edu> and Michael K. Johnson <johnsonm@sunsite.unc.edu> SEE ALSO
ps(1), top(1), utmp(5), w(1) REPORTING BUGS
Please send bug reports to <procps@freelists.org> procps-ng December 2012 UPTIME(1)
All times are GMT -4. The time now is 06:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy