Plesk 12.x / Linux :: Cache Lost In Fcgi-php-environment

Oct 11, 2014

Tested with my own comilations as well as the Panda-packages:
- zend opcache configured in php 5.5 and 5.6
- php version assigned to test domains

php-info:
- cache active and running

real-life:
- site loads "normally" on initial load
- cache kicks in on reload - perfect
- 15 seconds later: cache is empty

bottom line: when then php-cgi process ends, the cache is killed too.

Why does it happened? How do I keep the cache persistent? Is it due to cgi/fcgi and fpm would solve it?

View 7 Replies


ADVERTISEMENT

Dispatch.fcgi Kept In Cache

May 21, 2007

I have Django (python framework) on a server, and I have a little problem. The application is kept in cache by FastCGI

When you make changes to your application you have to restart it. Touching the file doesn't solve my problem. The only solution I have is renaming the .fcgi file always, and if you use an orifinal file name, it actually works like before, prooving it's kept in cache.

What would you do? A cron job to remove these files maybe?

View 3 Replies View Related

Plesk 12.x / Linux :: Add New Programs To CHROOTED Environment

Sep 24, 2014

I am trying to add new programs to the CHROOTED environment via this post: URL....I downloaded the following file URL...., but it has errors. After adding execute permissions, the linux file will not run (errors posted below). I believe there is invalid formatting in the document. I have tried to correct it myself by removing unnecessary characters, but I am unable to get it working.update the file or attach a new copy to this message?

: command not found line 1:
: command not found line 3:
): No such file or directorywarning: setlocale: LC_ALL: cannot change locale (POSIX
): No such file or directorywarning: setlocale: LC_ALL: cannot change locale (POSIX
: command not found line 6:
./chroot_update.sh: line 14: syntax error near unexpected token `elif'
'/chroot_update.sh: line 14: `elif [ -f /etc/debian_version ]; then

View 1 Replies View Related

Plesk 11.x / Linux :: Daily Reports By Email In Client Environment

Dec 11, 2014

In plesk9 my customers had the option to send daily usage reports by e-mail. Only certain clients like this option. Using plesk11 I cannot find this option if I log in as a client. Has this feature been removed? And if so, can the administrator enable this option only for 1 or 2 clients?

View 2 Replies View Related

Plesk 12.x / Linux :: Allow PHP5 Json Decode Function In Chrooted Environment

Mar 4, 2015

I'm Running Plesk 12 latest version. I've been partially followed that instructions to add php5 to a chrooted environment with success : [URL] .....

Code:
bash-4.3$ php --version
PHP 5.5.9-1ubuntu4.5 (cli) (built: Oct 29 2014 11:59:10)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies

This is how i did it, as root user :

Code:
./chroot_update.sh --add /usr/lib/php5
mkdir /var/www/vhosts/chroot/usr/share
cp -a /usr/share/zoneinfo /var/www/vhosts/chroot/usr/share
php -i | grep extension_dir
# returns : /usr/lib/php5/20121212/

[Code] .....

View 2 Replies View Related

Plesk 12.x / Linux :: Lost All Websites - Sent To Default Page

Dec 4, 2014

I have suddenly lost all of the websites on the plesk panel server 12.0.18. One of the domains was being used to spam and so I started blocking stuff and removing some of the offending files and folders and the spamming stopped.

However it got to a point where I needed to restart the server and although it was working before the restart, once I did restart it it stopped working. All domains are loading nothing and the access_log looks like nginx or FastCGI is trying to redirect the page somewhere. The bootstrapper repair log file states:

"Details: PHP Warning: include_once(Template/Writer/Webserver/Apache.php): failed to open stream: No such file or directory; File: /usr/local/psa/admin/plib/Loader.php, Line: 97"

View 5 Replies View Related

Plesk 12.x / Linux :: Domains Lost After Business Model Update

Feb 17, 2015

I'm running a fresh install of Plesk 12 on Ubuntu. I've used the migration manager to import domains and accounts from another (older) installation. Everything worked well.

After the process, Plesk suggested the "Complete Switching to the new Plesk business model". After switching, half of the Domains didn't show up anymore (not in Subscribtions, nor in a Customer Account) and the Domains page was completely blank. But if I check the page "Traffic Usage By Domains", the Domains still show up and they are still in the vhosts folder and they are still accessible.

So I guess the Domains are still in the database, they just lost the connection to a subscription or customer. How can I restore this connection?

View 1 Replies View Related

Virtualized Windows Environment On Linux Server

May 7, 2008

i have a high end linux server, low load. i'm looking for ideas as to how i can get a windows 2003 machine hosted up onto it (i have a license already) on one of the machine's dedicated IPs, and set it up to host ASP based websites with MS access (have the license already too). Any tutorials or suggestions how this can be set up?

View 3 Replies View Related

Apache :: How To Access Linux Environment Variables

Mar 7, 2014

I am developing a php web application using Apache on CentOS6. I have set a custom environment variable in CentOS on command line by using: export test_var=3

View 1 Replies View Related

Plesk Automation :: Migrating From IIS Environment

May 28, 2014

The migration tool allows only migration from other Parallels environments. What is the best way to migrate from an IIS environment. I'm assuming the API can be used to simply create webspace subscriptions and set the resource limits, right?

View 2 Replies View Related

Edit Linux Cache

Jul 5, 2009

root@host# free
total used free shared buffers cached
Mem: 4016936 2598976 1417960 0 138424 1558652
-/+ buffers/cache: 901900 3115036
Swap: 5275640 0 5275640
Eventually, the cache reaches 2600000 and i would like to keep the cache smaller so that the free RAM is always steady around 500k for when a lot of traffic comes through.

is there a way to clear the old cache out faster?

View 4 Replies View Related

Apache :: Use Disk To Enhance For Page Cache And Database Cache For Disk

Apr 24, 2013

I use apache with CentOS VPS hosting for my blog. I only host one blog in this VPS account. I have 1.5GB RAM and I have 7, 500 page preview per day. My page loading time is 2-3 seconds (according to the pingdom tool).

I want to know what is the best performance (faster web page loading) W3 Total cache option for VPS hosting blog. Currently I use Disk to enhance for page cache and database cache for disk.

View 2 Replies View Related

How To Turn Off Fcgi

Jun 1, 2009

how to turn off f-cgi?

Its causing big problem at my friend's site, it often leads to 500, 501 and 502 pages, earlier some one mentioned even fcgi could be reason for the error pages as it might show error page if php file takes longer time to load,

so I would like to to turn off fcgi at his site, he uses hypervm-lxadmin, I couldn't find an option when I searched, may be I have missed it, can u guide me through how to solve this issue

and I would like to know if turning off f-cgi will it cause any problem to the site, such as tech, issue to be fixed

View 5 Replies View Related

API - FCGI, Regarding Load

May 18, 2008

I've been using Apache for a long time, switched to fcgi, went to check load and I see that some sites are using like 10-15% of cpu (dual quad harpertown) for a 10 seconds or so. Wordpress blog which is using 700 mb of traffic per month for example.

Is this normal?

I wasn't been able to see that in the past so really din't knew that.

View 2 Replies View Related

Apache + Spawn-fcgi

Apr 14, 2008

I`d like to run php per user using spawn-fcgi (I want to user have own pid file for php process). Is it possible to work? I thing that the way is to add something in VirtualHost file for users something like
spawn-fcgi -f /usr/local/php4/bin/php -P /tmp/$user.pid -s /tmp/$user.sock

Is it possible to do?

I`m using DirectAdmin.

View 2 Replies View Related

Spawn-fcgi Pidfile

Jun 16, 2007

I have php running as fastcgi for nginx and I'm trying to setup monit to monitor the php process and restart it when it crashes. The problem is that I can't seem to figure out which pidfile I should have monit look at.

Here's part of my script that starts the spawn-fcgi process:

#!/bin/bash
#
# chkconfig: 345 22 82
# description: The php-cgi spawnr

## ABSOLUTE path to the spawn-fcgi binary
SPAWNFCGI="/usr/local/bin/spawn-fcgi"

## ABSOLUTE path to the PHP binary
FCGIPROGRAM="/etc/lighttpd/php/bin/php"

FCGIPID="/var/run/php-fcgi.pid"

## TCP port to which to bind on localhost
FCGIPORT="1026"

## number of PHP children to spawn
PHP_FCGI_CHILDREN=8

## maximum number of requests a single PHP process can serve before it is restarted
PHP_FCGI_MAX_REQUESTS=1500

I added the FCGIPID (saw it in an example), but it doesn't seem to do anything. I tried creating a pid file but the pid in it doesn't get updated when I start/stop the script.

View 1 Replies View Related

Apache :: How To Benchmark And Configure FCGI

May 23, 2015

how to benchmark and configure FCGI.

View 4 Replies View Related

Tweak Amount Of Php Process Spawn-fcgi

Apr 5, 2009

Where do I find the file to tweak spawn-fcgi process. I look in lighttpd.conf and php.ini I couldn't find any. I use lighttpd.

View 3 Replies View Related

Setting Up An Environment On My VPS

Nov 3, 2007

I initially wanted to set up a VPS because I want to build a web application. The first phase is to set up a development environment, testing environment and production server. For the development environment, I want to set up an SVN server for my code (one reason why I chose a vps instead of a shared server) as well as a bug tracking system. Each environment would be under subdomains, except the production server (development.domain.com, trac.domain.com, testing.domain.com).

My question is what is the best way to utilize my VPS for this type of environment? Should I create a client for each environment? Stick everything under my admin account? I'm sure this is a simple question, but I just want to make my system as organized as possible.

At the minimum, could someone point me in the direction of any resources?

View 5 Replies View Related

Setting Up VPS Environment

Oct 5, 2009

I bought brand new server (2x i7 (8cores), 12GB DDR3, 4x1TB HDD etc...)

Well basically i want to divide my server into few VPS, so how can i start, which virtualization to use etc...

View 6 Replies View Related

Your Server Environment

Mar 30, 2008

what others are doing within their hosting environment in which they are providing servers to their customers, either dedicated or shared. Do you build custom servers, use desktops or buy name brand like Dell, HP or IBM. I am curious as to why you take what approach you do. How large is your environment as far as servers go and how many customers you have.

Secondly are you currently taking advantage of virtualization technologies within your server environment. If so for what main purpose? Consolidation of server sprawl, availability, reduced hardware costs, heating/cooling, floor space, etc.

View 1 Replies View Related

Hybrid Environment

Jul 25, 2007

I am still in a thinking stage and will like to learn from your experience, and was wondering if any of you folks have a hybrid environment i.e. Linux and Proprietary systems and what kind of issues do you run into. And also, what pieces of technology you have - which are open source and which ones you have are proprietary and any changes you anticipate 1 year out.

View 1 Replies View Related

Grid Environment

Sep 27, 2007

I have 4 of these xeon servers, i want to setup a grid environment...

View 6 Replies View Related

R1Soft In A Virtualized Environment

Mar 1, 2009

Anyone have any experience using R1Soft in a virtualized environment as the VPS provider rather than the VPS user?

I'm wanting to offer some solid bare metal backup. It is generally difficult to do sound backup procedures in dom0, since can sometimes suffer file corruption when backing up running domUs from outside of them, and I use LVM drives rather than disk images.

I've always heard backing up from inside domU is best.

R1Soft is an obvious option but the pricing seems quite high and I'm wondering what kind of CPU/disk usage impact it could have. Say you just have 16 virtual servers per box (2 per core)... that is 16 instances running, and ~$2400 just in licenses alone.

Anyone have any experience doing backups/CDP in a virtualized environment? You using R1Soft or something else? Inside domU or out?

I wish R1Soft offered monthly pricing, since then the upfront investment per customer isn't nearly as much.

View 3 Replies View Related

A Perfect LAMP Environment

Feb 15, 2008

I'm in the process of trying to document a process for setting up any new LAMP servers in our hosting environment and I was wondering if anyone had any input on software and best practices that they use in their environment and why. I.E.

PHP setup
Apache setup
Preferred Linux Distro
FTP program used
User creation guidelines
Default php.ini settings
Default site settings
etc.

View 2 Replies View Related

Proxmox Virtual Environment

Aug 10, 2008

Just find this piece of application, have any one tried and would like to share experience?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved