0

enter image description here

I infer it takes roughly 3 seconds to build HTML and send it back. Is there something obvious that I am missing?

Hardware: 2 CPU, 4 GB RAM, 100 gb HDD Stack: Fresh CentOS, Nginx, Wordpress

DD perf averages 200-300 MB/s

EDIT: Getting "Unable to allocate memory for pool" PHP error in php-fpm log. Help welcome.

Thale
  • 193
  • 1
  • 9

2 Answers2

0

I'd start with benchmarking the wordpress install.

http://wordpress.org/plugins/benchmark/

David Houde
  • 3,200
  • 1
  • 16
  • 19
  • the plugin didn't work. showing some php error. asked for some help from my dev friends... – Thale Dec 28 '13 at 16:29
0

As David said it's a good idea to run benchmarks, you should also take a look into slow query logs on your database. Then of course you'll want expires headers to cache the pages, and usually a good idea to have

<FilesMatch "\\.(js|css|html|htm|php|xml|eot|jpg|gif|png|jpeg)$">
SetOutputFilter DEFLATE
</FilesMatch>

inside your .htaccess or server config

  • looked up logs, getting "Unable to allocate memory for pool" message several times. – Thale Dec 28 '13 at 15:20
  • Take a look at 2nd answer: http://stackoverflow.com/questions/3723316/what-is-causing-unable-to-allocate-memory-for-pool-in-php – sunshinekitty Dec 29 '13 at 04:44