Edgewall Software

Opened 18 years ago

Last modified 6 months ago

#3868 closed defect

Post action and fastcgi 'Broken pipe' problem. — at Version 2

Reported by: giv@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: web frontend Version: 0.10.2
Severity: normal Keywords: fastcgi lighttpd needinfo
Cc: wkornewald, mpalmer@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

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")
                                     )
                                   )
                                 )

Change History (2)

comment:1 by giv@…, 18 years ago

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

comment:2 by Christian Boos, 18 years ago

Description: modified (diff)

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

Note: See TracTickets for help on using tickets.