>From VirtualHost specific log:
------------------------
[Thu Jan 07 21:09:49 2010] [info] mod_wsgi (pid=12366): Maximum
requests reached 'av_factory'.
[Thu Jan 07 21:09:49 2010] [info] mod_wsgi (pid=12366): Shutdown
requested 'av_factory'.
[Thu Jan 07 21:09:54 2010] [info] mod_wsgi (pid=12366): Aborting
process 'av_factory'.
[Thu Jan 07 21:09:54 2010] [info] mod_wsgi (pid=28423): Attach
interpreter ''.
[Thu Jan 07 21:09:54 2010] [info] mod_wsgi (pid=28423): Enable monitor
thread in process 'av_factory'.
[Thu Jan 07 21:09:54 2010] [info] mod_wsgi (pid=28423): Enable
deadlock thread in process 'av_factory'.
[Thu Jan 07 21:09:54 2010] [info] [client 188.113.58.162] mod_wsgi
(pid=28423, process='av_factory', application=''): Loading WSGI script
'/var/vhosts/avaste
p.ru/avatar_factory/apache/factory.wsgi'.
[Thu Jan 07 21:10:05 2010] [error] [client 94.181.240.3] (104)
Соединение сброшено другой стороной: mod_wsgi (pid=27832): Unable to
get bucket brigade for req
uest., referer: http://www.avastep.ru/
[Thu Jan 07 21:10:06 2010] [error] [client 94.181.240.3] mod_wsgi
(pid=28423): Exception occurred processing WSGI script '/var/vhosts/
avastep.ru/avatar_facto
ry/apache/factory.wsgi'.
[Thu Jan 07 21:10:06 2010] [error] [client 94.181.240.3] IOError:
client connection closed
[Thu Jan 07 21:10:08 2010] [error] [client 92.39.71.47] (70007)The
timeout specified has expired: mod_wsgi (pid=25597): Unable to get
bucket brigade for requ
est., referer: http://www.avastep.ru/
[Thu Jan 07 21:10:16 2010] [error] [client 91.76.128.137] (70007)The
timeout specified has expired: mod_wsgi (pid=25627): Unable to get
bucket brigade for re
quest., referer: http://www.avastep.ru/
[Thu Jan 07 21:10:24 2010] [error] [client 109.187.113.64] Premature
end of script headers: factory.wsgi, referer: http://www.avastep.ru/
[Thu Jan 07 21:11:04 2010] [error] [client 94.248.42.230] Premature
end of script headers: factory.wsgi, referer: http://avastep.ru/
------------------------

Main Apache error log at the same time:

