重庆思庄Oracle、Redhat认证学习论坛

标题: aix 5.3修改ftp上传文件大小限制 [打印本页]

作者: changlexuan    时间: 2013-5-15 15:26
标题: aix 5.3修改ftp上传文件大小限制

1、需要手动修改/etc/security/limits文件

# cp /etc/security/limits /etc/security/limits.orig                  /*对所要修改的文件备份

2、修改limits 文件

#  vi /etc/security/limits

default:
        fsize = -1                                                                    /*只需更些此文件即可取消对ftp文件上传的限制
        core = -1
        cpu = -1
        data = -1
        rss = -1
        stack = -1
        nofiles = -2000

root:
        fsize = -1
        core = -1

由于此处为安装oracle 10g所以将所有参数都改为无限制。

3、需要重新登录参数设置才能生效

# bash-3.2# ulimit -a 
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) unlimited
pipe size            (512 bytes, -p) 64
stack size              (kbytes, -s) hard
cpu time               (seconds, -t) unlimited
max user processes              (-u) 262144
virtual memory          (kbytes, -v) unlimited

至此修改成功!






欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2