1836590 Members
2968 Online
110102 Solutions
New Discussion

ns-httpd process looping

 
Gary L. Paveza, Jr.
Trusted Contributor

ns-httpd process looping

I have an ns-httpd process (SunOne web server) currently looping on one of my HPUX 11.11 systems. Our developers are working the issue, but I thought I'd ask around here.

I ran tusc against the process:

tusc -E -vvv -p 12627 and here is what I received. Can anyone tell me what this means (I'm very much a novice when it comes to tracing)? Or if I should rerun tusc with different options?

( Attached to process 12627 ("ns-httpd -d /opt/sun1_prod/iWS6/https-pplcsweb/config") [32-bit] )
[12627] select(23, 0x7f7f106c, NULL, 0x7f7f126c, 0x7f7f1378) [sleeping]
nfds: 23
readfds: 6, 21, 22
writefds: NULL
errorfds: 6, 21, 22
timeout.tv_sec: 0
timeout.tv_usec: 500000
[12627] In user-mode ..................................... [running]
[12627] select(0, NULL, NULL, NULL, 0x7adc3208) .......... [sleeping]
nfds: 0
timeout.tv_sec: 1
timeout.tv_usec: 0
[12627] sigwait(0x7adb21a8, 0x7adb21c8) .................. [sleeping]
set: SIGHUP|SIGINT|SIGTERM|SIGCLD
[12627] select(23, 0x7f7f106c, NULL, 0x7f7f126c, 0x7f7f1378) = 0
nfds: 23
readfds: EMPTY
writefds: NULL
errorfds: EMPTY
timeout.tv_sec: 0
timeout.tv_usec: 500000
[12627] gettimeofday(0x7f7f1460, NULL) ................... [entry]
[12627] gettimeofday(0x7f7f1460, NULL) ................... = 0
[12627] select(23, 0x7f7f106c, NULL, 0x7f7f126c, 0x7f7f1378) [entry]
nfds: 23
readfds: 6, 21, 22
writefds: NULL
errorfds: 6, 21, 22
timeout.tv_sec: 0
timeout.tv_usec: 500000
[12627] select(0, NULL, NULL, NULL, 0x7adc3208) .......... = 0
nfds: 0
timeout.tv_sec: 1
timeout.tv_usec: 0
[12627] select(0, NULL, NULL, NULL, 0x7adc3208) .......... [entry]
nfds: 0
timeout.tv_sec: 1
timeout.tv_usec: 0
[12627] select(23, 0x7f7f106c, NULL, 0x7f7f126c, 0x7f7f1378) = 0
nfds: 23
readfds: EMPTY
writefds: NULL
errorfds: EMPTY
timeout.tv_sec: 0
timeout.tv_usec: 500000
[12627] gettimeofday(0x7f7f1460, NULL) ................... [entry]
[12627] gettimeofday(0x7f7f1460, NULL) ................... = 0
[12627] select(23, 0x7f7f106c, NULL, 0x7f7f126c, 0x7f7f1378) [entry]
nfds: 23
readfds: 6, 21, 22
writefds: NULL
errorfds: 6, 21, 22
timeout.tv_sec: 0
timeout.tv_usec: 500000
[12627] select(23, 0x7f7f106c, NULL, 0x7f7f126c, 0x7f7f1378) = 0
nfds: 23
readfds: EMPTY
writefds: NULL
errorfds: EMPTY
timeout.tv_sec: 0
timeout.tv_usec: 500000
[12627] gettimeofday(0x7f7f1460, NULL) ................... [entry]
[12627] gettimeofday(0x7f7f1460, NULL) ................... = 0
[12627] select(23, 0x7f7f106c, NULL, 0x7f7f126c, 0x7f7f1378) [entry]
nfds: 23
readfds: 6, 21, 22
writefds: NULL
errorfds: 6, 21, 22
timeout.tv_sec: 0
timeout.tv_usec: 500000
[12627] select(0, NULL, NULL, NULL, 0x7adc3208) .......... = 0
nfds: 0
timeout.tv_sec: 1
timeout.tv_usec: 0
[12627] select(0, NULL, NULL, NULL, 0x7adc3208) .......... [entry]
nfds: 0
timeout.tv_sec: 1
timeout.tv_usec: 0
[12627] select(23, 0x7f7f106c, NULL, 0x7f7f126c, 0x7f7f1378) = 0
nfds: 23
readfds: EMPTY
writefds: NULL
errorfds: EMPTY
timeout.tv_sec: 0
timeout.tv_usec: 500000
[12627] gettimeofday(0x7f7f1460, NULL) ................... [entry]
[12627] gettimeofday(0x7f7f1460, NULL) ................... = 0
[12627] select(23, 0x7f7f106c, NULL, 0x7f7f126c, 0x7f7f1378) [entry]
nfds: 23
readfds: 6, 21, 22
writefds: NULL
errorfds: 6, 21, 22
timeout.tv_sec: 0
timeout.tv_usec: 500000
[12627] select(23, 0x7f7f106c, NULL, 0x7f7f126c, 0x7f7f1378) = 0
nfds: 23
readfds: EMPTY
writefds: NULL
errorfds: EMPTY
timeout.tv_sec: 0
timeout.tv_usec: 500000
[12627] gettimeofday(0x7f7f1460, NULL) ................... [entry]
[12627] gettimeofday(0x7f7f1460, NULL) ................... = 0
[12627] select(23, 0x7f7f106c, NULL, 0x7f7f126c, 0x7f7f1378) [entry]
nfds: 23
readfds: 6, 21, 22
writefds: NULL
errorfds: 6, 21, 22
timeout.tv_sec: 0
timeout.tv_usec: 500000
[12627] select(0, NULL, NULL, NULL, 0x7adc3208) .......... = 0
nfds: 0
timeout.tv_sec: 1
timeout.tv_usec: 0
[12627] select(0, NULL, NULL, NULL, 0x7adc3208) .......... [entry]
nfds: 0
timeout.tv_sec: 1
timeout.tv_usec: 0
[12627] select(23, 0x7f7f106c, NULL, 0x7f7f126c, 0x7f7f1378) = 0
nfds: 23
readfds: EMPTY
writefds: NULL
errorfds: EMPTY
timeout.tv_sec: 0
timeout.tv_usec: 500000
[12627] gettimeofday(0x7f7f1460, NULL) ................... [entry]
[12627] gettimeofday(0x7f7f1460, NULL) ................... = 0
[12627] select(23, 0x7f7f106c, NULL, 0x7f7f126c, 0x7f7f1378) [entry]
nfds: 23
readfds: 6, 21, 22
writefds: NULL
errorfds: 6, 21, 22
timeout.tv_sec: 0
timeout.tv_usec: 500000
2 REPLIES 2
Cheryl Griffin
Honored Contributor

Re: ns-httpd process looping

ns-httpd process at 100% CPU utilization and then crashes
http://help.netscape.com/kb/corporate/19980728-30.html

could it be related?
"Downtime is a Crime."
Gary L. Paveza, Jr.
Trusted Contributor

Re: ns-httpd process looping

I looked at that explaination, but it appears that my issue (if I'm reading right) is related to select (the other one is write), and my web server doesn't crash. It just runs at 100%