El 21/04/07, Carlos E. R. escribió:
Se pueden poner límites generales en /etc/profile o en /etc/initscript - el segundo es mejor (en suse se ajusta en /etc/sysconfig/ulimit) Y me suena que había otro sitio mediante pam.
En el "readme" de SuSE 10.1* lo avisan (no he visto nignuna referencia en el readme de la 10.2): ulimit Settings The ulimit settings can be configured in /etc/sysconfig/ulimit. By default, only two limits are changed from the kernel defaults: SOFTVIRTUALLIMIT=80 limits a single process so that it does not allocate more than 80% of the available virtual memory (RAM and swap). SOFTRESIDENTLIMIT=85 limits a single process so that it does not occupy more than 85% of the physical memory (RAM). These soft limits can be overridden with the ulimit command by the user. Hard limits could only be overridden by root. The values have been chosen conservatively to avoid breaking large processes that have worked before. If there are no legitimate processes with huge memory consumption, set the limits lower to provide more effective protection against run-away processes. The limits are per process and thus not an effective protection against malicious users. The limits are meant to protect against accidental excessive memory usage. To configure different limits depending on the user, use the pam_limits functionality and configure /etc/security/limits.conf. The ulimit package is not required for that, but both mechanisms can be used in parallel. The limits configured in limits.conf override the global defaults from the ulimit package. * http://ftp.opensuse.org/pub/opensuse/distribution/SL-10.1/inst-source/docu/R... Saludos, -- Camaleón --------------------------------------------------------------------- Para dar de baja la suscripción, mande un mensaje a: opensuse-es+unsubscribe@opensuse.org Para obtener el resto de direcciones-comando, mande un mensaje a: opensuse-es+help@opensuse.org