Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: zbs888 on March 14, 2021, 08:33:54 PM

Title: How to modify open files in tc
Post by: zbs888 on March 14, 2021, 08:33:54 PM
I installed linuxpam.tcz file,and i modified /usr/local/etc/security/limits.conf file
Code: [Select]
* soft nofile 1048576
* hard nofile 1048576
* soft nproc 655350
* hard nproc 655350

And i reboot system , ulimit -a
Code: [Select]

open files                      n 1024


How to take effect?
Title: Re: How to modify open files in tc
Post by: Rich on March 14, 2021, 08:42:48 PM
Hi zbs888
Did you back up the  /usr/local/etc/security/limits.conf  file?
Title: Re: How to modify open files in tc
Post by: zbs888 on March 14, 2021, 09:05:13 PM
Dear sir
I added above statements in /usr/local/etc/security/limits.conf  , but I didn't know how to make it work
Title: Re: How to modify open files in tc
Post by: Rich on March 14, 2021, 09:28:02 PM
Hi zbs888
I really don't know anything about using PAM, but maybe something here is of use:
http://forum.tinycorelinux.net/index.php/topic,24284.msg153676.html#msg153676