Solaris x86 - Webstack 1.5 - Apache Stops reponding


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris x86 - Webstack 1.5 - Apache Stops reponding
# 1  
Old 12-06-2011
Solaris x86 - Webstack 1.5 - Apache Stops reponding

Solaris 10x86 running multiple zones
Webstack 1.5 loaded in the global and one zone is using the Apache webserver which it provides.

Rest of zones working fine, no issues etc...

The Apache web server however just stops responding. It is still running, but not processing requests. There are no errors, nothing in the logs for the webserver or in the zone's system logs indicating any issues.

I wrote a simple script to check to see if the apache server is responding and have it restart the server if not, but I really need to find out how/why this is happening and if I can't fix it, move to something else that can do the same job in the same platform.

Anyone have similar issues in the past or have suggestions on what I can look for.

The previous server which was quite old used an very old Xampp system and with pretty much the same configuration (and zones) without these issues.
# 2  
Old 12-06-2011
Run
Code:
truss -p PID_of_hanged_apache

to see what the apache is really doing when it stops responding.
# 3  
Old 12-06-2011
Unfortunately, truss isn't showing anything. Even when running a bunch of connections all you ever see is:

Code:
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000)  = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000)  = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000)  = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000)  = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000)  = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000)  = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000)  = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000) (sleeping...)
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000)  = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000)  = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000)  = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0

It finally stopped responding but the truss output kept up the same until I killed it.
# 4  
Old 12-06-2011
Normally apache is spawning few httpd processes. Are you sure that you were watching the correct one?
# 5  
Old 12-06-2011
Well... I did it with the master httpd process, not any of the slaves. however when this stops working, all of them appear to stop.

In the case below... it would be PID # 16818

Code:
    root 16818  1812   0 11:55:26 ?           0:02 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
  nobody 10266 16818   0 12:41:57 ?           0:01 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
  nobody 16824 16818   0 11:55:27 ?           0:03 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
  nobody 15546 16818   0 13:54:31 ?           0:00 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
  nobody 25006 16818   0 16:39:57 ?           0:00 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
  nobody 16752 16818   0 13:57:05 ?           0:02 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
  nobody 21414 16818   0 12:05:14 ?           0:02 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
  nobody 16823 16818   0 11:55:27 ?           0:08 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
  nobody 16573 16818   0 16:11:18 ?           0:00 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
  nobody  7354 16818   0 13:38:35 ?           0:01 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
  nobody 20644 16818   0 12:03:27 ?           0:13 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h

---------- Post updated at 05:10 PM ---------- Previous update was at 04:52 PM ----------

Think I found my problem. Found an article that describes exactly what I am experiencing...

---------- Post updated at 05:12 PM ---------- Previous update was at 05:10 PM ----------

I would have posted the link to it, but the forum says I can't do that until I have posted at least 5 posts...

The following is the link.. there is no www in front of it.

sysadminsjourney.com/content/2009/09/01/apache-2212-2213-and-solaris-10-bug-nastiness
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris: clnt_create fails on solaris x86

Hi, I am facing an issue with Solaris x86 machine Machine Details: uname -a SunOS sol10-64 5.10 Generic_137138-09 i86pc i386 i86pc .............................. Description: I am trying to register a programm with proramm ID 300760 with version number 1, and tryint to create a... (0 Replies)
Discussion started by: DivakarAdari
0 Replies

2. Solaris

Apache Install error on Solaris 10 x86

I am trying to install apache on a sun server (Solaris 10 x86) but when I execute the compile i have the following error; configure failed for srclib/apr Can anybody help with this. Thanks for the usual help oh-daa (2 Replies)
Discussion started by: oh-daa
2 Replies

3. Solaris

x86 Install stops with a /cdrom error

Hi, I have a DVD burned iso image of Solaris 10 for x86 and trying to install it on an PowerSpec PC with 2 - DVD drives. The DVD image won't boot from the top DVD drive so I put it in the second one and it boots. The installation gets to the following prompt: "You may need to manually eject the... (2 Replies)
Discussion started by: rpollard001
2 Replies

4. Solaris

Solaris 10 - init stops working

I have a really strange issue on Solaris 10 running on v490. I'm running Oracle 10g on the box. Everything runs fine and all of a sudden I get a call from a DBA. I check and none of the Oracle processes are running. They were definitely running after the system booted and nobody stopped them. I try... (0 Replies)
Discussion started by: GKnight
0 Replies

5. UNIX for Dummies Questions & Answers

Running Solaris Sparc Apps on X86 Solaris

I know that Sun make s a version of Solaris for Sparc platforms and also an x86 (Intel/AMD) release of Solaris. Can an application that runs on Solaris/Sparc also run on a PC running the x86 release of Solaris? Would a different release be required or any re-compling of the application? jim (1 Reply)
Discussion started by: stocksj
1 Replies

6. Solaris

Solaris x86 on D<LL (OK I said it)

OK, I have a DELL Poweredge 2850 fresh out of the box sitting here. I'm thinking of putting Solaris 9 x86 on it. Has anyone ever attempted this before, do you think it will work? I dont want to get into something that is just going to be a enormus waste of time, so I am wondering if anyone... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

7. Solaris

Solaris 10 X86

Ok here goes, this MCSE is now fed up with MS, they are telling me that my Legal XP has a s/num they didnt issue. After countless emails I am P with them and am loooking for a new OS. Tried Linux, got it working but seems too flaky for me. Have installed Solaris 10 X86 (on a temp pc AMD Athlon... (1 Reply)
Discussion started by: mickie
1 Replies

8. Solaris

solaris on x86

hi, need help! i've installed solaris 9 on my x86 box...problems with kdmconfig. here what i have: 1- Dell 17" Flat monitor ( 31kHz-80kHz horizontal and 56 Hz-76Hz Vertical) 2- Matrox Millenium G550 card what choices do i have to made? best regards thank you in advance (1 Reply)
Discussion started by: hmaiida
1 Replies

9. UNIX for Dummies Questions & Answers

Solaris 8 x86

Hi There, I search a lot across the board but didn't find answer... first of all... I installed the Companion CD. So Kde is supposed to work... I ran the script to have it in my login screen, and it's there... but when I enter it, it only kicks me to the login screen once... (1 Reply)
Discussion started by: Erythro73
1 Replies
Login or Register to Ask a Question