���������,
����� �� ������� �� ������� �� ����� �� ������ total memory limit �� �����
������
(� ������ daemon) ��� Linux. limits.conf � ulimit �� ������ ������ ��������
�� �������������
������ � �������� ���� ���� user-� �� ����� �� �� � ������ �� ����� ����
root � �� ������ ������������. ������� �� ��������� daemon-� ��� softlimit
�� DJB �� ��� �� � ������� ������������� �� �� max memory per process � ��
�� total memory ����� ���� �� �� �������� �� parent �������. � ���� �����
���� fork() � malloc() ����� ����� �� ������ �������. ��� freebsd ��������
���� ������� � ����� ��������� � /etc/login.conf �� ������ �����������
vmemoryuse �� daemon login class-a � ���� ���� �� ������ ����� �� ��������
�� rc. ��� �� ������ ��� ��� ��������� �������� ����� �� 150 ������� �
�������� 10MB ����� � ���������� ���� apache (�������� ����� �� �pache �
mod_perl & mod_php) ����� ���� �� �� ������ ���� ���� ���� ����� ���� �� ��
������� ���� web � �� ����� �������:
while (1)
{
fork();
malloc(512);
}
��� ���� ����� �� ������� ���� �� ��� �� ����������. 10x
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================