Skip to content

Migration process kills automatically while migrating from magento 1.9.2.4 to magento 2.1.0. #341

Closed
@chiju

Description

@chiju

php bin/magento migrate:data -r vendor/magento/data-migration-tool/etc/ce-to-ce/1.9.2.4/config.xml

========
[2017-08-01 07:14:55][INFO][mode: data][stage: data migration][step: Map Step]: started
32% [=========>------------------] Remaining Time: 2 mins Killed
-bash-4.1$

after some browsing, got a clue to check kernel logs

========
CT-26626-bash-4.1# dmesg | grep php
[65925374.412442] Out of memory in UB 26626: OOM killed process 12514 (php) score 0 vm:2330532kB, rss:1793452kB, swap:0kB
[65926087.231422] Out of memory in UB 26626: OOM killed process 12799 (php) score 0 vm:2323364kB, rss:1788396kB, swap:0kB
[65926338.670874] Out of memory in UB 26626: OOM killed process 12888 (php) score 0 vm:2328488kB, rss:1792244kB, swap:0kB

Already provided 2 GB limit for php.

===============

php -ini | grep memory_limit

memory_limit => 2G => 2G
1#

I watched RAM usage using watch command, the usage increased with in 2 secounds from 1 GB to 2.5 GB GB. Server has 2.5 GB total RAM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions