의견을 보내거나 올바른 방향으로 나를 가리킬 수 있다면 감사하겠습니다. 3 개의 django 사이트가 데몬 모드로 실행 중일 때 원격 서버에서 터미널 명령을 실행할 수 없습니다. 하나 또는 두 개의 사이트에서 임베디드 모드를 사용할 때 문제가 없습니다. 명령을 입력 할 때 "bash : fork : 메모리를 할당 할 수 없습니다"라는 메시지 만 표시됩니다.Django, mod-wsgi 및 데몬 모드; 문제 "bash : fork : 메모리를 할당 할 수 없습니다"
시스템 : 가상 클라우드에 우분투 8시 4분 LTS의 원격 없는 SWAP 파일 만 512 RAM (무료, 상단과 PC의 보조가 사용하는 20 %의 메모리를 나타냄), 퍼티와 액세스, WinSCP에와 FTP, UFW 방화벽, 아파치 2.2.8, 사전 포크, 모드 - WSGI 2.3, 지금과 같은 주석 데몬과 SQLite는 DB,
의 .conf 파일을 설정;
하여 NameVirtualHost * : 80
HELME 가득
<VirtualHost *>
ServerAdmin [email protected]
ServerName wuest.h1.net
DocumentRoot /home/wuest/django/wuest/apache/
DirectoryIndex index.html index.htm
ServerAlias wuest.h1.net www.wuest.h1.net
<Directory /home/wuest/django/wuest/apache/>
Options Indexes FollowSymLinks
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
ErrorLog /home/wuest/django/wuest/log/error.log
LogLevel info
CustomLog /home/wuest/django/wuest/log/access.log common
WSGIDaemonProcess wuest.h1.net user=www-data group=www-data processes=5 threads=1
WSGIProcessGroup wuest.h1.net
WSGIScriptAlias//home/wuest/django/wuest/apache/django.wsgi
<Directory /home/wuest/django/wuest/apache/>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
어느 메모리 다음
<VirtualHost *>
ServerAdmin [email protected]
ServerName facts-pte.h1.net
DocumentRoot /home/pte/django/facts/apache/
DirectoryIndex index.html index.htm
ServerAlias facts-pte.h1.net www.facts-pte.h1.net
<Directory /home/pte/django/facts/apache/>
Options Indexes FollowSymLinks
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
ErrorLog /home/pte/django/facts/log/error.log
LogLevel info
CustomLog /home/pte/django/facts/log/access.log common
#WSGIDaemonProcess facts-pte.h1.net user=www-data group=www-data processes=5 threads=1
#WSGIProcessGroup facts-pte.h1.net
WSGIScriptAlias//home/pte/django/facts/apache/django.wsgi
<Directory /home/pte/django/facts/apache/apache/>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
wuest 다음과 같이
<VirtualHost *>
ServerAdmin [email protected]
ServerName helme.h1.net
DocumentRoot /home/helme/django/facts/apache/
DirectoryIndex index.html index.htm
ServerAlias helme.h1.net www.helme.h1.net
<Directory /home/helme/django/facts/apache/>
Options Indexes FollowSymLinks
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
ErrorLog /home/helme/django/facts/log/error.log
LogLevel info
CustomLog /home/helme/django/facts/log/access.log common
#WSGIDaemonProcess helme.h1.net user=www-data group=www-data processes=5 threads=1
#WSGIProcessGroup helme.h1.net
WSGIScriptAlias//home/helme/django/facts/apache/django.wsgi
<Directory /home/helme/django/facts/apache/>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
CHARLY 다음과 같이? Apaceh가 'worker'mpm으로로드 된 경우에도 동일한 문제가 발생합니까? 스왑 파일을 추가하는 것만 큼 간단합니까? postgresql을 설치할 때 더 많은 메모리 문제가 있습니까?
참고 : 저는 장고 프로젝트에서 일하는 freind의 원격 서버를 관리하는 고급 프로그래머 또는 관리자가 아닙니다.
도움을 주시면 감사하겠습니다. 종류의 점 Michael