Hangs on network hickup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello happy people.

I'm experiencing certain troubles with httpd (provided by WebStack 1.5) on Solaris 10

After a network hickup (I suspect) httpd refuses to answer.
The Process lingers in a state of waiting for the network interface, see the truss below.
It doesn't recover from this state until after restart.

This httpd is configured to serve as (SSL-Offloading) AJP Proxy. It's also used
for executing PHP applications using mod_php5.



root@atvt1uajas001:~# /opt/webstack/apache2/2.2/bin/httpd -V
Server version: Apache/2.2.11 (Unix)
Server built:   Jul 15 2009 01:31:03
Server's Module Magic Number: 20051115:21
Server loaded:  APR 1.3.3, APR-Util 1.3.4
Compiled using: APR 1.3.3, APR-Util 1.3.4
Architecture:   32-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_FCNTL_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/opt/webstack/apache2/2.2"
 -D SUEXEC_BIN="/opt/webstack/apache2/2.2/bin/suexec"
 -D DEFAULT_PIDLOG="/var/run/opt/webstack/apache2/2.2/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="/var/run/opt/webstack/apache2/2.2/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="/etc/opt/webstack/apache2/2.2/mime.types"
 -D SERVER_CONFIG_FILE="/etc/opt/webstack/apache2/2.2/httpd.conf"
root@atvt1uajas001:~# uname -a
SunOS atvt1uajas001 5.10 Generic_139555-08 sun4v sparc SUNW,T5240
root@atvt1uajas001:~# cat /etc/release
                      Solaris 10 10/08 s10s_u6wos_07b SPARC
           Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 27 October 2008
root@atvt1uajas001:~# ps -cf -u webservd
     UID   PID  PPID  CLS PRI    STIME TTY         TIME CMD
webservd 11840 26662  FSS   1 09:30:05 ?           0:16 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
webservd 26796 26662  FSS   1 09:02:28 ?           0:17 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
webservd 14967 26662  FSS   6 09:09:04 ?           0:17 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
webservd 26674 26671  FSS  59 09:02:26 ?           0:00 /opt/webstack/bin/rotatelogs /opt/weblog/default/access_log.%Y%m%d 100M
webservd 26671 26662  FSS  59 09:02:26 ?           0:00 /bin/sh -c /opt/webstack/bin/rotatelogs /opt/weblog/default/access_log.%Y%m%d 1
webservd 26797 26662  FSS  53 09:02:28 ?           0:18 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
webservd 26794 26662  FSS  55 09:02:28 ?           0:18 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
webservd 26669 26662  FSS  59 09:02:26 ?           0:00 /bin/sh -c /opt/webstack/bin/rotatelogs /opt/weblog/default/error_log.%Y%m%d 10
webservd 26672 26669  FSS   1 09:02:26 ?           0:00 /opt/webstack/bin/rotatelogs /opt/weblog/default/error_log.%Y%m%d 100M
webservd 26793 26662  FSS   1 09:02:28 ?           0:20 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
webservd 26795 26662  FSS   1 09:02:28 ?           0:18 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
webservd 26662  1697  FSS  59 09:02:26 ?           0:03 /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h
root@atvt1uajas001:~# pfiles 26662 
26662:  /opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apac
  Current rlimit: 65536 file descriptors
   0: S_IFCHR mode:0666 dev:342,5 ino:138372 uid:0 gid:3 rdev:13,2
      O_RDONLY|O_LARGEFILE
      /dev/null
   1: S_IFCHR mode:0666 dev:342,5 ino:138372 uid:0 gid:3 rdev:13,2
      O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE
      /dev/null
/snip
  52: S_IFREG mode:0644 dev:256,65551 ino:373748 uid:80 gid:80 size:0
      O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE
  53: S_IFREG mode:0600 dev:335,19 ino:522211864 uid:80 gid:80 size:0
      O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE
  54: S_IFREG mode:0644 dev:256,65551 ino:373751 uid:80 gid:80 size:0
      O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE
      advisory write lock set by process 26796
root@atvt1uajas001:~# ifconfig -a
lo0:5: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
nxge4:5: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 3
        inet 10.150.32.110 netmask fffff000 broadcast 10.150.47.255
nxge5:2: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 4
        inet 10.152.192.110 netmask fffff000 broadcast 10.152.207.255
root@atvt1uajas001:~#
root@atvt1uajas001:~# truss -f -p 26794
26794:  fcntl(54, F_SETLKW64, 0xFF1E17C0) (sleeping...)


The httpd is running in a Zone, here's some info from the Global Zone on it:

root@at2t1uivsh003:~# ifconfig lo0
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
root@at2t1uivsh003:~# ifconfig nxge4
nxge4: flags=1201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS,FIXEDMTU> mtu 1500 index 3
        inet 10.150.32.80 netmask fffff000 broadcast 10.150.47.255
        ether 0:21:28:4:47:f2 
root@at2t1uivsh003:~# ifconfig nxge5
nxge5: flags=1201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS,FIXEDMTU> mtu 1500 index 4
        inet 10.152.192.80 netmask fffff000 broadcast 10.152.207.255
        ether 0:21:28:4:47:f3 
root@at2t1uivsh003:~# zoneadm list -cv | grep atvt1uajas001
   5 atvt1uajas001    running    /zones/atvt1uajas001           native   shared
root@at2t1uivsh003:~# 

-- 
Igor Galić

Tel: +43 (0) 699 122 96 338
Fax: +43(0) 1 91 333 41
Mail: i.galic@xxxxxxxxxxxxxx
URL: http://brainsware.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux