<-
Apache > HTTP Server > Documentation > Version 2.4 > ����ȣ��Ʈ

���ϱ����(file descriptor) �Ѱ�

������ ���:  en  |  fr  |  ja  |  ko  |  tr 

�� ������ �ֽ��� ������ �ƴմϴ�. �ֱٿ� ����� ������ ���� ������ �����ϼ���.

����ȣ��Ʈ�� ���� ����ϰ� �� ����ȣ��Ʈ�� ���� �ٸ� �α������� �����ϸ�, ����ġ�� ��밡���� ���ϱ����(file descriptor, ���� �����ڵ�(file handle)�̶�� �θ�)�� �� ����� �� �ִ�. ����ġ�� ����ϴ� ���ϱ������ �� ������ ���� �α����ϴ� �Ѱ�, �ٸ� �α����� ���þ�� �Ѱ�, �߰��� ���ο뵵�� 10-20���� ���� ����. ���н� �ü���� ���μ����� ����� �� �ִ� ���ϱ���� ������ �����Ѵ�. �� �Ѱ�� ���� 64����, ���� �̺��� ū hard-limit���� �ø� �� �ִ�.

����ġ�� �� �Ѱ踦 �ʿ��Ѹ�ŭ �ø����� ������, �����ϴ� ��찡 �ִ�:

  1. �ý����� setrlimit() �ý���ȣ���� �������� �ʴ´�.
  2. (Solaris 2.3�� ����) �ý��ۿ��� setrlimit(RLIMIT_NOFILE) �Լ��� �������� �ʴ´�.
  3. �ʿ��� ���ϱ���� ������ hard limit ���� ����.
  4. (Solaris 2) �ý����� stdio ��Ʈ���� 256������ ���ϱ���ڸ��� ����ϵ��� �����ϴ� �� ���ϱ���ڿ� ������ ���Ѵ�.

�� ��� �ذ�å��:

top

����� ������

���� ����ȣ��Ʈ�� ���� �α������� ����Ѵٸ� ���߿� �� ����ȣ��Ʈ�� ���м��� ���� �α������� ������ ���� ���̴�. �� �۾��� ������ ���� �� �� �ִ�.

���� �α� �׸� ����ȣ��Ʈ ������ �߰��Ѵ�. �̸� ���� LogFormat ���þ�� %v ������ ����Ѵ�. �� ������ �α� ���Ĺ��ڿ� �տ� �߰��Ѵ�:

LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost
CustomLog logs/multiple_vhost_log vhost

�׷��� common �α����� �տ� (ServerName ���þ ������) ���� ����ȣ��Ʈ�� �����Ͽ� �α������� ����Ѵ�. (�α����� ��������ǿ� ���� ������ ��������� �α������� �����϶�.)

�α������� (����ȣ��Ʈ�� �� ���Ͼ�) ������ �ʹٸ� split-logfile ���α׷��� ����Ѵ�. �� ���α׷��� ����ġ �������� support ���丮�� �ִ�.

������ ���� ���α׷��� �����Ѵ�:

split-logfile < /logs/multiple_vhost_log

����ȣ��Ʈ �α������� ������ �� ���α׷��� �����ϸ� �α����Ͽ� ������ �� ����ȣ��Ʈ�� ������ �ϳ��� �����. ������ ���ϸ��� hostname.log�̴�.

������ ���:  en  |  fr  |  ja  |  ko  |  tr 

top

Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.