Logs & Lists to Save before httpd restart when web server freezes?


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Logs & Lists to Save before httpd restart when web server freezes?
# 1  
Old 10-01-2013
Logs & Lists to Save before httpd restart when web server freezes?

Hello...

We keep having a problem with the httpd freezing and users getting time outs.

I am not the Sys Admin but since I am the 1st one in, I have to restart the httpd server.

Is there a list of items I should collect before I restart in order to help with trouble shooting?

I currently do a log watch from a few days before and a ps -ef right before I restart.

What are some of the other things I should do?

Thanks,
~Donavon
# 2  
Old 10-01-2013
Your Sys Admin is fine with you doing this? He/she should be working to resolve, or at least be directing you to what to look for before simply power-down/power-up.
So many things to think about...
# users connected
memory space in-use/free
disk space free
last user connected; last program run
cron jobs

and so on.
As you look through, probably several will be quickly ruled out. However, a system should not freeze without a reason.
# 3  
Old 10-01-2013
Unfortunately it's pretty siloed with little to no feedback. Smilie

Just trying to find out a list of information to collect.

All I can do is:
- Collect as much information as possible to help with the trouble shooting process
- restart services so users can access httpd

Thank you for the list.. It is a good place to start.
  • # users connected
  • memory space in-use/free
    cat /proc/meminfo
    free -m
    vmstat
  • disk space free
    df -h
  • last user connected; last program run
  • cron jobs (running???)
  • Current Running Services
    ps -ef
  • summary of current logs
    logwatch --detail High --archives --range
# 4  
Old 10-01-2013
Code:
strace -p <pid-of-a-stuck-httpd>

might give some helpful information.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Show Logs from a server location to a web browser

hey Guys, Am a newbie to Linux and have a probable requirement that might come up pretty soon. I need to understand, how log files and log location can be displayed on a web browser. So that the end user can read the log files and should be able to search for order numbers in the logs. If... (2 Replies)
Discussion started by: ashish_samarth
2 Replies

2. Shell Programming and Scripting

Need Script to ZIP/SAVE & then DELETE Log file & send a mail conformation for any error

ENVIROMENT Linux: RHEL 6.4 Log Path: /usr/iplanet/servers/https-company/logs Log Format: user.log.03-15-2015 I have log4j log rotation enabled rotating files on a daily basis. The rotated logs are NOT compressed & are taking up too much space. I need a script that will run daily that... (1 Reply)
Discussion started by: admin_job_admin
1 Replies

3. Red Hat

Comprehensive Disk & Server Logs.

Hello All, I'm using a RHEL6.4 on IBM X3850 X5 server. I want to get a comprehensive report containing disk-wise health status as well as overall server status. I see there's utility "ibm_utl_dsa_dsytd3h-9.51_portable_rhel6_x86-64.bin" which is also used to do diagnostics tasks. I'm not sure of... (1 Reply)
Discussion started by: vaibhavvsk
1 Replies

4. UNIX for Advanced & Expert Users

How to Restart the web server

Hi, Unix AIX, on WebLogic How to Restart the web server Thank you. (2 Replies)
Discussion started by: big123456
2 Replies

5. Solaris

Oracle Database and HTTPD Web Service

Hi, I have a Solaris 5.6 having an Oracle database.Now this server is being accessed by a web service interface.I cannot see anything other than httpd daemons running on my server. There is a frequent problem of the stopping of these httpd daemons . Now i am asked to find the root case.I talked... (1 Reply)
Discussion started by: asalman.qazi
1 Replies

6. Web Development

sudo httpd -k restart

hi, why do I need -k in sudo httpd -k restart ? thanks (2 Replies)
Discussion started by: aneuryzma
2 Replies

7. Solaris

what is the difference between http & Tomcat web server

I do not know the difference between the apache-http and the apche-Tomcat.Is they are differentiated on their version or on their features.:confused: (2 Replies)
Discussion started by: jayaprakash
2 Replies

8. Linux

Shared web server resources (CPU&RAM)

Hello, guys ! Long time no seen. I have a question about Linux web servers. I guess it is a more general question, but in my case it is a Linux web server. I want to know how much RAM memory should I put on my servers. Do you have some formula or guidelines on how should I calculate the amount... (1 Reply)
Discussion started by: Sergiu-IT
1 Replies

9. UNIX for Dummies Questions & Answers

Solaris 7 & 9, Iplannet 4.1 and Sun ONE web server 6.1

Hey all, I was wondering whether anyone could give me any tips. I'm a total newcomer when it comes to Solaris and i need to dothe following: Current System: Solaris 7 running IPlannet 4.1: Upgrade (Preserving current data) to: Solaris 9 running Sun ONE Web Server 6.1 Has anyone... (1 Reply)
Discussion started by: AJD
1 Replies

10. Solaris

Solaris 7 & 9, Iplannet 4.1 and Sun One Web Server 6.1

Hey all, I was wondering whether anyone could give me any tips. I'm a total newcomer when it comes to Solaris and i need to dothe following: Current System: Solaris 7 running IPlannet 4.1: Upgrade (Preserving current data) to: Solaris 9 running Sun ONE Web Server 6.1 Has anyone... (0 Replies)
Discussion started by: AJD
0 Replies
Login or Register to Ask a Question