When i check i got this error :

1.
2.
3.
4.
5.
6.

7.
8.
9.
10.
11.

Traceback (most recent call last):

  File "/home/v3ss/WorkSpace/FastTract/web2py/gluon/main.py", line
447, in wsgibase

    parse_get_post_vars(request, environ)
  File "/home/v3ss/WorkSpace/FastTract/web2py/gluon/main.py", line
275, in parse_get_post_vars

    request.body = copystream_progress(request) ### stores request body

  File "/home/v3ss/WorkSpace/FastTract/web2py/gluon/main.py", line
143, in copystream_progress

    copystream(source, dest, size, chunk_size)

  File "/home/v3ss/WorkSpace/FastTract/web2py/gluon/fileutils.py",
line 376, in copystream

    data = src.read(chunk_size)
IOError: error waiting for wsgi.input data



On Fri, Mar 9, 2012 at 2:57 AM, Phyo Arkar <phyo.arkarl...@gmail.com> wrote:

> Another problem with uWSGI
>
> i am wirting a custom uploader (multipart form/data)
>
> But after it finished writing data to file , i can no longer upload
> another , uwsgi gives no response.
>
> What can be the cause?
>
>
>
> On Thu, Mar 8, 2012 at 10:05 PM, Phyo Arkar <phyo.arkarl...@gmail.com>wrote:
>
>> Oh thanks a lot!
>>
>> I will add   --close-on-exec then.
>> i also trying --cpu-affinity
>>
>> On Thu, Mar 8, 2012 at 9:31 PM, Roberto De Ioris <robe...@unbit.it>wrote:
>>
>>>
>>> > Hello
>>> >
>>> > I am testing web2py with uWSGI and some request have random timeout
>>> (after
>>> > IO Heavy operation is started , but it is spawned using
>>> > subprocess.Popen())
>>> > And then progress is selected from DB Every 5 Seconds (Progress Percent
>>> > Insert,Commit to db is only done at each 5% intervals)
>>> > At the IO Heavy times , the progress status is Timedout! even tho I set
>>> > timeouts to really huge 6000 secs , it still timeout.
>>>
>>> If you generate a process during a request it will inherit the opened
>>> file
>>> descriptors. Add --close-on-exec to uWSGI to let it automatically close
>>> opened sockets before execing a new process.
>>>
>>> >
>>> > Also it seems that all uWSGI worker processes are running at the same
>>> core
>>> > as extraction process is running . how can i make it run in different
>>> > cores
>>> > (to make use of multple cores?)
>>> >
>>> >
>>>
>>> I think you are referring to 'uwsgi cores' in the logs. They are referred
>>> to threads and async modes. They do not reflect the cpu core in which it
>>> is running.
>>>
>>>
>>> --
>>> Roberto De Ioris
>>> http://unbit.it
>>>
>>
>>
>

Reply via email to