php - mongodb slow simple queries in production environment -
all queries taking time complete in web server database.
asking simple documents in big indexed collection in machine takes <0ms, in production machine takes ~20ms-300ms.
the hardware next:
poweredge r410 x5660 2 tb sata disks 16 gb ram in machine e3-1230v2 , 250gb ssd disk , 24gb ram works fine.
before upgrading machine or changing 1 (ssd+64gb ram+e3-1270v3), have find bottleneck.
- i'm suspecting of memory mapped, page faults values high.
- i don't know why mapped memory 280 gb , db storage 46 gb.
- php-fpm processes reaches 100% of cpu, if queries slow , php waiting response, consumes cpu?

Comments
Post a Comment