普通用户的ulimit -n xxxxx cannot modify limit: Operation not permitted的问题

ulimit -n VALUE

 

1. 查看/etc/security/limits.conf

     *           hard    nofile            2048
     *           soft    nproc             2048

 

     确定VALUE是否大于2048。

 

 

2. 先su到root,再从root su到普通用户, 再ulimit -n VALUE 就行了。

posted on 2011-02-18 11:55  daemonh  阅读(1055)  评论(0编辑  收藏  举报

导航