View Issue Details

IDProjectCategoryView StatusLast Update
0000329Other Unix PortBugpublic2010-05-27 00:37
ReporterIgor Vaskov Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Summary0000329: nginx 0.6.32-20080729: The scrap in end html file.
DescriptionIf html file is long, in the end of html file server add scrap.
Sample:
........................................


</center>
</Body>
</html></a>


</center>
</Body>
</html>tml>

Characters after tag </html> this scrap. May be need flash buffer?

url with this problem: http://halfos.ru:8000
In attach original html file.
TagsNo tags attached.
Attached Files
index.html (1,190 bytes)   
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=WINDOWS-1251">
<meta name="robots" content="index,all">
<meta name="title" content="������������ OS/2 ������� �� OS/2 ��������">
<title>������������ OS/2 ������� �� OS/2 ��������</title>
</head>
<Body>
<Center>
<H1>������������ OS/2 ������� �� OS/2 ��������</H1>
</Center>
<BR>
<B>��� OS/2 ������:</B>

<BR>
<UL>
<LI> <a href="http://ru2.halfos.ru">RU2</A>
<LI> <a href="http://os2fund.halfos.ru">OS2Fund</A>
</UL>
<BR>
<B>������� �� ������ ������� OS/2:</B>
<UL>
<LI> <a href="http://www.eros2.info">ErOs2</A>
</UL>

<BR>
<B>������� �� ����� ��������:</B>
<UL>
<LI> <a href="http://sms.halfos.ru">SMS</A>
<LI> <a href="http://www.pu-teen.ru">���������� �� Pu-Teen.Ru</A>
</UL>
<BR>
<BR>
<BR>
<center>
<p>
<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401-blue" alt="Valid HTML 4.01 Transitional" height="31" width="88" border="0"></a>

</p>
</center>
</Body>
</html></a>
</p>
</center>
</Body>
</html>
index.html (1,190 bytes)   
nginx.conf (2,763 bytes)

Activities

Igor Vaskov

2009-03-09 21:57

reporter   ~0001244

Error Log:

2009/03/09 13:40:08 [notice] 115#0: using the "select" event method
2009/03/09 13:40:08 [notice] 115#0: nginx/0.6.32
2009/03/09 13:40:08 [notice] 115#0: built by gcc 3.3.5 (Bird Build 2007-06-10 14:30)
2009/03/09 13:40:08 [notice] 115#0: getrlimit(RLIMIT_NOFILE): 10000:10000
2009/03/09 13:40:08 [notice] 115#0: start worker processes
2009/03/09 13:40:08 [notice] 115#0: start worker process 116
2009/03/09 13:41:23 [alert] 116#0: *1 read() reads only 1144 of 1190 from file while sending response to client, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", host: "127.0.0.1:8000"
2009/03/09 13:41:23 [alert] 116#0: *1 read() reads only 42 of 46 from file while sending response to client, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", host: "127.0.0.1:8000"

psmedley

2010-05-25 21:20

administrator   ~0001583

http://smedley.info/nginx-0.8.38-os2-20100525.zip has an updated binary + a diff

I will try do some testing here using the nginx.conf that you have provided

Igor Vaskov

2010-05-26 02:04

reporter   ~0001584

New version do not work correctly.
This exe start and failed with error:

[emerg]: setsid() failed (1: Operation not permitted)

Previous version do work if in nginx.conf set "gzip off".

psmedley

2010-05-26 07:15

administrator   ~0001585

http://smedley.info/nginx-0.8.38-os2-20100526.zip should fix the setsid issue

I found one thing that may help gzip - if it doesn't help, I will further investigate

Igor Vaskov

2010-05-26 07:36

reporter   ~0001586

Latest version from 20100526:

On first run program failed with error:
[alert]: shmget(384) failed (22: Invalid argument)

LIBC PANIC!!
safesem mutex requested failed, rc=0x6. pmtx=5c7f04e0:{.hmtx=0x800100da .fShared=0x1}
pid=0x006c ppid=0x0036 tid=0x0001 slot=0x0082 pri=0x0200 mc=0x0001
I:\NGINX\SBIN\NGINX.EXE
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

On second run program do work up to first http request.
On http request program close with error in error.log:

2010/05/26 01:17:03 [alert] 128#0: shmget(384) failed (22: Invalid argument)
2010/05/26 01:17:09 [alert] 129#0: shmget(384) failed (22: Invalid argument)

Igor Vaskov

2010-05-27 00:37

reporter   ~0001588

Error.log:
2010/05/26 18:19:51 [notice] 88#0: using the "select" event method
2010/05/26 18:19:51 [notice] 88#0: nginx/0.8.38
2010/05/26 18:19:51 [notice] 88#0: built by gcc 4.4.4 (GCC)
2010/05/26 18:19:51 [notice] 88#0: getrlimit(RLIMIT_NOFILE): 10000:10000
2010/05/26 18:19:51 [notice] 89#0: signal 15 (SIGTERM) received, exiting
2010/05/26 18:19:51 [notice] 89#0: start worker processes
2010/05/26 18:19:51 [notice] 89#0: start worker process 90
<<<=========== Http Request
2010/05/26 18:20:13 [notice] 90#0: exiting
2010/05/26 18:20:13 [notice] 90#0: exit
2010/05/26 16:20:13 [notice] 89#0: signal 20 (SIGCHLD) received
2010/05/26 16:20:13 [notice] 89#0: worker process 90 exited with code 0
2010/05/26 18:20:13 [notice] 89#0: exit

Issue History

Date Modified Username Field Change
2009-03-09 21:46 Igor Vaskov New Issue
2009-03-09 21:46 Igor Vaskov File Added: index.html
2009-03-09 21:57 Igor Vaskov Note Added: 0001244
2009-03-10 06:13 Igor Vaskov File Added: nginx.conf
2010-05-25 21:20 psmedley Note Added: 0001583
2010-05-26 02:04 Igor Vaskov Note Added: 0001584
2010-05-26 07:15 psmedley Note Added: 0001585
2010-05-26 07:36 Igor Vaskov Note Added: 0001586
2010-05-27 00:37 Igor Vaskov Note Added: 0001588