Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: dev

Issue 885 in cherokee: Incorrect size in logfile

 

 

Cherokee dev RSS feed   Index | Next | Previous | View Threaded


cherokee at googlecode

May 24, 2010, 2:30 PM

Post #1 of 4 (271 views)
Permalink
Issue 885 in cherokee: Incorrect size in logfile

Status: Accepted
Owner: ce...@pk2.org

New issue 885 by ce...@pk2.org: Incorrect size in logfile
http://code.google.com/p/cherokee/issues/detail?id=885


An incorrect size is reported in the cherokee log file.
List&send handler is used, with iocache.

The filetype varies from ogg to xml (even empty files), and it happens with
http1.1 and 1.0

alks [at] popp:~$ egrep 18446744073709551615 votemm.access
83.4...1 - - [13/May/2010:17:24:16 +0000] "GET /pipermail/fans/wewe
HTTP/1.1" 200 18446744073709551615 "-" "Mozilla/5.0 (X11; U; Linux
x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Ubuntu/9.10 (karmic)
Firefox/3.5.9"
193.147...6 - - [20/May/2010:20:36:01 +0000] "GET
/pipermail/fans/rss.xml HTTP/1.1" 200 18446744073709551615 "-"
"UniversalFeedParser/4.1 +http://feedparser.org/"
83.44...7 - - [20/May/2010:20:37:25 +0000] "GET
/pipermail/fans/rss.xml HTTP/1.1" 200 18446744073709551615 "-"
"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402
Ubuntu/9.10 (karmic) Firefox/3.5.9"
83.44..7 - - [20/May/2010:20:37:30 +0000] "GET /pipermail/fans/rss.xml
HTTP/1.1" 200 18446744073709551615 "-" "Mozilla/5.0 (X11; U; Linux
x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Ubuntu/9.10 (karmic)
Firefox/3.5.9"
193.1..6 - - [20/May/2010:20:42:01 +0000] "GET /pipermail/fans/rss.xml
HTTP/1.1" 200 18446744073709551615 "-" "UniversalFeedParser/4.1
+http://feedparser.org/"
83...7 - - [20/May/2010:20:43:21 +0000] "GET /pipermail/fans/rss.xml
HTTP/1.1" 200 18446744073709551615 "-" "Mozilla/5.0 (X11; U; Linux
x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Ubuntu/9.10 (karmic)
Firefox/3.5.9"
83.4..7 - - [20/May/2010:20:43:25 +0000] "GET /pipermail/fans/rss.xml
HTTP/1.1" 200 18446744073709551615 "-" "Mozilla/5.0 (X11; U; Linux
x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Ubuntu/9.10 (karmic)
Firefox/3.5.9"
83.4..7 - - [20/May/2010:20:43:57 +0000] "GET /pipermail/fans/rss.xml
HTTP/1.1" 200 18446744073709551615 "-" "Mozilla/5.0 (X11; U; Linux
x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Ubuntu/9.10 (karmic)
Firefox/3.5.9"
83.4..7 - - [20/May/2010:20:44:48 +0000] "GET /pipermail/fans/rss.xml
HTTP/1.1" 200 18446744073709551615 "-" "Mozilla/5.0 (X11; U; Linux
x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Ubuntu/9.10 (karmic)
Firefox/3.5.9"
83.4..7 - - [20/May/2010:20:45:44 +0000] "GET /pipermail/fans/rss.xml
HTTP/1.0" 200 18446744073709551615 "-" "Wget/1.11.4"
83.4..7 - - [20/May/2010:21:39:50 +0000] "GET
/pipermail/votemm/rss.xml HTTP/1.1" 200 18446744073709551615 "-"
"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402
Ubuntu/9.10 (karmic) Firefox/3.5.9"
83.4...7 - - [20/May/2010:21:39:58 +0000] "GET
/pipermail/votemm/rss.xml HTTP/1.0" 200 18446744073709551615 "-"
"Wget/1.11.4"

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


cherokee at googlecode

May 25, 2010, 4:27 AM

Post #2 of 4 (261 views)
Permalink
Re: Issue 885 in cherokee: Incorrect size in logfile [In reply to]

Comment #1 on issue 885 by ce...@pk2.org: Incorrect size in logfile
http://code.google.com/p/cherokee/issues/detail?id=885

This bug might be related with
http://code.google.com/p/cherokee/issues/detail?id=830
And also related with the closed bug:
http://code.google.com/p/cherokee/issues/detail?id=754

I'll try to reproduce the problem and I'll let you know..

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


cherokee at googlecode

May 25, 2010, 6:48 AM

Post #3 of 4 (259 views)
Permalink
Re: Issue 885 in cherokee: Incorrect size in logfile [In reply to]

Updates:
Owner: alobbs
Labels: Type-Defect Priority-High OpSys-All Component-Logic

Comment #2 on issue 885 by alobbs: Incorrect size in logfile
http://code.google.com/p/cherokee/issues/detail?id=885

The number is kinda familiar:
============
$ python -c "print (2**64)-1"
18446744073709551615
============

Actually, it is a 64bit long -1 printed as an unsigned number:
============
#include <stdio.h>
#include <unistd.h>

main() {
off_t tmp = -1;
printf ("%llu\n", tmp);
}
============

The "mystery" <cough, cough..> is solved now!
Now we need the patch. :-)

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


cherokee at googlecode

May 25, 2010, 7:54 AM

Post #4 of 4 (259 views)
Permalink
Re: Issue 885 in cherokee: Incorrect size in logfile [In reply to]

Updates:
Status: Fixed

Comment #3 on issue 885 by alobbs: Incorrect size in logfile
http://code.google.com/p/cherokee/issues/detail?id=885

http://svn.cherokee-project.com/changeset/5155 should have fixed it.
The patch will be shipped with Cherokee 1.0.2.

Thanks for reporting!!

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev

Cherokee dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.