Limits on open filehandles
来源:互联网 发布:淘宝没有智能助手 编辑:程序博客网 时间:2024/06/03 00:00
- Any Unix: the limits set by ulimit or setrlimit.
- FreeBSD:
Edit /boot/loader.conf, add the lineset kern.maxfiles=XXXX
where XXXX is the desired system limit on file descriptors, and reboot. Thanks to an anonymous reader, who wrote in to say he'd achieved far more than 10000 connections on FreeBSD 4.3, and says"FWIW: You can't actually tune the maximum number of connections in FreeBSD trivially, via sysctl.... You have to do it in the /boot/loader.conf file.
The reason for this is that the zalloci() calls for initializing the sockets and tcpcb structures zones occurs very early in system startup, in order that the zone be both type stable and that it be swappable.
You will also need to set the number of mbufs much higher, since you will (on an unmodified kernel) chew up one mbuf per connection for tcptempl structures, which are used to implement keepalive." - Linux: See Bodo Bauer's /proc documentation. On 2.4 kernels:
echo 32768 > /proc/sys/fs/file-max
increases the system limit on open files, andulimit -n 32768
increases the current process' limit.On 2.2.x kernels,
echo 32768 > /proc/sys/fs/file-maxecho 65536 > /proc/sys/fs/inode-max
increases the system limit on open files, andulimit -n 32768
increases the current process' limit.
- Limits on open filehandles
- limits on mysql
- Hard limits for "maximum open file descriptors"
- Hard limits for "maximum open file descriptors"
- Limits on numeric data representation in LotusScript
- Limits on array variables in LotusScript
- limits
- Increase limits on sockets on Mac OS X
- Learning Perl: 5.6. Filehandles
- U.S. Wants Limits on China Textile Imports
- Spark on yarn Container beyond virtual memory limits
- 14.5.7 Limits on InnoDB Tables InnoDB 表的限制
- Android Dev Intro - Limits on setVisible of View
- 14.6.7?Limits on InnoDB Tables InnoDB 表的限制
- spark on yarn:Container is running beyond physical memory limits
- Open Source on Github
- Open .pdf on ubuntu
- Learning Perl: 5.9. Using Filehandles
- linux 下shell编程简介
- 安装filezilla client报错,已经安装了wxWidgets,确报错没有安装wxWidgets
- 不用框架使用ajax 纯js使用ajax post,get范例及其区别
- Android控件封装之RatingBar(三)
- 平时不学,考试时装松子,值不值
- Limits on open filehandles
- fgrep正则查看相关行,及其前N行、后N行
- 深入分析 enq: TX - row lock contention
- 常用的正则表达式全面总结
- MDT 2012.1 捕获映像的变化
- 【Windows 8操作系统的“五大利器”】
- html 相关
- Ubuntu Linux 环境变量PATH设置
- PLSQL Developer使用笔记(不断更新)