DO NOT REPLY [Bug 9450] New: - Hanging onto connections

2002-05-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9450.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9450

Hanging onto connections

   Summary: Hanging onto connections
   Product: Apache httpd-1.3
   Version: 1.3.23
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: Normal
  Priority: Other
 Component: core
AssignedTo: bugs@httpd.apache.org
ReportedBy: [EMAIL PROTECTED]


Not sure why, but the connections (just today) went up to 152, and nothing was 
being served.  Below is the debug and the strace.  It seems to be looping.  Not 
sure what the children are doing.  there is no traffic nor system load nor 
active TCP/IP connections to justify that many clients.

Any thoughts?

Linux 2.2.20
---

# gdb
(gdb) attach 27492
Attaching to Pid 27492
0x401f749e in ?? ()
(gdb) bt
#0  0x401f749e in ?? ()
#1  0x81a5f81 in ?? ()
#2  0x81a66ec in ?? ()
#3  0x40175d61 in ?? ()
(gdb) quit

---

# strace -p 27492
select(0, NULL, NULL, NULL, {0, 81}) = 0 (Timeout)
time(NULL)  = 1022561298
wait4(-1, 0xbd80, WNOHANG, NULL)= 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
time(NULL)  = 1022561299
wait4(-1, 0xbd80, WNOHANG, NULL)= 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
time(NULL)  = 1022561300
wait4(-1, 0xbd80, WNOHANG, NULL)= 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
time(NULL)  = 1022561301
wait4(-1, 0xbd80, WNOHANG, NULL)= 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
time(NULL)  = 1022561302
wait4(-1, 0xbd80, WNOHANG, NULL)= 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
time(NULL)  = 1022561303
wait4(-1, 0xbd80, WNOHANG, NULL)= 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
time(NULL)  = 1022561304
wait4(-1, 0xbd80, WNOHANG, NULL)= 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
time(NULL)  = 1022561305
wait4(-1, 0xbd80, WNOHANG, NULL)= 0
... continued ...

---

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 9450] - Hanging onto connections

2002-05-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9450.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9450

Hanging onto connections





--- Additional Comments From [EMAIL PROTECTED]  2002-05-28 12:18 ---
Doesn't seem related to the AcceptMutex either-  all available options do 
pretty much the same thing.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 9450] - Hanging onto connections

2002-05-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9450.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9450

Hanging onto connections

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2002-05-28 13:05 ---
The problem was a looping bombing that seemed to be occuring within the 
network.  Please ignore.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 9457] New: - Compilation fails on HP-UX 10.20

2002-05-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9457.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9457

Compilation fails on HP-UX 10.20

   Summary: Compilation fails on HP-UX 10.20
   Product: Apache httpd-2.0
   Version: 2.0.36
  Platform: HP
   URL: Intranet no reachable from Internet
OS/Version: HP-UX
Status: NEW
  Severity: Blocker
  Priority: Other
 Component: Build
AssignedTo: bugs@httpd.apache.org
ReportedBy: [EMAIL PROTECTED]


Hi all,

The configure step finish successfully but make fails w/ following errors :

