On 24/03/15 04:35, Graham Dumpleton wrote: > Am wondering whether relates to IOV_MAX being quite low on Solaris (16). > I perhaps was assuming the APR would deal with any limit and break it up > into separate calls as generally APR is good at papering over OS > differences. Checking apr_socket_sendv() code doesn't seem it does > though. :-(
I just wrote about this. Looks like mod_wsgi needs to split the iovec and do multiple calls or join several buffers together (maybe with some caching between calls). Notice that we are using an iovec of length 76 and Solaris limit is 16. Doing multiple calls seems to be trivial. I wonder why nobody else reported this before. Looks like it should be hitting everybody under Solaris 10. Maybe in Solaris 11 the limit is higher. I wonder how was this done under mod_wsgi 3.5, that I am currently using in production. -- Jesús Cea Avión _/_/ _/_/_/ _/_/_/ [email protected] - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ Twitter: @jcea _/_/ _/_/ _/_/_/_/_/ jabber / xmpp:[email protected] _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
