Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 25 Apr 2010, 03:03
swiftor's Avatar
swiftor swiftor is offline
 
Join Date: Nov 2008
Optimal PHP Memory Limit and MySQL Packet Size?

A friend of mines vb4 install is way faster than mine, even though we have similar traffic and hosts.

I did noticed that on his admin page he had different settings for his PHP memory limit and so on. The below are mine, do any seem like they may be hindering performance?

Web Server Apache v2.2.14
PHP 5.3.1
PHP Max Post Size 64.00 MB
PHP Maximum Upload Size 64.00 MB
PHP Memory Limit 64.00 MB
MySQL Version 5.0.90-community-log
MySQL Packet Size 16.00 MB

Thanks!
Reply With Quote
  #2  
Old 26 Apr 2010, 00:53
Angel-Wings's Avatar
Angel-Wings Angel-Wings is offline
 
Join Date: Sep 2007
These values are a bit high - aren't they ?

PHP Max Post Size 64.00 MB
PHP Maximum Upload Size 64.00 MB

64 MB uploads ?

But except these values, do you use the same OS with the same MySQL & Apache configuration on the same hardware with the same Addons to really have data to compare ?

May be the other MySQL DB is configured different or Apache
Reply With Quote
  #3  
Old 26 Apr 2010, 01:01
swiftor's Avatar
swiftor swiftor is offline
 
Join Date: Nov 2008
That I'm not sure about. It was another colleague who had setup these values I believe.

Is having those values too high going to harm performance?
Reply With Quote
  #4  
Old 26 Apr 2010, 10:51
Angel-Wings's Avatar
Angel-Wings Angel-Wings is offline
 
Join Date: Sep 2007
Well, you may waste resources you might need somewhere else.

I've a max_post_size of 5 MB, max_file_upload of 4 MB since the largest possible attachement I allow is 3.5 MB.

Still, except these values, don't forget your Webserver and Database - also Firewalls might give some performance impact while being useless in the most cases
Reply With Quote
  #5  
Old 26 Apr 2010, 11:59
swiftor's Avatar
swiftor swiftor is offline
 
Join Date: Nov 2008
Thanks! I'll see about toning down those numbers.
Reply With Quote
  #6  
Old 19 May 2010, 16:21
walt59 walt59 is offline
 
Join Date: Nov 2009
Swiftor,

Are you a shared, vps, or dedicated server?

Thanks,

Walt

Last edited by walt59 : 19 May 2010 at 16:45.
Reply With Quote
  #7  
Old 19 May 2010, 16:33
swiftor's Avatar
swiftor swiftor is offline
 
Join Date: Nov 2008
I recently transitioned to a dedicated server, but did not adjust my settings
Reply With Quote
  #8  
Old 19 May 2010, 20:06
walt59 walt59 is offline
 
Join Date: Nov 2009
Thanks!
Reply With Quote
  #9  
Old 03 Aug 2010, 06:17
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by Angel-Wings View Post
Well, you may waste resources you might need somewhere else.

I've a max_post_size of 5 MB, max_file_upload of 4 MB since the largest possible attachement I allow is 3.5 MB.

Still, except these values, don't forget your Webserver and Database - also Firewalls might give some performance impact while being useless in the most cases
Where do you set the "largest possible attachement" size at?
Reply With Quote
  #10  
Old 03 Aug 2010, 08:37
Angel-Wings's Avatar
Angel-Wings Angel-Wings is offline
 
Join Date: Sep 2007
Originally Posted by Boofo View Post
Where do you set the "largest possible attachement" size at?
Usergroup Options & Attachment Manager in the Admin Panel
Reply With Quote
  #11  
Old 03 Aug 2010, 09:42
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Ah, ok, I just left those at the default value.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 09:48.

Layout Options | Width: Wide Color: