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

Abdel5 created an issue. See original summary.

Abdel5’s picture

Issue summary: View changes
Abdel5’s picture

Issue summary: View changes
Abdel5’s picture

Title: Drupal 8 RC 1 installer stuck down after selecting language » Drupal 8 RC 1 installer stuck down after selecting language or at the end of instlalation
Issue summary: View changes
cilefen’s picture

Is xdebug enabled?

Abdel5’s picture

Unluckily 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.

cilefen’s picture

It seems like the guzzle library needs it, and Drupal needs the guzzle library for downloading things.

Abdel5’s picture

I 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.

cilefen’s picture

Component: install system » language system

I think this issue is more to do with the language system.

Abdel5’s picture

Status: Active » Closed (duplicate)

Change to duplicated as this is rather CPU usage issue not a language one.

Abdel5’s picture

I 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.