ispCP - Board - Support
Without fastcgi - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Suggestions (/forum-2.html)
+--- Thread: Without fastcgi (/thread-533.html)

Pages: 1 2 3 4 5


RE: Without fastcgi - Z4P - 05-13-2007 06:27 AM

Ok got this now:
Code:
publichosting:/var# vi swapfile
publichosting:/var# dd if=/dev/zero of=/var/swap/swapfile bs=1024 count=265536

265536+0 records in
265536+0 records out
271908864 bytes (272 MB) copied, 5.89435 seconds, 46.1 MB/s
publichosting:/var#
publichosting:/var# mkswap /var/swap/swapfile
Setting up swapspace version 1, size = 271904 kB
no label, UUID=536f238d-5035-4e5f-8901-8228a2550200
publichosting:/var# /var/swap/swapfile  swap swap  pri=1000 0 0
-bash: /var/swap/swapfile: Permission denied
publichosting:/var# cd swap
publichosting:/var/swap# chown root swapfile
publichosting:/var/swap# chmod 777 swapfile
publichosting:/var/swap# /var/swap/swapfile  swap swap  pri=1000 0 0
-bash: /var/swap/swapfile: cannot execute binary file
publichosting:/var/swap# swapon /var/swap/swapfile
swapon: /var/swap/swapfile: Operation not permitted
publichosting:/var/swap#



RE: Without fastcgi - joximu - 05-13-2007 06:36 AM

ls -la /var/swap/

pls post the output


RE: Without fastcgi - joximu - 05-13-2007 06:37 AM

I'll have a look in the server (if the pw is still the same...)


RE: Without fastcgi - Z4P - 05-13-2007 06:39 AM

Code:
publichosting:~# ls -la /var/swap/
total 265808
drwxr-xr-x  2 root root      4096 2007-05-12 15:25 .
drwxr-xr-x 17 root root      4096 2007-05-12 15:25 ..
-rwxrwxrwx  1 root root 271908864 2007-05-12 15:26 swapfile

Just changed the pass back, so go ahead Smile


RE: Without fastcgi - joximu - 05-13-2007 06:52 AM

I moved it to /

swapon -a
swapon: /swapfile: Operation not permitted

Google finds:
"There is no SWAP partition in a virtualized environment."
"You don't need to do swapon inside VE. VEs use swap, enabled on the HN."

Hm, I think a virtulaized Server is really not the right thing to run ispcp.


RE: Without fastcgi - Cube - 05-13-2007 08:26 AM

I use vhcs2 on a vServer for two years now - so why not ispcp? And it's also always in the burst area.


RE: Without fastcgi - Z4P - 05-13-2007 08:36 AM

What are th specs of your vserver?


RE: Without fastcgi - joximu - 05-13-2007 09:36 AM

Hi Z4P

if you don't need postgrey - stopping this (and disabling in postfix) will maybee free also a little bit of your ram...

/J


RE: Without fastcgi - BeNe - 05-13-2007 05:21 PM

How To disable Postgrey --> http://www.isp-control.net/component/option,com_easyfaq/Itemid,38/task,view/id,15/


RE: Without fastcgi - Cube - 05-13-2007 07:59 PM

Z4P Wrote:What are th specs of your vserver?

110MB, burstable to 333MB.
The failcnt at privvmpages is high, but it works.
I use a standard vhcs without DNS.