• Unable tp start Php-Fpm service

  • Tell error you get when using VPSSIM & Other members help fix it

Tell error you get when using VPSSIM & Other members help fix it
 #2316  by tanvir.h
 21 Sep 2018 12:48
I have just installed the VPSSIM latest verion on Cent OS 7,

Installation went fine, but now i am unable to run "Php-Fpm service", due to it i can not even access the phpMyAdmin.

when i am trying to check the service using " systemctl status php-fpm.service -l"
it showing me following details

● php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/php-fpm.service.d
└─limit.conf
Active: failed (Result: exit-code) since Fri 2018-09-21 09:39:28 +04; 6min ago
Process: 3962 ExecStart=/usr/sbin/php-fpm --nodaemonize (code=exited, status=254)
Main PID: 3962 (code=exited, status=254)

Sep 21 09:39:28 server-Name php-fpm[3962]: Fri Sep 21 09:39:28 2018 (3962): Fatal Error Unable to allocate shared memory segment of 891289600 bytes: mmap: Cannot allocate memory (12)
Get 25 USD Free To USE VPSSIM
 #2319  by nguyenoanh
 21 Sep 2018 14:38
@tanvir.h

To get link download it: VPSSIM main menu ==> Log File Manage ==> PHP-FPM log
=========================================================================
        VPSSIM (4.6.0.4) - Manage VPS/Server By HTTP://VPSSIM.COM
=========================================================================
                            Log File Manage
=========================================================================
Log File Size:
=========================================================================
Nginx Log: 0K | PHP-FPM Log: 16K | MySQL Log: 88K
=========================================================================
Secure Log: 24K | Exim Log: 4.0K
=========================================================================
Write PHP Error Log: Off
=========================================================================
How to use: http://go.vpssim.vn/howlogfile
=========================================================================


1) Nginx Log 		 4) Secure Log 		  7) Delete Download Link
2) PHP-FPM Log 		 5) Exim Log 		  8) ON/OFF PHP Error Log
3) MySQL Log  		 6) Clear All Logs
Type in your choice (0-Exit):
or in /home/vpssim.demo/logs
 #2325  by tanvir.h
 22 Sep 2018 20:25
Thanks for the reply.

I have checked the php fpm log, its empty.

It seems that php is not running on the server, even i am trying to check its version its showing error.

Sorry, PHP-FPM stopped. Start it before use this function!
Sat Sep 22 17:23:39 2018 (5467): Fatal Error Unable to allocate shared memory segment of 891289600 bytes: mmap: Cannot allocate memory (12)
 #2335  by tanvir.h
 23 Sep 2018 23:57
Thanks for reply nguyenoanh

I have changed the opcache.memory_consumption to 128, and tried to start the service, but still its showing me same error

previously the value of opcache.memory_consumption was 850

Is there any other way to solve this issue ?
Get 25 USD Free To USE VPSSIM