Author |
Topic Search Topic Options
|
MaximeRoy77
Groupie
Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
|
Post Options
Thanks(0)
Quote Reply
Posted: 03 January 2011 at 10:10pm |
I've had theses a lot ( on a forum with 150 average active users ) and the EVENT LOG is starting to log OUT OF MEMORY entries caused by the forum software.
Error: File /forum/functions/functions_common.asp Line 2018 Out of memory. Unable to allocate required memory..
Code generating the error:
'Place the array into the web servers application memory pool if the user has a session ID If strSessionID <> "" Then Application.Lock Application("sarryUnReadPosts" & strSessionID) = sarryTmp1UnReadPosts Application("sarryUnReadPosts2" & strSessionID) = strSessionID Application.UnLock 'Else the user doesn't have a session ID so use the session instead Else Session("sarryUnReadPosts") = sarryTmp1UnReadPosts End If
LINE 2018 is
Session("sarryUnReadPosts") = sarryTmp1UnReadPosts
Hope this information helps the developper to fix this.
Thanks
Max
|
|
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9791
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 January 2011 at 11:58am |
This has nothing to do with this topic but what it means MaximeRoy77 is that your server is out of resources and doesn't have adequate memory available.
|
|
|
MaximeRoy77
Groupie
Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 January 2011 at 2:31pm |
Maybe noting to do exactly but since this topic discuss memory usage, virtual pools, I was hoping to help others identify their problems. The EVENT LOG is a good place to check if your web application is not having enough ressources.
I am having Sessions Timeout frequently , maybe because of a lack RAM and this EVENT LOG entry suggest that it is why the recycling is going on an on - creating timeouts.
I decided 3 days ago to upgrade to a 16GB RAM server ;-)
|
|
MaximeRoy77
Groupie
Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
|
Post Options
Thanks(0)
Quote Reply
Posted: 07 January 2011 at 5:24pm |
...again, to help others a bit here. I have a forum averaging 150 active users and the Application Pool runs at 750MB RAM usage (with new server upgrade from 4GB to 16GB RAM) with much less frequent session timeouts and "insufficient permissions" errors. But still, got some... and this is sad.
I might have to re-try SQL Sessions now and report status later.
|
|
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9791
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 January 2011 at 11:26am |
750MB of RAM for the application pool seems like an awful lot. We have many Web Wiz Forums running on our servers here, including for big companies like Microsoft, that have between 150 and 500 active users at all times and find that the application pools for these forums use around 250MB of memory.
|
|
|
MaximeRoy77
Groupie
Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 January 2011 at 12:55pm |
After a reboot, the App Pool of the forum, with exactly 111 users, runs at 365MB RAM !
|
|
MaximeRoy77
Groupie
Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 January 2011 at 2:57pm |
No recylcing in days..... the forum AppPool runs at 1500 MB
|
|
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9791
|
Post Options
Thanks(0)
Quote Reply
Posted: 17 January 2011 at 9:40am |
There is something wrong with your setup as a 16GB web server we would run around 2,000 websites each with it's own app pool split between 4 Hyper-v servers with around 300 running Web Wiz Forums and 3,000 to 15,000 concurrent connections.
A forum with 150 active users we would consider low usage and host it on a shared server and not expect it to make much of an impact on resources.
Make sure that you are following Microsoft best practises for the server including running app pools in 32 bit mode for improved memory and performance.
You should also recycle the app pool at least once in 24 hours. Setting a time like 4am when your board would be quite is always a good idea.
|
|
|