siege -c1000 -t5M domain.com
วันนี้ได้ทำการทดสอบเครื่อง server ของเพื่อนครับ ลองยิงทราฟฟิกเข้าไปที่เครื่องดูปรากฏว่าเดี้ยงตั้งแต่ยังไม่ทันถึง 10 วิ เลย เหอะๆต้องไปจูนใหม่นะเพื่อนเอ๋ย
Warning: mysql_connect() [function.mysql-connect]: Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (11)
ก็อบตัวอย่างทราฟฟิกที่ยิงทดสอบระบบมาให้ดูส่วนนึงครับ
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.39 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.60 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.43 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.40 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
HTTP/1.1 200 0.41 secs: 499 bytes ==> /view.php?ct_id=21
สรุปว่าต้องไปทำการปรับแต่ง apache และ mysql ใหม่ ไว้เด๊ยวมารายงานผลใหม่ครับพี่น้อง
Popularity: 4% [?]
Blog Related Content
Ubuntu/Debian LAMP Serversiege with webserverADD Sub Domain VHCS errorinstall MySQL server 4.1 on Ubuntu EdgyInstall Zend Optimizer 3.3.3 on Ubuntu 8.04 Server


















Be The First To Comment
Related Post
Please Leave Your Comments Below