Oh, and make sure it isn't in DEBUG mode, that causes db queries to be
logged, which definitely uses a ton of memory if you have a lot of db
stuff (Like 3000 products getting queried).

Alex

On Thu, Nov 11, 2010 at 1:39 PM, Laszlo Antal <lzan...@gmail.com> wrote:
> Hi,
>
> Could you check to make sure django does not serve static media?
> I had a very similar issue (4000+ products) and I left by accident the 
> static_serve in urls.py
> Just a thought
>
> lzantal
>
> On Nov 11, 2010, at 11:30, Josh <josh...@gmail.com> wrote:
>
>> I have been working on a satchmo site with ~3000 products that has
>> repeatedly over the past week or so crashed the server it is running.
>> It is on a VPS with 2G dedicated ram.  It seems that once the httpd
>> process allocates memory it never releases it, eventually taking all
>> available memory and crashing the server.  I tried opening about ten
>> pages from the site and repeatedly hard refreshed them and watched the
>> memory usage (via top) shoot up more than 150m in about 10 minutes,
>> its still going up as I write this.
>>
>> Are there any known memory leaks in satchmo?  Why would memory usage
>> continue to go up after I have stopped hard refreshing?  (I guess it
>> is possible that other people are visiting the site but every two
>> second or so it seems to go up about 1m, which if it continues the
>> server will crash again).  Thanks in advance for any help.
>>
>> -Josh
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Satchmo users" group.
>> To post to this group, send email to satchmo-us...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> satchmo-users+unsubscr...@googlegroups.com.
>> 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 satchmo-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> satchmo-users+unsubscr...@googlegroups.com.
> 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 satchmo-us...@googlegroups.com.
To unsubscribe from this group, send email to 
satchmo-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to