Hi, running Drupal 8 RC1 installer on my dedicated server I found out that after selecting a language (polish) the script stuck down. Apache process takes 100% CPU and ~21% of 2GB ram and nothing happens. At the end the script shuts down due to max_execution_time which I have set up for test purposes for 900 second (15 minutes).
If I decides on "English" languages the installer goes further and I may install the script without errors. The script stucks down again after the step "Configure site" but the page works correctly.
Comments
Comment #2
Abdel5 commentedComment #3
Abdel5 commentedComment #4
Abdel5 commentedComment #5
cilefen commentedIs xdebug enabled?
Comment #6
Abdel5 commentedUnluckily not, I don't even have it installed.
What I have noticed that yesterday page (I have installed in English language at the end) was ruining OK but today once more I hit "max timeout". This does not happen every time that I visit the page though. It seems that on some occasions something goes wrong causing excessive CPU consuming .
I have also noticed number of the following errors in my log:
Warning: curl_multi_exec() has been disabled for security reasons in GuzzleHttp\Handler\CurlMultiHandler->tick() (line 106 of /home/www/uzbrojeni.pl/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php).I may enable curl_exec in my php.ini but I wonder what is this function used for?
I have plenty of symfony pages as well as drupal 7 pages runing smoothly on this server.
Comment #7
cilefen commentedIt seems like the guzzle library needs it, and Drupal needs the guzzle library for downloading things.
Comment #8
Abdel5 commentedI have enabled curl_multi_exec() and restarted apache in php.ini for apache2 but this neither affects website spead nor eliminates the warning from the log. In phpinfo() the curl_mutli_exec is not disabled. This seems a bit strange taking into account that safe_mod is off. What is even more strange the error occurs only for anonymous user.
Comment #9
cilefen commentedI think this issue is more to do with the language system.
Comment #10
Abdel5 commentedChange to duplicated as this is rather CPU usage issue not a language one.
Comment #11
Abdel5 commentedI closed this issue as this was related with curl_exec and curl_multi_exec disabled in php.ini. After modifying php.ini problem is gone.