-
Type: Question
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.6.1
-
Component/s: Performance, Write Ops
-
None
Hello,
I have 3 mongodb servers running as replica set. The primary gets data at the rate of ~2.5K inserts per second. The data contains an array of around 2.5kb in size, upto 4 levels deep. The documents are being inserted in fire and forget mode from a php client.
With Mongo 2.4.10, the inserts used to happen in microseconds range(say 100us-800us). I upgraded to 2.6.1 and now single insert happens in millisecond range(1ms-400ms).
I frequently see this in my logs "command adb.$cmd command: insert
keyUpdates:0 numYields:0 locks(micros) w:98 reslen:33 606ms"
Any advice on fixing this ?
The 3 servers are running in 3 machines of same configuration with 32GB RAM. After upgrading i see an increased RAM consumption in the same machine. Is this expected?
Moreover, i see these in system logs:
php[4619]: segfault at 1 ip 00007f87ed26d1c7 sp 00007ffffbf6c938 error 6 in mongo.so (deleted)[7f87ed25d000+49000]
Kindly advice.