Thanks, Martijn. That makes a lot of sense. There are a few areas of
the application that would abort requests (i.e. autocomplete search).

On Nov 10, 11:21 am, "Martijn Moeling" <mart...@xs4us.nu> wrote:
> Please keep in mind that visitors can cancel the request with the stop 
> button. When they do ioerrors do occur at the server side, these seem 
> dependent on the exact moment. If the button is pressed whilst the server is 
> processing, you'll get write errors on the server, if an upload is stopped 
> you'll get read errors, I have seen these and where easily reproduced in my 
> case. I have seen more of these on heavy traffic on my old singe server 
> setup. Users seem so inpatient  ....
>
> Martijn
>
> Verstuurd vanaf mijn iPad
>
> Op Nov 10, 2010 om 17:09 heeft "cconlin" <c.con...@gmail.com> het volgende 
> geschreven:
>
>
>
>
>
>
>
> > Hi,
>
> > I'm running a Pylons (1.0) app via Apache 2.2.14 and mod_wsgi 2.8. My
> > app appears to be working well, but I'm finding some strange errors
> > (my LogLevel is set to info). There doesn't appear to be any problems
> > with running out of resources either. The error is just a little
> > creepy and I was hoping someone could provide some insight as to the
> > cause.
>
> > Here is a snippet from the Apache logs:
>
> > Connection closed to child 137 with standard shutdown (server
> > example.com:443)
> > request received for child 147 (server example.com:443)
> > mod_wsgi (pid=15740): Exception occurred processing WSGI script
> > 'production.dispatch.wsgi'.
> > Traceback (most recent call last):
> > File "site-packages/paste/cascade.py", line 100, in __call__
> >    chunk = environ['wsgi.input'].read(min(copy_len, 4096))
> > IOError: request data read error
> > (32)Broken pipe: core_output_filter: writing data to the network
> > Connection to child 278 established (server example.com:443)
> > Seeding PRNG with 656 bytes of entropy
> > Initial (No.1) HTTPS request received for child 278 (server
> > example.com:443)
> > (104)Connection reset by peer: SSL input filter read failed.
> > (32)Broken pipe: core_output_filter: writing data to the network
> > Connection closed to child 278 with standard shutdown (server
> > example.com:443)
> > Connection to child 149 established (server example.com:443)
> > Seeding PRNG with 656 bytes of entropy
> > Initial (No.1) HTTPS request received for child 149 (server
> > example.com:443)
> > Connection to child 276 established (server example.com:443)
> > Seeding PRNG with 656 bytes of entropy
> > Initial (No.1) HTTPS request received for child 276 (server
> > example.com:443)
>
> > Here are some snippets from my Apache configuration:
>
> > Timeout 90
> > KeepAlive On
> > MaxKeepAliveRequests 500
> > KeepAliveTimeout 15
>
> > <IfModule mpm_worker_module>
> >    StartServers            10
> >    MinSpareThreads     10
> >    MaxSpareThreads    50
> >    ThreadLimit              64
> >    ThreadsPerChild       25
> >    MaxClients              150
> >    MaxRequestsPerChild  10000
> > </IfModule>
>
> > Here's my VHost:
>
> > <VirtualHost *:80>
> >    ServerName example.com
> >    RedirectMatch ^/(.*)https://example.com/$1
> > </VirtualHost>
>
> > <IfModule mod_ssl.c>
> > <VirtualHost *:443>
> >    ServerAdmin ubu...@localhost
> >    ServerName example.com:443
>
> >    # Logfiles
> >    ErrorLog  /home/ubuntu/src/example/log/error.log
> >    CustomLog /home/ubuntu/src/example/log/access.log combined
>
> >    # SSL
> >    SSLEngine on
> >    SSLCertificateFile /etc/apache2/ssl/example.com.crt
> >    SSLCertificateKeyFile /etc/apache2/ssl/example.com.key
> >    SSLCACertificateFile /etc/apache2/ssl/example.com.intermediate.crt
>
> >    Redirect permanent /applicationhttps://example.com
>
> >    RewriteEngine on
> >    RewriteRule ^(.+)/$ $1 [R=301,L]
>
> >    # Setup mod_wsgi
> >    WSGIScriptAlias / /path/to/production.dispatch.wsgi
> >    WSGIDaemonProcess example user=www-data group=www-data home=/home/
> > www-data
> >    WSGIProcessGroup example
>
> >    # Possible values include: debug, info, notice, warn, error, crit,
> >    # alert, emerg.
> >    LogLevel info
>
> >    <Directory /home/www-data/example>
> >        AllowOverride none
> >        Order deny,allow
> >        Allow from all
> >    </Directory>
> > </VirtualHost>
> > </IfModule>
>
> > My Apache processes:
>
> > PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> > 15740 ubuntu    20   0  486m 131m 6256 S    1  1.7   0:07.83
> > apache2
> > 15870 www-data  20   0  417m 101m 2808 S    0  1.3   0:00.94 apache2
> > 15787 www-data  20   0  480m 101m 2780 S    0  1.3   0:01.07 apache2
> > 16116 root      20   0  196m 100m 4488 S    0  1.3   0:40.06 apache2
> > 15739 www-data  20   0  194m  94m  544 S    0  1.2   0:00.01 apache2
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "modwsgi" group.
> > To post to this group, send email to modw...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > modwsgi+unsubscr...@googlegroups.com.
> > 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 modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to