/bin/sh /datas/depot/httpd-2.0.36/srclib/apr/libtool --silent --mode=compile gcc
-g -O2   -DHAVE_CONFIG_H -D_XOPEN_SOURCE_EXTENDED -D_REENTRANT   -I../../include
-I.
./../include/arch/unix -I../../include/arch/unix  -c open.c  touch open.lo
open.c: In function `apr_file_open':
open.c:169: structure has no member named `cma_pipe'
gmake[4]: *** [open.lo] Error 1
gmake[4]: Leaving directory `/datas/depot/httpd-2.0.36/srclib/apr/file_io/unix'

The faulty line is :
(*new)-pipe = 0;

I use gcc version 2.95.3 on a (slow ;-D) HP 715 workstation.

After some search, I discover a wraper in 
./opt/dce/include/dce/cma_ux.h

#  define pipe  cma_pipe

I totaly duno why this include is called for compiling Apache ...

My workaround is obviously to add such
#ifdef HPUX
#undef pipe
#endif

but I think it's quite dirty.

I haven't the time yet to check on HP-UX 11.

Bye

Laurent

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 9457] - Compilation fails on HP-UX 10.20

2002-05-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9457.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9457

Compilation fails on HP-UX 10.20





--- Additional Comments From [EMAIL PROTECTED]  2002-05-28 13:18 ---
Oups, obviously, it's

#ifdef __hpux__
#undef pipe
#endif

Laurent

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 9447] - Apache bringing down system

2002-05-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9447.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9447

Apache bringing down system





--- Additional Comments From [EMAIL PROTECTED]  2002-05-28 13:53 ---

  Have you installed any firewall software, such as ZoneAlarm?  A number of
  firewall vendors modify the tcp/ip drivers or insert their own broken hooks
  into the tcp/ip stack.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 9457] - Compilation fails on HP-UX 10.20

2002-05-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9457.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9457

Compilation fails on HP-UX 10.20





--- Additional Comments From [EMAIL PROTECTED]  2002-05-28 14:03 ---
Other problem :

/bin/sh /datas/depot/httpd-2.0.36/srclib/apr/libtool --silent --mode=compile gcc
-g -O2   -DHAVE_CONFIG_H -D_XOPEN_SOURCE_EXTENDED -D_REENTRANT   -I../../include
-I.
./../include/arch/unix  -c thread.c  touch thread.lo
thread.c: In function `apr_thread_create':
thread.c:165: incompatible type for argument 2 of `pthread_create'
thread.c: In function `apr_thread_detach':
thread.c:223: incompatible type for argument 1 of `pthread_detach'
thread.c: In function `apr_thread_once_init':
thread.c:281: `PTHREAD_ONCE_INIT' undeclared (first use in this function)
thread.c:281: (Each undeclared identifier is reported only once
thread.c:281: for each function it appears in.)
gmake[3]: *** [thread.lo] Error 1
gmake[3]: Leaving directory
`/datas/depot/httpd-2.0.36/srclib/apr/threadproc/unix'

About error of line 165, I duno what should be the cause, as it's the right type
in the source code. Perhaps onther overwriting define problem :-(

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 8540] - apr_thread_mutex_pool_get segfaults at startup

2002-05-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8540.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8540

apr_thread_mutex_pool_get segfaults at startup





--- Additional Comments From [EMAIL PROTECTED]  2002-05-28 15:53 ---
Created an attachment (id=1958)
All logs associated with the build(success)/launch(failure) attempt.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 8540] - apr_thread_mutex_pool_get segfaults at startup

2002-05-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8540.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8540

apr_thread_mutex_pool_get segfaults at startup





--- Additional Comments From [EMAIL PROTECTED]  2002-05-28 16:00 ---
Speaking for myself, I no longer get the thread error, but I'm still not able 
to start httpd.  When I 
attempt to start it (apachectl start), here is the output that appears on my 
screen:

rtld: 
0712-001 Symbol gdbm_errno was referenced
  from module 
/export/apache2B/lib/libaprutil.so(), but a runtime definition of the symbol 
was not 
found.

rtld: 0712-001 Symbol gdbm_strerror was referenced
  from module 
/export/apache2B/lib/libaprutil.so(), but a runtime definition of the symbol 
was not 
found.

rtld: 0712-001 Symbol gdbm_open was referenced
  from module 
/export/apache2B/lib/libaprutil.so(), but a runtime definition of the symbol 
was not 
found.

rtld: 0712-001 Symbol gdbm_close was referenced
  from module 
/export/apache2B/lib/libaprutil.so(), but a runtime definition of the symbol 
was not 
found.

rtld: 0712-001 Symbol gdbm_fetch was referenced
  from module 
/export/apache2B/lib/libaprutil.so(), but a runtime definition of the symbol 
was not 
found.

rtld: 0712-001 Symbol gdbm_store was referenced
  from module 
/export/apache2B/lib/libaprutil.so(), but a runtime definition of the symbol 
was not 
found.

rtld: 0712-001 Symbol gdbm_delete was referenced
  from module 
/export/apache2B/lib/libaprutil.so(), but a runtime definition of the symbol 
was not 
found.

rtld: 0712-001 Symbol gdbm_exists was referenced
  from module 
/export/apache2B/lib/libaprutil.so(), but a runtime definition of the symbol 
was not 
found.

rtld: 0712-001 Symbol gdbm_firstkey was referenced
  from module 
/export/apache2B/lib/libaprutil.so(), but a runtime definition of the symbol 
was not 
found.

rtld: 0712-001 Symbol gdbm_nextkey was referenced
  from module 
/export/apache2B/lib/libaprutil.so(), but a runtime definition of the symbol 
was not 
found.

rtld: 0712-002 fatal error: exiting.

My lone argument to configure was the 
prefix flag on the first attempt.  My second attempt added the 
--enable-maintainer_mode, 
which seemed to have no effect (./httpd -l and ./httpd -V produced the same 
output as above).  My 
platform is AIX 4.3.3 with maintenance pack 10 (for the thread issue, I was on 
maintenance level 
9).

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 9447] - Apache bringing down system

2002-05-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9447.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9447

Apache bringing down system

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE



--- Additional Comments From [EMAIL PROTECTED]  2002-05-28 16:30 ---

  See the cited report for progess to date.  

*** This bug has been marked as a duplicate of 7932 ***

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 9464] New: - Error 400 when using mod_rewrite

2002-05-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9464.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9464

Error 400 when using mod_rewrite

   Summary: Error 400 when using mod_rewrite
   Product: Apache httpd-2.0
   Version: 2.0.36
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: Normal
  Priority: Other
 Component: mod_rewrite
AssignedTo: bugs@httpd.apache.org
ReportedBy: [EMAIL PROTECTED]


I can't get mod_rewrite to do anything but return error 400 - using the same 
rules which used to work perfectly on Apache 1.3.23. One such rule was :

RewriteRule ^/actu/article/(.+)\.[sp]?html?$ /cgi-bin/actu.cgi?id=$ 
[T=application/x-httpd-cgi]

... but I get this even with any simple rule, such as

RewriteRule ^/foo\.html$ /index.shtml

Nothing but error 400 :( !

This is what I get in the rewrite_error.log :

62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#642c38/initial] (2) init rewrite engine 
with requested uri /foo.html
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#642c38/initial] (3) applying 
pattern '^/foo.html$' to uri '/foo.html'
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#642c38/initial] (2) rewrite /foo.html -
 /index.shtml
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#642c38/initial] (2) local path 
result: /index.shtml
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#643df8/initial/redir#1] (2) init rewrite 
engine with requested uri /error/HTTP_BAD_REQUEST.html.var
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#643df8/initial/redir#1] (3) applying 
pattern '^/foo.html$' to uri '/error/HTTP_BAD_REQUEST.html.var'
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#643df8/initial/redir#1] (1) pass 
through /error/HTTP_BAD_REQUEST.html.var
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64ac58/subreq] (2) init rewrite engine 
with requested uri /error/include/top.html
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64ac58/subreq] (3) applying 
pattern '^/foo.html$' to uri '/error/include/top.html'
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64ac58/subreq] (1) pass 
through /error/include/top.html
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64ac58/subreq] (2) init rewrite engine 
with requested uri /error/include/bottom.html
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64ac58/subreq] (3) applying 
pattern '^/foo.html$' to uri '/error/include/bottom.html'
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64ac58/subreq] (1) pass 
through /error/include/bottom.html
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64cc60/subreq] (2) init rewrite engine 
with requested uri /error/contact.html.var
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64cc60/subreq] (3) applying 
pattern '^/foo.html$' to uri '/error/contact.html.var'
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64cc60/subreq] (1) pass 
through /error/contact.html.var

I was using IE 6.0 for these tests, but got exactly the same error with 
Mozilla 1.0RC3

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 9469] - localtime not thread safe

2002-05-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9469.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9469

localtime not thread safe

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-05-28 21:49 ---
I've fixed this by apr-izing the time functions in that file.  (It's better to 
use 
apr_time_exp_lt() than to proliferate localtime() vs. localtime_r() 
everywhere... that's 
the whole point of APR.)  Thanks for the report!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]