http://qa.mandrakesoft.com/show_bug.cgi?id=6010





------- Additional Comments From [EMAIL PROTECTED]  2003-28-09 18:44 -------
Ok a little ethereal dump. I launch Ethereal on the ADSL interface and then try
to ApacheBench www.mandrakelinux.com. Here it is :

[EMAIL PROTECTED] data]# tethereal -i ppp0
Capturing on ppp0
  0.000000 213.41.184.237 -> 62.4.16.70   DNS Standard query AAAA
www.mandrakelinux.com
  0.056048   62.4.16.70 -> 213.41.184.237 DNS Standard query response
  0.056724 213.41.184.237 -> 62.4.16.70   DNS Standard query AAAA
www.mandrakelinux.com
  0.118136   62.4.16.70 -> 213.41.184.237 DNS Standard query response
  0.118704 213.41.184.237 -> 62.4.16.70   DNS Standard query A www.mandrakelinux.com
  0.180441   62.4.16.70 -> 213.41.184.237 DNS Standard query response A
80.67.180.164 A 80.67.180.174 A 212.43.244.30
  0.181076 213.41.184.237 -> 80.67.180.164 TCP 33618 > http [SYN] Seq=2705115576
Ack=0 Win=18276 Len=0
  0.244214 80.67.180.164 -> 213.41.184.237 TCP http > 33618 [SYN, ACK]
Seq=1726074699 Ack=2705115577 Win=5792 Len=0
  0.244260 213.41.184.237 -> 80.67.180.164 TCP 33618 > http [ACK] Seq=2705115577
Ack=1726074700 Win=18276 Len=0
 30.189336 213.41.184.237 -> 80.67.180.164 TCP 33618 > http [FIN, ACK]
Seq=2705115577 Ack=1726074700 Win=18276 Len=0
 30.256868 80.67.180.164 -> 213.41.184.237 TCP http > 33618 [FIN, ACK]
Seq=1726074700 Ack=2705115578 Win=5792 Len=0
 30.256912 213.41.184.237 -> 80.67.180.164 TCP 33618 > http [ACK] Seq=2705115578
Ack=1726074701 Win=18276 Len=0


It seems the HTTP request isn't actually sent as the TCP payload is always 0
(Len = 0), indicating no HTTP data is sent on the wire. Hence the ApacheBench
timeout after 30 seconds.



-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: UNCONFIRMED
creation_date: 
description: 
I have upgraded it to the latest version, and ApacheBench (/usr/sbin/ab) does
not work anymore. It seems it can't connect to any socket.

For example :

**********
[EMAIL PROTECTED] data]# /usr/sbin/ab -v 5 -n 1 "http://127.0.0.1/";
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.1 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
 
Benchmarking 127.0.0.1 (be patient)...INFO: POST header ==
---
GET / HTTP/1.0
User-Agent: ApacheBench/2.0.40-dev
Host: 127.0.0.1
Accept: */*
 
 
---
apr_poll: The timeout specified has expired (70007)



[EMAIL PROTECTED] data]# /usr/sbin/ab -v 5 -n 1 "http://www.mandrakelinux.com/";
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.1 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
 
Benchmarking www.mandrakelinux.com (be patient)...INFO: POST header ==
---
GET / HTTP/1.0
User-Agent: ApacheBench/2.0.40-dev
Host: www.mandrakelinux.com
Accept: */*
 
 
---
apr_poll: The timeout specified has expired (70007)
*******


Of course, the Web sites are perfectly reachable using a browser. Also, directly
telnetting the header lines mentionned by ApacheBench works too.
Endly, the Apache 2 server itself does work, only /usr/sbin/ab is broken.

Reply via email to