Skip to content
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

Composer fails with "proc_open(): fork failed - Cannot allocate memory" #363

Closed
yunohost-bot opened this issue May 26, 2016 · 5 comments
Closed
Labels
👾 bug Something isn't working

Comments

@yunohost-bot
Copy link

Original Redmine Issue: 363

Author Name: mbugeia


Hi,
The upgrade fail on my server, here is the end of the log: https://paste.yunohost.org/vafawuweho.tex
The "Cannot allocate memory" is a bit odd since I have ~300Mb of free memory and 512Mb of swap.

1. free -h
             total       used       free     shared    buffers     cached
Mem:          494M       377M       117M        18M        11M       162M
-/+ buffers/cache:       203M       291M
Swap:         511M       420M        91M

Disk space is ok too:

1. df -H /var/www/roundcube
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
/dev/vda1           21G     11G  9,7G  52% /

Even after the failure roundcube still works and seems to be updated to version 1.2.0. If I try another upgrade I got the same error.

@yunohost-bot
Copy link
Author

Original Redmine Comment

Author: Bram


I confirm this bug report as I've observed it on someone else cube.

@yunohost-bot
Copy link
Author

Properties Change

Author: jerome

@yunohost-bot
Copy link
Author

Original Redmine Comment

Author: jerome


So, after some research, I'll update the title since it's not related to the upgrade - neither Roundcube too.

Here is what the official documentation said and here is a larger topic with many answers that you have to pick...

Can you try those that you find relevant and tell us if one solved your issue please? To check if it's working, you can execute:

sudo sudo -u www-data COMPOSER_HOME=/var/www/roundcube/.composer php /var/www/roundcube/composer.phar require johndoh/contextmenu dev-release-2.1

Maybe there is really not enough free memory/swap on your system, but that would mean that we have to get rid of composer...

Thanks in advance!

@yunohost-bot
Copy link
Author

Properties Change

Author: moul

@yunohost-bot
Copy link
Author

Original Redmine Comment

Author: Bram

Status Changed: Closed


iirc this is fixed

@yunohost-bot yunohost-bot added the 👾 bug Something isn't working label May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👾 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant