Mailing List Archive

[The Trac Project] #3868: Post action and fastcgi 'Broken pipe' problem.
#3868: Post action and fastcgi 'Broken pipe' problem.
---------------------------+------------------------------------------------
Reporter: giv@iblink.ru | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: general | Version: 0.10
Severity: normal | Keywords:
---------------------------+------------------------------------------------
Trac 0.10 started at lighttpd server (1.4.12) as fastcgi.

Here is error log:
{{
Unhandled exception in thread started by <bound method Connection.run of
<trac.web._fcgi.Connection object at 0x83f504c>>
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
654, in run
self.process_input()
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
690, in process_input
self._do_params(rec)
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
789, in _do_params
self._start_request(req)
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
773, in _start_request
req.run()
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
582, in run
self._flush()
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
589, in _flush
self.stdout.close()
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
348, in close
self._conn.writeRecord(rec)
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
705, in writeRecord
rec.write(self._sock)
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
542, in write
self._sendall(sock, header)
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
519, in _sendall
sent = sock.send(data)
socket.error: (32, 'Broken pipe')
}}

And fastcgi server settigs:
{{
fastcgi.server = ( "/" =>
("trac" =>
("socket" => "/tmp/trac-
fastcgi.sock",
"bin-path" =>
"/usr/local/share/trac/cgi-bin/trac.fcgi",
"check-local" => "disable",
"disable-time" => 1,
"min-procs" => 1,
"max-procs" => 1,
"bin-environment" =>
("TRAC_ENV" => "/home/dev/trac")
)
)
)
}}

--
Ticket URL: <http://trac.edgewall.org/ticket/3868>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #3868: Post action and fastcgi 'Broken pipe' problem. [ In reply to ]
#3868: Post action and fastcgi 'Broken pipe' problem.
---------------------------+------------------------------------------------
Reporter: giv@iblink.ru | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: general | Version: 0.10
Severity: normal | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Comment (by giv@iblink.ru):

Yep! This error is the result of ticket or wiki page submiting.

--
Ticket URL: <http://trac.edgewall.org/ticket/3868#comment:1>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #3868: Post action and fastcgi 'Broken pipe' problem. [ In reply to ]
#3868: Post action and fastcgi 'Broken pipe' problem.
---------------------------+------------------------------------------------
Reporter: giv@iblink.ru | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: general | Version: 0.10
Severity: normal | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Old description:

> Trac 0.10 started at lighttpd server (1.4.12) as fastcgi.
>
> Here is error log:
> {{
> Unhandled exception in thread started by <bound method Connection.run of
> <trac.web._fcgi.Connection object at 0x83f504c>>
> Traceback (most recent call last):
> File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
> 654, in run
> self.process_input()
> File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
> 690, in process_input
> self._do_params(rec)
> File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
> 789, in _do_params
> self._start_request(req)
> File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
> 773, in _start_request
> req.run()
> File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
> 582, in run
> self._flush()
> File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
> 589, in _flush
> self.stdout.close()
> File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
> 348, in close
> self._conn.writeRecord(rec)
> File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
> 705, in writeRecord
> rec.write(self._sock)
> File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
> 542, in write
> self._sendall(sock, header)
> File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
> 519, in _sendall
> sent = sock.send(data)
> socket.error: (32, 'Broken pipe')
> }}
>
> And fastcgi server settigs:
> {{
> fastcgi.server = ( "/" =>
> ("trac" =>
> ("socket" => "/tmp/trac-
> fastcgi.sock",
> "bin-path" =>
> "/usr/local/share/trac/cgi-bin/trac.fcgi",
> "check-local" => "disable",
> "disable-time" => 1,
> "min-procs" => 1,
> "max-procs" => 1,
> "bin-environment" =>
> ("TRAC_ENV" =>
> "/home/dev/trac")
> )
> )
> )
> }}

New description:

Trac 0.10 started at lighttpd server (1.4.12) as fastcgi.

Here is error log:
{{{
Unhandled exception in thread started by <bound method Connection.run of
<trac.web._fcgi.Connection object at 0x83f504c>>
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
654, in run
self.process_input()
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
690, in process_input
self._do_params(rec)
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
789, in _do_params
self._start_request(req)
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
773, in _start_request
req.run()
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
582, in run
self._flush()
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
589, in _flush
self.stdout.close()
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
348, in close
self._conn.writeRecord(rec)
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
705, in writeRecord
rec.write(self._sock)
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
542, in write
self._sendall(sock, header)
File "/usr/local/lib/python2.4/site-packages/trac/web/_fcgi.py", line
519, in _sendall
sent = sock.send(data)
socket.error: (32, 'Broken pipe')
}}}

And fastcgi server settigs:
{{{
fastcgi.server = ( "/" =>
("trac" =>
("socket" => "/tmp/trac-
fastcgi.sock",
"bin-path" =>
"/usr/local/share/trac/cgi-bin/trac.fcgi",
"check-local" => "disable",
"disable-time" => 1,
"min-procs" => 1,
"max-procs" => 1,
"bin-environment" =>
("TRAC_ENV" => "/home/dev/trac")
)
)
)
}}}

Comment (by cboos):

(fixing description, it should have been `{{{ ... }}}` not `{{ ... }}`)

--
Ticket URL: <http://trac.edgewall.org/ticket/3868#comment:2>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---