View Full Version : Optimal PHP Memory Limit and MySQL Packet Size?
swiftor
04-25-2010, 02:03 AM
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!
Angel-Wings
04-25-2010, 11:53 PM
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 ? :confused:
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 :)
swiftor
04-26-2010, 12:01 AM
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?
Angel-Wings
04-26-2010, 09:51 AM
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
swiftor
04-26-2010, 10:59 AM
Thanks! I'll see about toning down those numbers.
walt59
05-19-2010, 03:21 PM
Swiftor,
Are you a shared, vps, or dedicated server?
Thanks,
Walt
swiftor
05-19-2010, 03:33 PM
I recently transitioned to a dedicated server, but did not adjust my settings
walt59
05-19-2010, 07:06 PM
Thanks!
Boofo
08-03-2010, 05:17 AM
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?
Angel-Wings
08-03-2010, 07:37 AM
Where do you set the "largest possible attachement" size at?
Usergroup Options & Attachment Manager in the Admin Panel
Boofo
08-03-2010, 08:42 AM
Ah, ok, I just left those at the default value.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.