------------------------
[Thu Jan 07 21:09:49 2010] [info] mod_wsgi (pid=26071): Cleanup
interpreter ''.
[Thu Jan 07 21:09:49 2010] [info] mod_wsgi (pid=26071): Terminating
Python.
[Thu Jan 07 21:09:50 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:09:50 2010] [info] mod_wsgi (pid=28083): Cleanup
interpreter ''.
[Thu Jan 07 21:09:50 2010] [info] mod_wsgi (pid=28083): Terminating
Python.
[Thu Jan 07 21:09:51 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:09:51 2010] [info] mod_wsgi (pid=28066): Cleanup
interpreter ''.
[Thu Jan 07 21:09:51 2010] [info] mod_wsgi (pid=28066): Terminating
Python.
[Thu Jan 07 21:09:51 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:09:52 2010] [info] [client 89.222.228.40] (32)Broken
pipe: core_output_filter: writing data to the network
[Thu Jan 07 21:09:52 2010] [info] [client 89.222.228.40] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:09:52 2010] [info] [client 89.222.228.40] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:09:52 2010] [info] [client 89.222.228.40] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:09:52 2010] [info] mod_wsgi (pid=26755): Cleanup
interpreter ''.
[Thu Jan 07 21:09:52 2010] [info] mod_wsgi (pid=26755): Terminating
Python.
[Thu Jan 07 21:09:53 2010] [info] [client ::1] (32)Broken pipe:
core_output_filter: writing data to the network
[Thu Jan 07 21:09:53 2010] [info] mod_wsgi (pid=26523): Cleanup
interpreter ''.
[Thu Jan 07 21:09:53 2010] [info] mod_wsgi (pid=26523): Terminating
Python.
[Thu Jan 07 21:09:53 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:09:54 2010] [info] mod_wsgi (pid=12366): Process
'av_factory' has died, restarting.
[Thu Jan 07 21:09:54 2010] [info] mod_wsgi (pid=28423): Starting
process 'av_factory' with uid=504, gid=48 and threads=15.
[Thu Jan 07 21:09:54 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:09:54 2010] [info] mod_wsgi (pid=28110): Cleanup
interpreter ''.
[Thu Jan 07 21:09:55 2010] [info] mod_wsgi (pid=28110): Terminating
Python.
[Thu Jan 07 21:09:55 2010] [info] [client 83.149.10.135] (104)
Соединение сброшено другой стороной: core_output_filter: writing data
to the network
[Thu Jan 07 21:09:57 2010] [info] [client 109.184.199.22] (32)Broken
pipe: core_output_filter: writing data to the network
[Thu Jan 07 21:09:57 2010] [info] [client 109.184.199.22] (32)Broken
pipe: core_output_filter: writing data to the network
[Thu Jan 07 21:09:58 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:09:58 2010] [info] mod_wsgi (pid=28498): Attach
interpreter ''.
[Thu Jan 07 21:09:59 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:09:59 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:09:59 2010] [info] [client 109.184.199.22] (32)Broken
pipe: core_output_filter: writing data to the network
[Thu Jan 07 21:10:01 2010] [info] [client 78.36.103.252] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:02 2010] [info] mod_wsgi (pid=28103): Cleanup
interpreter ''.
[Thu Jan 07 21:10:02 2010] [info] mod_wsgi (pid=28103): Terminating
Python.
[Thu Jan 07 21:10:02 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:04 2010] [info] [client 109.184.199.22] (32)Broken
pipe: core_output_filter: writing data to the network
[Thu Jan 07 21:10:05 2010] [info] mod_wsgi (pid=28564): Attach
interpreter ''.
[Thu Jan 07 21:10:05 2010] [info] [client 94.181.240.3] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:05 2010] [info] [client 94.181.240.3] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:06 2010] [info] [client 188.187.12.88] (70007)The
timeout specified has expired: core_output_filter: writing data to the
network
[Thu Jan 07 21:10:06 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:07 2010] [info] [client 79.165.120.17] (70007)The
timeout specified has expired: core_output_filter: writing data to the
network
[Thu Jan 07 21:10:07 2010] [info] mod_wsgi (pid=28579): Attach
interpreter ''.
[Thu Jan 07 21:10:08 2010] [info] [client 85.249.160.62] (70014)End of
file found: core_output_filter: writing data to the network
[Thu Jan 07 21:10:10 2010] [info] mod_wsgi (pid=28086): Cleanup
interpreter ''.
[Thu Jan 07 21:10:10 2010] [info] mod_wsgi (pid=28086): Terminating
Python.
[Thu Jan 07 21:10:11 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:11 2010] [info] mod_wsgi (pid=27794): Cleanup
interpreter ''.
[Thu Jan 07 21:10:11 2010] [info] mod_wsgi (pid=27794): Terminating
Python.
[Thu Jan 07 21:10:12 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:12 2010] [info] mod_wsgi (pid=26757): Cleanup
interpreter ''.
[Thu Jan 07 21:10:12 2010] [info] mod_wsgi (pid=26757): Terminating
Python.
[Thu Jan 07 21:10:13 2010] [info] [client ::1] (32)Broken pipe:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:13 2010] [info] [client 109.184.199.22] (32)Broken
pipe: core_output_filter: writing data to the network
[Thu Jan 07 21:10:13 2010] [info] mod_wsgi (pid=27968): Cleanup
interpreter ''.
[Thu Jan 07 21:10:13 2010] [info] mod_wsgi (pid=27968): Terminating
Python.
[Thu Jan 07 21:10:14 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:14 2010] [info] [client 109.184.199.22] (104)
Соединение сброшено другой стороной: core_output_filter: writing data
to the network
[Thu Jan 07 21:10:14 2010] [info] mod_wsgi (pid=27814): Cleanup
interpreter ''.
[Thu Jan 07 21:10:14 2010] [info] mod_wsgi (pid=27814): Terminating
Python.
[Thu Jan 07 21:10:14 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:14 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:15 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:15 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:15 2010] [info] mod_wsgi (pid=26703): Cleanup
interpreter ''.
[Thu Jan 07 21:10:15 2010] [info] mod_wsgi (pid=26703): Terminating
Python.
[Thu Jan 07 21:10:15 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:16 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:16 2010] [info] mod_wsgi (pid=27458): Cleanup
interpreter ''.
[Thu Jan 07 21:10:16 2010] [info] mod_wsgi (pid=27458): Terminating
Python.
[Thu Jan 07 21:10:16 2010] [info] [client 109.184.199.22] (104)
Соединение сброшено другой стороной: core_output_filter: writing data
to the network
[Thu Jan 07 21:10:17 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:17 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:18 2010] [info] [client 109.184.199.22] (32)Broken
pipe: core_output_filter: writing data to the network
[Thu Jan 07 21:10:18 2010] [info] mod_wsgi (pid=28678): Attach
interpreter ''.
[Thu Jan 07 21:10:19 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:21 2010] [info] mod_wsgi (pid=28705): Attach
interpreter ''.
[Thu Jan 07 21:10:22 2010] [info] mod_wsgi (pid=28710): Attach
interpreter ''.
[Thu Jan 07 21:10:22 2010] [info] mod_wsgi (pid=28711): Attach
interpreter ''.
[Thu Jan 07 21:10:22 2010] [info] [client 109.184.199.22] (32)Broken
pipe: core_output_filter: writing data to the network
[Thu Jan 07 21:10:23 2010] [info] mod_wsgi (pid=28725): Attach
interpreter ''.
[Thu Jan 07 21:10:23 2010] [info] mod_wsgi (pid=28726): Attach
interpreter ''.
[Thu Jan 07 21:10:23 2010] [info] mod_wsgi (pid=28727): Attach
interpreter ''.
[Thu Jan 07 21:10:23 2010] [info] mod_wsgi (pid=28728): Attach
interpreter ''.
[Thu Jan 07 21:10:23 2010] [info] [client 217.66.22.68] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:23 2010] [info] [client 217.66.22.68] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:24 2010] [info] [client 217.66.22.68] (32)Broken
pipe: core_output_filter: writing data to the network
[Thu Jan 07 21:10:26 2010] [info] [client 94.241.48.58] (32)Broken
pipe: core_output_filter: writing data to the network
[Thu Jan 07 21:10:26 2010] [info] [client 94.241.48.58] (32)Broken
pipe: core_output_filter: writing data to the network
[Thu Jan 07 21:10:26 2010] [info] [client 94.241.48.58] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:27 2010] [info] [client 94.241.48.58] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:27 2010] [info] [client 94.241.48.58] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:27 2010] [info] mod_wsgi (pid=27512): Cleanup
interpreter ''.
[Thu Jan 07 21:10:27 2010] [info] mod_wsgi (pid=27512): Terminating
Python.
[Thu Jan 07 21:10:28 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:30 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:30 2010] [info] mod_wsgi (pid=28105): Cleanup
interpreter ''.
[Thu Jan 07 21:10:30 2010] [info] mod_wsgi (pid=28105): Terminating
Python.
[Thu Jan 07 21:10:31 2010] [info] [client ::1] (32)Broken pipe:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:31 2010] [info] [client 92.245.50.110] (70007)The
timeout specified has expired: core_output_filter: writing data to the
network
[Thu Jan 07 21:10:31 2010] [info] [client 92.245.50.110] (70007)The
timeout specified has expired: core_output_filter: writing data to the
network
[Thu Jan 07 21:10:31 2010] [info] mod_wsgi (pid=28054): Cleanup
interpreter ''.
[Thu Jan 07 21:10:31 2010] [info] mod_wsgi (pid=28054): Terminating
Python.
[Thu Jan 07 21:10:32 2010] [info] [client ::1] (32)Broken pipe:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:32 2010] [info] mod_wsgi (pid=25627): Cleanup
interpreter ''.
[Thu Jan 07 21:10:32 2010] [info] mod_wsgi (pid=25627): Terminating
Python.
[Thu Jan 07 21:10:33 2010] [info] [client ::1] (32)Broken pipe:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:33 2010] [info] mod_wsgi (pid=28678): Cleanup
interpreter ''.
[Thu Jan 07 21:10:33 2010] [info] mod_wsgi (pid=28678): Terminating
Python.
[Thu Jan 07 21:10:34 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:34 2010] [info] mod_wsgi (pid=27844): Cleanup
interpreter ''.
[Thu Jan 07 21:10:34 2010] [info] mod_wsgi (pid=27844): Terminating
Python.
[Thu Jan 07 21:10:35 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:35 2010] [info] mod_wsgi (pid=28818): Attach
interpreter ''.
[Thu Jan 07 21:10:39 2010] [info] mod_wsgi (pid=28099): Cleanup
interpreter ''.
[Thu Jan 07 21:10:39 2010] [info] mod_wsgi (pid=28099): Terminating
Python.
[Thu Jan 07 21:10:40 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:40 2010] [info] [client 109.184.199.22] (32)Broken
pipe: core_output_filter: writing data to the network
[Thu Jan 07 21:10:41 2010] [info] mod_wsgi (pid=28097): Cleanup
interpreter ''.
[Thu Jan 07 21:10:41 2010] [info] mod_wsgi (pid=28097): Terminating
Python.
[Thu Jan 07 21:10:42 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:42 2010] [info] mod_wsgi (pid=28078): Cleanup
interpreter ''.
[Thu Jan 07 21:10:42 2010] [info] mod_wsgi (pid=28078): Terminating
Python.
[Thu Jan 07 21:10:43 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:43 2010] [info] mod_wsgi (pid=27996): Cleanup
interpreter ''.
[Thu Jan 07 21:10:43 2010] [info] mod_wsgi (pid=27996): Terminating
Python.
[Thu Jan 07 21:10:44 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:45 2010] [info] mod_wsgi (pid=28108): Cleanup
interpreter ''.
[Thu Jan 07 21:10:45 2010] [info] mod_wsgi (pid=28108): Terminating
Python.
[Thu Jan 07 21:10:45 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:45 2010] [info] mod_wsgi (pid=26088): Cleanup
interpreter ''.
[Thu Jan 07 21:10:45 2010] [info] mod_wsgi (pid=26088): Terminating
Python.
[Thu Jan 07 21:10:46 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:46 2010] [info] mod_wsgi (pid=27979): Cleanup
interpreter ''.
[Thu Jan 07 21:10:46 2010] [info] mod_wsgi (pid=27979): Terminating
Python.
[Thu Jan 07 21:10:47 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:49 2010] [info] mod_wsgi (pid=28935): Attach
interpreter ''.
[Thu Jan 07 21:10:50 2010] [info] mod_wsgi (pid=28947): Attach
interpreter ''.
[Thu Jan 07 21:10:50 2010] [info] mod_wsgi (pid=28948): Attach
interpreter ''.
[Thu Jan 07 21:10:51 2010] [info] mod_wsgi (pid=28498): Cleanup
interpreter ''.
[Thu Jan 07 21:10:51 2010] [info] mod_wsgi (pid=28498): Terminating
Python.
[Thu Jan 07 21:10:52 2010] [info] [client ::1] (32)Broken pipe:
core_output_filter: writing data to the network

