Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Memory Usage between versions?

Aloittaja SergeantAsh, helmikuu 24, 2009, 02:33:02 IP

« edellinen - seuraava »

SergeantAsh

I'm currently using Dreamhost as my host, they're fairly strict on memory usage - on shared plans we're allowed up to 150mb before we see 500 Server Errors - I'm not on a semi-dedicated- plan that allows me to allocate more memory, however I'm still hitting 300-400mb during peak times whcih seems a lot for a forum??

The forum in question is v1.1 RC2 (not ideal I know but was too much hassle to upgrade) and so I'm awaiting v2 final before upgrading.

Here's the stats for the forum over 3 months...

                               Topics    Posts            Members    Most Online
February 2009        470       6563            697            52
January 2009          596       10592          1068          56
December 2008      498        8587            1352          61

Total Members: 9524
Total Posts: 256842
Total Topics: 18178

My question is will the memory usage vary substantially once I migrate the forum to v2 SMF, is it much more efficient?

Also, for the forum of such traffic, is 300-400mb of PHP memory usage excessive?

I appreciate your views.
Lainaa"Moderation has been called a virtue to limit the ambition of great men, and to console undistinguished people for their want of fortune and their lack of merit."

John Eric

1.1RC2?

and current = 1.18?

between 1.1rc <--->1.18 is upgrade to many SQL query!

overall, limit mods reduce status that show - member, last posts etc.
limit boards to not guest so spider cannot enter and use CPU to retrieve or Robots.txt to talk to spiders directly, Yahoo will greedy read forum until it crash sometime


SergeantAsh

Thanks for your reply John.

I'm specifically looking at memory load differences between v1.1 RC2 and v2 Final - I think minor things such as showing member status would make little difference?
Lainaa"Moderation has been called a virtue to limit the ambition of great men, and to console undistinguished people for their want of fortune and their lack of merit."

John Eric

correct
but display that require query of database will be painful to you.

like, recent post,  member avatar (other than avatar of you, current member)

memberlist - set it to display 10 each, not 100 (also this shall increase difficulty for nasty member/spammer to scrape member list :P - maybe have it so only moderate/admin to view memberlist? )

mod that have many settings may pull settings from database.

disable search? if not all times , maybe sometimes or for some membergroups?
disable attachments? let them link offsite - make easiest conversion, upgrades and more security
SMF2.0 has cache to avoid query

karlbenson

There aren't many differences between the rc and final versions of 1.1.x.  mainly bugs fixes and the odd optimization.
That said you should be using that much memory even with 1.1 rc's. 

Have you got a custom search index or fulltext index.
If not you should be using one.

SergeantAsh

The real question is differences between v1.1RC2 and v2 FINAL - I like the idea of disabling attachments, nice idea and saves diskspace too!!
Lainaa"Moderation has been called a virtue to limit the ambition of great men, and to console undistinguished people for their want of fortune and their lack of merit."

SergeantAsh

Guys,

Just thought I should flag this application up, incredibly good reporting on memory permitted on your server for your PHP instance, also how much memory is being used in realtime, on each refresh!

Its a simple PHP application, upload it and away you go - has answered all my questions!!

http://phpsysinfo.sourceforge.net/
Lainaa"Moderation has been called a virtue to limit the ambition of great men, and to console undistinguished people for their want of fortune and their lack of merit."

JimM

Lainaus käyttäjältä: @sh - helmikuu 26, 2009, 04:17:38 IP
Its a simple PHP application, upload it and away you go - has answered all my questions!!

In that case I'll mark this topic as solved then.
Jim "JimM" Moore
Former Support Specialist

Advertisement: