CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • VPS Sizing for Low Traffic Civi/Drupal install? InnoDB tuning?
Pages: [1]

Author Topic: VPS Sizing for Low Traffic Civi/Drupal install? InnoDB tuning?  (Read 992 times)

britebyte

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 2
  • CiviCRM version: Several 3.4+, 4.1+
  • CMS version: Drupal 6, Drupal7
  • MySQL version: Several 5.1+
  • PHP version: Several 5.2+
VPS Sizing for Low Traffic Civi/Drupal install? InnoDB tuning?
April 19, 2012, 09:23:49 am
I am new to VPS hosting and I would love to hear some opinions on VPS sizing and/or performance tips.
(I have run internal Linux hardware servers before but with 1GB of RAM or more.)

Site: 1000 page views/mth, in campaign time about double of that.
Administration: 2 Drupal content editors making about 1 edit per day if that.
CiviCRM: Once weekly report pulling, once monthly mailing list, webform integration with low # of submits.

I have a 384MB OpenVZ based VPS as I have read many anecdotal posts about running Drupal on 256MB VPS but I am constantly running out of memory.
I am using Apache2 at the moment. I have tried using both mod_php with mpm_prefork and mod_fcgid with mpm_worker. My Apache settings for each are down below.

Part 2:
Is there any info on getting the memory usage of InnoDB down? I can't find any posts on it.
All the low memory tuning articles say is turn on "skip-innodb". My MySQL process RSS is 27MB to 31MB.

Code: [Select]
<IfModule mpm_prefork_module>
StartServers       1
MinSpareServers    2
MaxSpareServers    4
MaxClients        10
    MaxRequestsPerChild   2000
</IfModule>


<IfModule mpm_worker_module>
StartServers       1
MinSpareThreads    2
MaxSpareThreads    6
    ThreadLimit          16
    ThreadsPerChild      8
MaxClients        8
    MaxRequestsPerChild   0
</IfModule>


Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: VPS Sizing for Low Traffic Civi/Drupal install? InnoDB tuning?
May 01, 2012, 02:30:55 pm
The site we're running at woolman.org has similar usage, and we got a VPS with 1gb ram and are very happy with it. From rimuhosting this costs us about $30/mo which seems very reasonable to me.
Try asking your question on the new CiviCRM help site.

britebyte

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 2
  • CiviCRM version: Several 3.4+, 4.1+
  • CMS version: Drupal 6, Drupal7
  • MySQL version: Several 5.1+
  • PHP version: Several 5.2+
Re: VPS Sizing for Low Traffic Civi/Drupal install? InnoDB tuning?
May 01, 2012, 04:35:43 pm
Hi Coleman,

Thanks for your input. It is really nice to get another estimate. We ended up moving the site to to 512MB Xen VPS and it seems to be adequate so far and we were able to raise the MaxClients setting a bit. It is still somewhat high on RAM usage but its not crashing. I think the difference between OpenVZ and Xen - having swap space - may be the most critical element rather than 384MB vs. 512MB.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: VPS Sizing for Low Traffic Civi/Drupal install? InnoDB tuning?
May 02, 2012, 02:31:53 am
Hi,

Are you using another language than en_us? That had a significant impact on the memory, that Mathieu has tackled an greatly improved at the last sprint.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

britebyte

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 2
  • CiviCRM version: Several 3.4+, 4.1+
  • CMS version: Drupal 6, Drupal7
  • MySQL version: Several 5.1+
  • PHP version: Several 5.2+
Re: VPS Sizing for Low Traffic Civi/Drupal install? InnoDB tuning?
May 03, 2012, 07:25:41 am
No, so far we are getting away without having another language installed.
I was unsure whether I needed additional languages so I had asked in this post http://forum.civicrm.org/index.php/topic,24237.0.html.
I ended getting all my webforms done without installing another CiviCRM language - using only Drupal multilanguages.
I have not yet tested using mailing lists with email templates in multiple languages without actually installing languages.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • VPS Sizing for Low Traffic Civi/Drupal install? InnoDB tuning?

This forum was archived on 2017-11-26.