Sponsored Links
This presentation is the property of its rightful owner.
1 / 52

Александр Сербул Руководитель направления контроля качества интеграции и внедрений PowerPoint PPT Presentation


  • 127 Views
  • Uploaded on
  • Presentation posted in: General

Мониторинг веб-проектов: штаб оперативного реагирования и аналитический центр. Александр Сербул Руководитель направления контроля качества интеграции и внедрений. А зачем мониторить веб-проекты?. Клиенты чутко реагируют на доступность и скорость веб-проекта – днем … и ночью

Download Presentation

Александр Сербул Руководитель направления контроля качества интеграции и внедрений

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


-:


-?

  • -

  • - - Google, Facebook, Twitter

  • , Twitter!


-?

  • . , , !

  • . ?

  • -,


  • - / -

  • -,


, !

  • 20


- / !


-,


-

  • /

  • ,

  • $500 ,


-

  • Unix/Linux , RFC

  • bash ( - perl, C .)

  • :Windows Visa/7/Free BSD/Open BSD/Net BSD/Solaris/Cisco/IP , , ++, Java. , JS, , Agile


  • :

  • , , , , - . ,

  • , .


  • . .

  • . 2-3 .

  • . 2 . .

  • . , , .




?

  • !

  • ,

  • . (ping-admin.ru, host-tracker.com )

  • SSL-

  • !


  • Nagios(www.nagios.org)

  • Zabbix (www.zabbix.com/ru/)

  • , e-mail/SMS , .


  • , ,


  • mysql DBA


  • , -

vmstat


  • : , RSS, %CPU, process system/user time


  • MySQL


MySQL

(Percona)


: atop, apachetop, innotop

atop (www.atoptool.nl):


apachetop (freecode.com/projects/apachetop) apache -


innotop (code.google.com/p/innotop)


-

(>) N

(2>)


Pinba!

  • http://pinba.org

  • PHP + cstorage MySQL

  • UDP-

  • -

  • ?


-

15 - L

. ( pinba) M .

. N

munin


-

- pinba

munin


-

- pinba

munin


-

, , (awk-)


  • ,

  • ,

  • - ,


MaxClients = StartServers = MinSpareServers = MaxSpareServers < 20-30


Nginx


- MySQL

! 100


- MySQL


- MySQL


Apache MaxClients

MySQL buffers


swap. - .

. .



iostat





memcached


  • nagios

  • nagios

  • . - .

  • munin, pinba

  • ,


Apache /server-status

php-fpm, nginx, apache, mysql


XHProf, pinba, XDebug


  • XHProf (github.com/facebook/xhprof)


  • XDebug (xdebug.org)

  • C

  • -


  • , unix

  • strace

  • gdb

  • gdb p 123456

  • (gdb) source /src/php-5.3.19/.gdbinit

  • (gdb) dump_btexecutor_globals.current_execute_data

  • [0x0252d628] stemming() /var/www/html/bitrix/modules/search/tools/stemming.php:231[0x0252bc78] stemming() /var/www/html/bitrix/modules/search/classes/mysql/search.php:1090[0x02525ec8] StemIndex() /var/www/html/bitrix/modules/search/classes/general/search.php:1332[0x025223f8] Index() /var/www/html/bitrix/modules/iblock/classes/general/iblockelement.php:4857[0x0251b670] UpdateSearch() /var/www/html/bitrix/modules/iblock/classes/general/iblockelement.php:3295[0x02519c40] Add() /var/www/html/bitrix/modules/crm/classes/general/crm_webdav_helper.php:486[0x02514010] SaveEmailAttachment() /var/www/html/bitrix/modules/crm/classes/general/crm_email.php:867[0x065c2030] EmailMessageAdd()[0x0250fcc8] call_user_func_array() /var/www/html/bitrix/modules/mail/classes/general/mail.php:2477


  • nagios/zabbix

  • Pacemaker

  • !


!

?

[email protected]

@AlexSerbul


  • Login