[Moin-user] long delays with CVS snapshot

Juergen Hermann j.her at t-online.de
Thu Jan 3 13:42:02 EST 2002


On Thu, 3 Jan 2002 10:41:22 -0800, Brian Dorsey wrote:

>When I try to do a search, it immediately redraws the header, including 'Title search for "database"' (database was my search string, so the values are being passed) but the rest of the page times out. 

When you see partial results, it obviously blocks later. What seems
fishy here is the display of a content-length header, as a streaming
application moinmoin does not send one (except for attachements, where
the length is known).

And you need to print to sys.stderr (which goes to the err_log file),
since everything printed normally goes to the browser and thus adds
further confusion.

Add this at the very end of cgimain:

	print >>sys.stderr, "before flush"
	sys.stdout.flush()
	print >>sys.stderr, "after flush"

If you do not see these outputs in err_log, try to add more of these in
various parts of the program (especially the send_page method in
Page.py) to find the place the system blocks.

Also try to add sys.stdout.close() after the flush (we get desperate
here :).

Ciao, Jürgen






More information about the Moin-user mailing list