Chinaunix首页 | 论坛 | 博客
  • 博客访问: 311829
  • 博文数量: 66
  • 博客积分: 2369
  • 博客等级: 大尉
  • 技术积分: 635
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-20 17:10
文章分类

全部博文(66)

文章存档

2020年(2)

2017年(3)

2016年(1)

2015年(1)

2013年(5)

2012年(12)

2011年(20)

2010年(1)

2009年(5)

2008年(15)

2007年(1)

分类: 系统运维

2011-08-22 17:13:59


1>
HPUX11.00和HPUX10.20都支持大于2G的文件,但该文件所在的文件系统必须调整为大文件系统。查看一个文件系统是否为大文件系统,可用 fsadm -F hfs /directory(对于HFS文件系统,且该文件系统已mount到/directory)或
fsadm -F vxfs /directory。
如想将非大文件系统变为大文件系统,使之支持>2G的文件,需要先umount该文件系统,然后用如下命令:
fsadm -F hfs -o largefiles /dev/vg01/rlvol1 或
fsadm -F vxfs -o largefiles /dev/vg01/rlvol1
(假定该文件系统为/dev/vg01/rlvol1)

2>
我直接改系统的Kernel的参数:
maxfiles from 60 to 2048 
maxfiles_lim from 1024 to 2048

3>
maxfiles是一个进程可以打开的文件数目的软性限制(soft file limit per process),
manfiles_lim是一个进程可以打开的文件数目的硬性限制(hard file limit per process)。

所以是不行的!

阅读(1730) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~