perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: make test hangs
Date Wed, 05 May 2004 21:53:21 GMT
William Fulmer wrote:
> OK.  I ran "tusc -o strace /usr/opt/httpd-2.0.49/bin/httpd -d t -f
> conf/httpd.conf  -DAPACHE2 -DONE_PROCESS -DNO_DETATCH > stdout 2>&1". 
> output is attached. 

Ouch, William, are you aware that you've sent a 1MB attachment to a public 
mailing list, potentially causing lots of problems to people with limited 
account sizes and slow dialup access? Please don't that in the future. If you 
want to show some big file, upload it somewhere and post a link to it.

Originally you posted 4 lines where it was hanging, I hoped you will do the 
same this time, but now monitoring the right process. Sorry if I wasn't clear 
and sounded like I want you to send the whole strace.  I hope our subscribers 
will excuse us for this glitch.

 > The only thing that stood out for me was mod_perl
 > complaining about no -M while running suid and the fact that it couldn't
 > find an nls related file "/usr/lib/nls/loc/locales.2/C" which is in fact
 > nonexistent.  Could this be an nls related anomaly?  If I remember right
 > there are some problems with nls and Solaris 9.

I don't know, I'm not familiar with Solaris. The end of your trace is:

open("/usr/lib/nls/loc/locales.2/C", O_RDONLY, 0) 
.................................. ERR#2 ENOENT
time(0x7f71cd0c) 
................................................................... = 1083792204
sigsetstatemask(0x17, NULL, 2139033120) 
............................................ = 0
write(2, "N o   - M   a l l o w e d   w h ".., 36) 
................................. = 36
sigsetstatemask(0x17, 0x7f7f0e20, 0) 
............................................... = 0
open("/usr/lib/nls/msg/C/strerror.cat", O_RDONLY, 0177777) 
......................... = 22
fstat(22, 0x7f7f2338) 
.............................................................. = 0
fcntl(22, F_SETFD, 1) 
.............................................................. = 0
lseek(22, 0, SEEK_SET) 
............................................................. = 0
read(22, "m s g c a t 0 1 \0\0\0f9\001\001".., 1212) 
............................... = 1212
lseek(22, 3016, SEEK_SET) 
.......................................................... = 3016
read(22, "N o   s u c h   f i l e   o r   ".., 25) 
................................. = 25
close(22) 
.......................................................................... = 0
write(2, "p e r l _ p a r s e :   N o   s ".., 38) 
................................. = 38
getpid() 
........................................................................... = 
20795 (20794)
unlink("/var/spool/sockets/pwgr/client20795") 
...................................... = 0
exit(1) 
............................................................................ 
WIFEXITED(1)

but I see that the process is exiting. Is it still hanging? Or is it the 
client process?

I see that you also run with mod_perl tracing enabled, you may want to turn it 
off to make the strace output smaller.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message