[Thu Jan 07 21:10:52 2010] [info] mod_wsgi (pid=27832): Cleanup
interpreter ''.
[Thu Jan 07 21:10:52 2010] [info] mod_wsgi (pid=27832): Terminating
Python.
[Thu Jan 07 21:10:53 2010] [info] [client ::1] (32)Broken pipe:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:55 2010] [info] mod_wsgi (pid=22658): Cleanup
interpreter ''.
[Thu Jan 07 21:10:55 2010] [info] mod_wsgi (pid=22658): Terminating
Python.
[Thu Jan 07 21:10:56 2010] [info] [client ::1] (32)Broken pipe:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:56 2010] [info] [client 109.184.199.22] (104)
Connection reset by peer: core_output_filter: writing data to the
network
[Thu Jan 07 21:10:56 2010] [info] [client 109.184.199.22] (32)Broken
pipe: core_output_filter: writing data to the network
[Thu Jan 07 21:10:56 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:10:57 2010] [info] mod_wsgi (pid=27830): Cleanup
interpreter ''.
[Thu Jan 07 21:10:57 2010] [info] mod_wsgi (pid=27830): Terminating
Python.
[Thu Jan 07 21:10:58 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:10:58 2010] [info] mod_wsgi (pid=29013): Attach
interpreter ''.
[Thu Jan 07 21:10:59 2010] [info] [client 109.184.199.22] (70007)The
timeout specified has expired: core_output_filter: writing data to the
network
[Thu Jan 07 21:11:00 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:11:00 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:11:01 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:11:01 2010] [info] mod_wsgi (pid=28067): Cleanup
interpreter ''.
[Thu Jan 07 21:11:01 2010] [info] mod_wsgi (pid=28067): Terminating
Python.
[Thu Jan 07 21:11:02 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:11:02 2010] [info] mod_wsgi (pid=26744): Cleanup
interpreter ''.
[Thu Jan 07 21:11:02 2010] [info] mod_wsgi (pid=26744): Terminating
Python.
[Thu Jan 07 21:11:03 2010] [info] [client ::1] (32)Обрыв канала:
core_output_filter: writing data to the network
[Thu Jan 07 21:11:04 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:11:04 2010] [info] mod_wsgi (pid=29067): Attach
interpreter ''.
[Thu Jan 07 21:11:04 2010] [info] [client 109.184.199.22] (32)Broken
pipe: core_output_filter: writing data to the network
[Thu Jan 07 21:11:04 2010] [info] [client 109.184.199.22] (32)Обрыв
канала: core_output_filter: writing data to the network
[Thu Jan 07 21:11:08 2010] [info] mod_wsgi (pid=28726): Cleanup
interpreter ''.
[Thu Jan 07 21:11:08 2010] [info] mod_wsgi (pid=28726): Terminating
Python.
-------------------------------
Обрыв канала == Broken pipe (but in Russian)

