Tag Archives: httpd-mpm

Home »  Tag: httpd-mpm

포트포워딩

vi /etc/sysctl.conf
net.ipv4.ip_forward = 1 //<< 1로 변경
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -t nat -A PREROUTING -p tcp -i eth0 -d [$serverip] –dport [$serverport] -j DNAT –to [목적지$ip:$port]
아주잘됨~

apache 성능테스트

-c : 한번에 수행할 다중 요구수
-n : 페이지요청수
-t : 테스트 허용 최대시간
[root@localhost ~]# /usr/local/apache/bin/ab -c 200 -n 1000 -t 10 http://$도메인/
This is ApacheBench, Version 2.3 < $Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
[root@localhost ~]# /usr/local/apache/bin/ab -c 200 -n 1000 -t 10 http://$도메인/
Benchmarking http://www.msnote.co.kr (be patient)
Finished 2 requests
Server Software: Apache/2.2.17
Server Hostname: http://www.msnote.co.kr
Server Port: 80
Document Path: /
Document Length: 10677 bytes
Concurrency Level: 200
Time taken for tests: 10.598 seconds
Complete requests: 2
Failed requests: 0
Write errors: 0
Total transferred: 21826 bytes
HTML transferred: 21354 bytes
Requests per second: 0.19 [#/sec] (mean)
Time per request: 1059813.300 [ms] (mean)
Time per request: 5299.066 [ms] (mean, across all concurrent requests)
Transfer rate: 2.01 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 2 14 16.0 25 25
Processing: 9425 9999 811.8 10573 10573
Waiting: 9322 9902 820.0 10482 10482
Total: 9450 10013 795.8 10575 10575
Percentage of the requests served within a certain time (ms)
50% 10575
66% 10575
75% 10575
80% 10575
90% 10575
95% 10575
98% 10575
99% 10575
100% 10575 (longest request)
서버 터질뻔;; 2코어 메모리 […]

Mysql 케릭터셋 (언어셋) 확인

show variables like ‘c%’;

mount -o remount,rw /

mount -o remount,rw /

test

test

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!