CardSharing-X
» CardSharing Section => » CSP - Card Server Proxy « => CSP Discussion & Questions => Topic started by: bandasdk on March 08, 2011, 11:27:47 PM
-
What would be the big advantage of tweaking the FileDescriptors ?
The more Profiles you have the more FD you have
The more users you have the more FD you have
users * Profiles = max 1024
that's why you need to increase.
Here is how to blow up your FD in CSP.
Based on Debian Lenny.
Login to your shell of csp
vim /etc/security/limits.conf
Add the follow lines:
root soft nofile 65536
root hard nofile 65536
reboot your server
Note Wait until everything is booted before starting your CSP, otherwise Java will not cope the changes.
-
hey guys i followed you instructions.if i start manuly i see fd 8163.but if iauto start its back to 1024?any help plz
-
hey guys i followed you instructions.if i start manuly i see fd 8163.but if iauto start its back to 1024?any help plz
bandasdk is right but this only thanges the limit of open file for the root user and you autostart csp with other user. When you autostart the CSP check the user who starts it probably nobody
and if the user is nobody add:
nobody soft nofile 65536
nobody hard nofile 65536
to limits.conf or change nobody with the user who starts csp.
-
i tried nobody wont change still 1024