| 제목 |
292 : [misc] httperf FD_SET_SIZE patch |
| 이름 |
산이 [홈]http://linuxchannel.net/ |
기본 소켓 1024에서 655360 으로 패치
httperf FD_SET_SIZE patch
1. /etc/security/limits.conf
* hard nofile 655360
* soft nofile 655360
2. /usr/include/bits/typesizes.h
(in /usr/include/sys/select.h FD_SETSIZE is defined as __FD_SETSIZE)
#define __FD_SET_SIZE 655350
or
#define __FD_SETSIZE 655360
3. httperf recompile |
|
2012년 04월 30일 16:27:09 월(오후) from 59.10.168.35 |