I do not see any other problems here except broken pipes.

On Jan 7, 2:59 pm, Graham Dumpleton <[email protected]>
wrote:
> 2010/1/7 qrilka <[email protected]>:
>
> > I have tried to set logging to info bu could not find anything
> > meaningful.
> > I will try to get error log later to post it here (maybe I missed
> > something).
>
> I am interested in the proximity of any messages indicating that
> daemon mode process are being restarted.
>
> If running VirtualHost specific error logs, you may also have to look
> in main Apache error log, specially if using mod_wsgi 2.8 and not
> mod_wsgi 3.1.
>
> Graham
>
> > Best regards,
> > Kirill Zaborsky
>
> > On Jan 7, 1:20 pm, Graham Dumpleton <[email protected]>
> > wrote:
> >> 2010/1/7 qrilka <[email protected]>:
>
> >> > Hello,
> >> > I have read quite a lot of discussions about problems leading to
> >> > 'PReamature end of script headers' line in apache log but I still can
> >> > not find a way to resolve it completely.
> >> > On avastep.ru we have a Django app (main functionality done with PIL).
> >> > Site works OK but from time to time I get a line in error log like:
> >> > ---
> >> > [Wed Jan 06 21:15:16 2010] [error] [client 85.175.67.142] Premature
> >> > end of script headers: factory.wsgi, referer:http://www.avastep.ru/
> >> > ---
> >> > and it appears that some of site users have problems.
> >> > I could not find any way to reproduce this problem otherwise than on
> >> > that working server.
>
> >> > httpd.conf for the site -http://dpaste.com/141757/
> >> > Software installed: CentOS release 5.2 (Final), Python 2.4.3, mod_wsgi
> >> > 2.8 (fromhttp://codepoint.net/attachments/mod_wsgi/)
>
> >> > Is there any way to diagnose what is wrong with server configuration
> >> > and how could it be fixed?
>
> >> Set:
>
> >>  LogLevel info
>
> >> in Apache configuration.
>
> >> If the messages coincides with mod_wsgi daemon mode process restarts,
> >> it may be because there are active long running requests at time when
> >> 'maximum-requests=50000' option of WSGIDaemonProcess is triggered.
> >> These may also be stuck requests.
>
> >> This could occur because when that process recycling is triggered, it
> >> will only wait so long, default 5 seconds, for any other active
> >> requests handled by the process to complete. If they don't complete
> >> the process is forcibly killed off. This killing off of the process
> >> would result in Apache server child process proxying the request
> >> seeing connection close and thus a premature end of the headers being
> >> returned by mod_wsgi daemon process.
>
> >> I realise the message is a bit confusing, but so happen to be using a
> >> bit of existing Apache code normally used when dealing with CGI
> >> scripts. Thus the message is actually same message as can get when CGI
> >> scripts don't return headers even though is a WSGI script handled by
> >> mod_wsgi.
>
> >> So, do you have long running requests which would take a long time
> >> before they generate the headers for the response?
>
> >> Graham
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "modwsgi" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/modwsgi?hl=en.
>
>
-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.


Reply via email to