vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Optimal PHP Memory Limit and MySQL Packet Size? (https://vborg.vbsupport.ru/showthread.php?t=241212)

swiftor 04-25-2010 02:03 AM

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!

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

Quote:

Originally Posted by Angel-Wings (Post 2027502)
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

Quote:

Originally Posted by Boofo (Post 2078441)
Where do you set the "largest possible attachement" size at?

Usergroup Options & Attachment Manager in the Admin Panel


All times are GMT. The time now is 01:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01096 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete