Skip to content

production mode error on magento 2.1v #6017

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nmallepally opened this issue Aug 5, 2016 · 5 comments
Closed

production mode error on magento 2.1v #6017

nmallepally opened this issue Aug 5, 2016 · 5 comments

Comments

@nmallepally
Copy link

Magento 2.1v
PHP 7.0.9
Debian 8
Mysql5.6(MariaDB)

:~$ php -d memory_limit=6G httpdocs/bin/magento deploy:mode:set production
Enabled maintenance mode
Starting compilation
sh: line 1: 10837 Segmentation fault /opt/plesk/php/7.0/bin/php -f /var/www/vhosts/magento2/httpdocs/bin/magento setup:di:compile 2>&1
Something went wrong while compiling generated code. See the error log for details.
Command returned non-zero exit code:
`/opt/plesk/php/7.0/bin/php -f /var/www/vhosts/magento2/httpdocs/bin/magento setup:di:compile

Memory limit is given 6G, yet error arises. Is this a bug in magento 2.1?

@nmallepally
Copy link
Author

@andimov Any update on above Issue?

@choukalos
Copy link

What version of 2.1 specifically - is this 2.1.1 ?
What themes or extensions are you using?
What memory usage are you seeing doing a compile and static asset deploy?

@nmallepally
Copy link
Author

Hi @choukalos appreciate for the response.

I have a 2.1.0 now and i updated to 2.1.1. which it did successfully via composer.
then I was putting my store into production mode.
I ran php -d memory=2G bin/magento deploy:mode:set production
It compile successfully, generates static content and then gives me an error.

New version of deployed files: 1474387324
..
Successful: 2384 files; errors: 3
Command returned non-zero exit code
php -f /var/www/magento2 /test123/bin/magento setup:static-content:deploy en_US fr_FR 2>&1`
and it stays in development mode.

@kandy
Copy link
Contributor

kandy commented Oct 17, 2016

Hi @nmallepally, Can you run commond like
php -f /var/www/magento2 /test123/bin/magento -vvv setup:static-content:deploy en_US fr_FR
and post full stack of error here

@veloraven
Copy link
Contributor

According to contributor guide, tickets without response for two weeks should be closed.
If this issue still reproducible please feel free to create the new one: format new issue according to the Issue reporting guidelines: with steps to reproduce, actual result and expected result and specify Magento version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants