Re: Apache sending Content-Length 0

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

 



Hi,

After more debug I came to know that content length is not the issue. Issue is process is getting exited .
 Response sent with status 200, headers:
[Fri Dec 08 10:01:51.381659 2017] [http:trace5] [pid 1140850845] C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(1096): [client 15.213.82.149:59662]   Date: Fri, 08 Dec 2017 10:01:51 GMT
[Fri Dec 08 10:01:51.381666 2017] [http:trace5] [pid 1140850845] C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(1099): [client 15.213.82.149:59662]   Server: Apache/2.4.25 (Unix)
[Fri Dec 08 10:01:51.381675 2017] [http:trace4] [pid 1140850845] C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918): [client 15.213.82.149:59662]   Content-Length: 2810
[Fri Dec 08 10:01:51.381683 2017] [http:trace4] [pid 1140850845] C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918): [client 15.213.82.149:59662]   Keep-Alive: timeout=5, max=100
[Fri Dec 08 10:01:51.381690 2017] [http:trace4] [pid 1140850845] C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918): [client 15.213.82.149:59662]   Connection: Keep-Alive
[Fri Dec 08 10:01:51.381697 2017] [http:trace4] [pid 1140850845] C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918): [client 15.213.82.149:59662]   Content-Type: text/html; charset=ISO-8859-1
[Fri Dec 08 10:01:52.312222 2017] [core:trace4] [pid 1845493770] C:\cygwin64\home\hemant\apache\httpd-2.4.25\server\mpm_common.c(533): mpm child 50331671 (gen 1/slot 2) started
[Fri Dec 08 10:01:58.324625 2017] [core:notice] [pid 1845493770] AH00052: child pid 1140850845 exit signal signal #31 (31)

What is the reason for exit of process after serve the request.

Thanks
Hemant


On Fri, Dec 8, 2017 at 9:38 AM, Hemant Chaudhary <hemantdude.chaudhary@xxxxxxxxx> wrote:
Hi 

Noticed one more thing, after sending status 200 with content length 0. That particular child process dies. I thought its code dump but didn't find any thing in dump directory.
 
Thanks
Hemant


On Thu, Dec 7, 2017 at 4:07 PM, Daniel <dferradal@xxxxxxxxx> wrote:
there is no reason to have that content length with a 200 and a file
with actual data.

Perhaps you could check which user runs httpd, and which is the
unpriviledged user and if there is nothing in your cygwin install or
windows  is blocking it. Can't guess further.

2017-12-06 16:31 GMT+01:00 Hemant Chaudhary <hemantdude.chaudhary@xxxxxxxxm>:
> Hi,
>
> I tired to solve this error but didn't get any hint why it is coming.
> Can you please help to solve the error. Which .c file manipulates the data
> to send the response.
> What are the reason to send status 200 with content-length 0.
>
> Thanks
> Hemant
>
> On Tue, Dec 5, 2017 at 2:32 PM, Hemant Chaudhary
> <hemantdude.chaudhary@xxxxxxxxm> wrote:
>>
>> Hi,
>> index.html is default apache html file.
>> <html><body><h1>It works!</h1></body></html>
>>
>> I tried with cgi-script and other html files also, got the same error.
>> Thanks
>> Hemant
>>
>> On Tue, Dec 5, 2017 at 2:26 PM, Daniel <dferradal@xxxxxxxxx> wrote:
>>>
>>> Hello,
>>>
>>> What's inside the index.html? Care to do a "cat index.html"?
>>>
>>> 2017-12-05 7:14 GMT+01:00 Hemant Chaudhary
>>> <hemantdude.chaudhary@xxxxxxxxm>:
>>> > Hi,
>>> >
>>> > When I am sending request from browser to client for basic
>>> > "index.html", I
>>> > am getting error that
>>> > " Err_EMPTY_RESPONSE " in browser.
>>> >
>>> > When I checked in the error log, found that response content length is
>>> > 0.
>>> >
>>> > [Tue Dec 05 05:28:15.499282 2017] [core:trace5] [pid 150995199:tid
>>> > 577157567797854212]
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\server\protocol.c(645):
>>> > [client
>>> > 15.213.82.149:62584] Request received from client: GET / HTTP/1.1
>>> > [Tue Dec 05 05:28:15.499445 2017] [http:trace4] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(420):
>>> > [client 15.213.82.149:62584] Headers received from client:
>>> > [Tue Dec 05 05:28:15.499458 2017] [http:trace4] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(424):
>>> > [client 15.213.82.149:62584]   Host: 15.213.91.33:2345
>>> > [Tue Dec 05 05:28:15.499466 2017] [http:trace4] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(424):
>>> > [client 15.213.82.149:62584]   Connection: keep-alive
>>> > [Tue Dec 05 05:28:15.499474 2017] [http:trace4] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(424):
>>> > [client 15.213.82.149:62584]   Cache-Control: max-age=0
>>> > [Tue Dec 05 05:28:15.499482 2017] [http:trace4] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(424):
>>> > [client 15.213.82.149:62584]   Upgrade-Insecure-Requests: 1
>>> > [Tue Dec 05 05:28:15.499490 2017] [http:trace4] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(424):
>>> > [client 15.213.82.149:62584]   User-Agent: Mozilla/5.0 (Windows NT 6.1;
>>> > Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113
>>> > Safari/537.36
>>> > [Tue Dec 05 05:28:15.499499 2017] [http:trace4] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(424):
>>> > [client 15.213.82.149:62584]   Accept:
>>> >
>>> > text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
>>> > [Tue Dec 05 05:28:15.499508 2017] [http:trace4] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(424):
>>> > [client 15.213.82.149:62584]   Accept-Encoding: gzip, deflate
>>> > [Tue Dec 05 05:28:15.499516 2017] [http:trace4] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(424):
>>> > [client 15.213.82.149:62584]   Accept-Language: en-US,en;q=0.8
>>> > [Tue Dec 05 05:28:15.499690 2017] [authz_core:debug] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\aaa\mod_authz_core.c(809):
>>> > [client 15.213.82.149:62584] AH01626: authorization result of Require
>>> > all
>>> > granted: granted
>>> > [Tue Dec 05 05:28:15.499703 2017] [authz_core:debug] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\aaa\mod_authz_core.c(809):
>>> > [client 15.213.82.149:62584] AH01626: authorization result of
>>> > <RequireAny>:
>>> > granted
>>> > [Tue Dec 05 05:28:15.499712 2017] [core:trace3] [pid 150995199:tid
>>> > 577157567797854212]
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\server\request.c(293):
>>> > [client
>>> > 15.213.82.149:62584] request authorized without authentication by
>>> > access_checker_ex hook: /
>>> > [Tue Dec 05 05:28:15.500234 2017] [http:trace3] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(1089):
>>> > [client 15.213.82.149:62584] Response sent with status 200, headers:
>>> > [Tue Dec 05 05:28:15.500248 2017] [http:trace5] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(1096):
>>> > [client 15.213.82.149:62584]   Date: Tue, 05 Dec 2017 05:28:15 GMT
>>> > [Tue Dec 05 05:28:15.500256 2017] [http:trace5] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(1099):
>>> > [client 15.213.82.149:62584]   Server: Apache/2.4.25 (Unix)
>>> > [Tue Dec 05 05:28:15.500267 2017] [http:trace4] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918):
>>> > [client 15.213.82.149:62584]   Last-Modified: Sat, 02 Dec 2017 18:54:22
>>> > GMT
>>> > [Tue Dec 05 05:28:15.500276 2017] [http:trace4] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918):
>>> > [client 15.213.82.149:62584]   ETag: \\"0-55f600364f380\\"
>>> > [Tue Dec 05 05:28:15.500284 2017] [http:trace4] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918):
>>> > [client 15.213.82.149:62584]   Accept-Ranges: bytes
>>> > [Tue Dec 05 05:28:15.500293 2017] [http:trace4] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918):
>>> > [client 15.213.82.149:62584]   Content-Length: 0
>>> > [Tue Dec 05 05:28:15.500300 2017] [http:trace4] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918):
>>> > [client 15.213.82.149:62584]   Keep-Alive: timeout=5, max=100
>>> > [Tue Dec 05 05:28:15.500308 2017] [http:trace4] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918):
>>> > [client 15.213.82.149:62584]   Connection: Keep-Alive
>>> > [Tue Dec 05 05:28:15.500316 2017] [http:trace4] [pid 150995199:tid
>>> > 577157567797854212]
>>> >
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918):
>>> > [client 15.213.82.149:62584]   Content-Type: text/html
>>> > [Tue Dec 05 05:28:15.579779 2017] [core:notice] [pid 100663508:tid
>>> > 7876215824606887940] AH00052: child pid 150995199 exit signal signal
>>> > #31
>>> > (31)
>>> > [Tue Dec 05 05:28:15.579880 2017] [core:trace4] [pid 100663508:tid
>>> > 7876215824606887940]
>>> > C:\cygwin64\home\hemant\apache\httpd-2.4.25\server\mpm_common.c(533):
>>> > mpm
>>> > child 150995199 (gen 0/slot 0) exited
>>> >
>>> >
>>> > Please help me to solve the case.
>>> >
>>> > Thanks
>>> > Hemant
>>> >
>>>
>>>
>>>
>>> --
>>> Daniel Ferradal
>>> IT Specialist
>>>
>>> email         dferradal at gmail.com
>>> linkedin     es.linkedin.com/in/danielferradal
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>>
>>
>



--
Daniel Ferradal
IT Specialist

email         dferradal at gmail.com
linkedin     es.linkedin.com/in/danielferradal

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
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