Question: |
Hello, the question is, why such added cron tasks:*/10 * * * * killall -u ilocked*/25 * * * * service apache2 restartЗачем every 10 minutes to destroy all the processes? I have the whole log in the error is reached CZK-tasks view. And Apache why to overload every 25 minutes? Overload? |
Answer: |
Hello. please Wait, the request is sent to the administrator. |
Answer: |
These tasks are added to reduce the load , because you have hanging processes. if they remove your server again may not be available. while this works and the load on your server is normal and the websites are loaded with normalnya speed |
Question: |
Now it is clear. But when I asked you about errors in the logs, it was possible to say that the processes are killed. What do you think, can I increase the value from 10 minutes to half an hour or an hour? And is it possible to leave one of the two? overload Apache or the end of the process? |
Answer: |
when we asked for this decision have not been entered yet. not yet solved the problem with the load it is recommended to leave such limits. even so limits the number of processes increases, sometimes significantly, atk increases the load. it is not normal for drupal ? we have many cliento has sites in drupal and the engine problems did not create. please check more carefully the site settings. |
Question: |
To solve the problem of trying. It is suspected that the scripts hang when accessing to the database, waiting for a response. |
Answer: |
soobshaet if you need osobine mysql configuration? we will help you set up/ we`ll check using mysqltuner |
Question: |
Well, thank you |
Answer: |
while the recommendations of such General recommendations: Enable the slow query log to troubleshoot bad queries Configure your accounts with the ip or subnets only, then update your configuration with skip-name-resolve=1 When making adjustments, make tmp_table_size/max_heap_table_size equal Reduce your SELECT DISTINCT queries which have no LIMIT clause Increase table_open_cache gradually to avoid file descriptor limits Read this before increasing table_open_cache over 64: http://bit.ly/1mi7c4C Beware that open_files_limit (1024) variable should be greater than table_open_cache ( 400) Variables to adjust: query_cache_type (=0) tmp_table_size (>16M) max_heap_table_size (>16M) table_open_cache (>400) innodb_buffer_pool_size (>= 568M) if possible. |
Question: |
Thank you, I will understand |
Answer: |
mysqltuner script is here /root/major MySQLTuner-perl-5bcddc7 runs as a perl mysqltuner.pl |
Question: |
Thank you |
Answer: |
ok
|