http://docs.djangoproject.com/en/dev/topics/http/file-uploads/#changing-upload-handler-behavior
Maybe you need to try lowering the FILE_UPLOAD_MAX_MEMORY_SIZE variable?

Alex
--
Alex Robbins
5Q Communications, Inc.
http://www.5Qcommunications.com/
[email protected]
800-747-4214 ext 913 (p)
http://www.ask5q.com/twitter/



On Sat, Dec 12, 2009 at 9:08 AM, pepper.yen <[email protected]> wrote:
> Forgot saying that my swap size on server:
>
> Device          1K-blocks     Used    Avail Capacity
> /dev/da0s1b        217472       0B     212M     0%
>
> On 12月12日, 下午11時04分, "pepper.yen" <[email protected]> wrote:
>> I got an error "swap_pager: out of swap space" when upload product
>> image.
>> When I upload a small file size product image work fine.
>> But if I upload an image larger then 1MB, then I will get
>> "swap_pager:
>> out of swap space"
>> I'm using Satchmo 1.0 version and FreeBSD 7.2
>> Thanks for any one to help!!!
>> Error Log:
>> Dec 13 03:34:26 freebsd kernel: swap_pager: out of swap space
>> Dec 13 03:34:26 freebsd kernel: swap_pager_getswapspace(1): failed
>> Dec 13 03:34:26 freebsd kernel: pid 2208 (python), uid 80, was
>> killed:
>> out of swap space
>> Dec 13 03:34:28 freebsd kernel: swap_pager_getswapspace(16): failed
>> Dec 13 03:37:32 freebsd kernel: swap_pager_getswapspace(16): failed
>> Dec 13 03:37:33 freebsd last message repeated 41 times
>> Dec 13 03:37:33 freebsd kernel: swap_pager_getswapspace(8): failed
>> Dec 13 03:37:33 freebsd kernel: swap_pager_getswapspace(16): failed
>> Dec 13 03:37:33 freebsd kernel: swap_pager_getswapspace(12): failed
>> Dec 13 03:37:33 freebsd kernel: swap_pager_getswapspace(16): failed
>> Dec 13 03:37:33 freebsd kernel: swap_pager_getswapspace(12): failed
>> Dec 13 03:37:33 freebsd kernel: swap_pager_getswapspace(16): failed
>> Dec 13 03:37:33 freebsd kernel: swap_pager_getswapspace(12): failed
>> and repeat N times above log
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "Satchmo users" 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/satchmo-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Satchmo users" 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/satchmo-users?hl=en.


Reply via email to