Hello,
I would appreciate if someone can provide feedback or point me in the correct direction. I am unable to execute any terminal commands on a remote server when three django sites are running in daemon mode. I do not have a problem when I use embedded mode on one or two sites. When I enter the commands I only get "-bash:fork:cannot allocate memory".
The system: Ubuntu 8:04 LTS remote on virtual cloud, no SWAP file but 512 RAM(free, top and pc aux indicating only 20% memory used), access with Putty, FTP with WINSCP, UFW firewall set up, Apache 2.2.8, pre-forked, mod-wsgi 2.3, sqlite db,
.conf file, as of now with daemons commented out;
NameVirtualHost *:80
Helme as follows
<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 as follows
<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 as follows
<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>
Which memory is full? If Apaceh was loaded as 'worker' mpm would I have the same problem? Is it as simple as adding a SWAP file? Will I have more memory probelms when I install postgresql?
Please note I am not an advanced programmer or administrator just managing the remote server for a freind who is working on the Django projects.
Any help would be appreciated. kind regards Michael