This project is read-only.

Memory Leak

Topics: Administration, Customizing Orchard, Writing modules
Jul 21, 2014 at 4:28 PM

I am getting 95% of RAM used in my server just in one week. If i don't restart the dedicated server every week, it goes down and the website stops working.

It is built in Orchard 1.6, and i am using for storing things all the orchard features: ContentParts and ContentItems.

The online store contains 600 products.

Any clue about how to avoid getting ram too high?

Here it is the link to the site: Riders Colombia

Jul 21, 2014 at 9:12 PM
Impossible to tell without in-depth information. But maybe, maybe this has to do with a bug where Orchard didn't close DB sessions. This bug was fixed in 1.8 (or maybe 1.8.1?).
Jul 22, 2014 at 3:30 PM
Edited Jul 22, 2014 at 3:31 PM
Thx Piedone!! The migration to 1.8 would be very time consuming therefore very expensive!

Any idea about how to detect open db-sessions and close them?
Jul 22, 2014 at 7:34 PM
If you have access to the SQL Server you can retrieve the number of open connections from some sys table.

Otherwise if you modify your local SessionLocator class to this: you should be covered for this particular bug.