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


ADVERTISEMENT

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

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

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

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 View Related

Turn Off Open_basedir

Mar 31, 2008

How can I turn off open_basedir completely from within .htaccess?

I'm finding conflicting advice on how this can be done, or even if it can.

View 13 Replies View Related

How To Turn On Hyperthreading

Feb 24, 2007

I have a pentium4 2.8 HT server.

However, HT was turned off at some point due to various reasons ( not by me).

how to turn HT back on in SSH?

View 9 Replies View Related

Big Turn Offs

Dec 31, 2007

I've just gotten a job at a newer webhosting company. I myself have personal pet pieves regarding webhosts. I want to know what turns you off a host the most. For me its Customer Service, Overselling and slow server/support response time.

View 9 Replies View Related

Can't Turn Off Logging Of PHP Notices

Apr 29, 2008

Running Apache 2.2.2 and PHP 5.2.5, and my error_logs are filling up with PHP notices. I'd like to turn this feature off, but I must be missing something here. I've edited the php.ini and set error_reporting = E_ALL & ~E_NOTICE, and reloaded apache, but I still get the same php notices over and over again in the httpd error log.

View 1 Replies View Related

Can I Turn Off Mod_evasive In .htaccess

Jul 30, 2007

Can I turn off mod_evasive in .htaccess or does it have to be done server wide only in httpd.conf?

Or if not, is there a way I can exclude a specific account from it?

View 1 Replies View Related

Turn Off Session Expiration On IIS 6.0

Jun 13, 2007

I have a website where people perform a number of tasks, saving some data to temporary session files. If the user is idle for a certain amount of time, then performs an action, his/her work will be gone.

I'd like to set the sessions to never expire, so that only a browser close would delete the temporary files.

I've tried looking around in the IIS manager, but I cannot find a way to do this.

View 7 Replies View Related

To Turn On My Auto-responder

May 18, 2007

My webhost's autoresponder does not keep track of who it has auto-responded to. Hence it will auto-respond back to the same person twice.

Some emailer might send me an email (most likely spam) and I would auto-respond. But that emailer also has a dumb auto-responder and response back to me. I would auto-respond back; it would auto-respsond back forever.

I'm afraid to turn on an "Out-of Office" auto-responder because if that happens, I would have a billizion emails in my inbox upon my return.

Is there a smart auto-responder that tracks who it has responded to and auto-repsonds to the same person only once?

View 4 Replies View Related

Turn On Register Globals In Php.ini

Jan 24, 2007

Does anyone know how to turn On Register Globals in a php.ini file? I think I can only edit the file using ssh...

View 4 Replies View Related

Can I Turn Off Email For A Domain

Nov 13, 2007

Is it possible to make it so that a domain can not send email?

I have a security issue on an old domain that I need to keep active but I do not want any application to have the ability to send ANY emails at all.

View 2 Replies View Related

Unable To Turn Of Register_globals In Dreamhost

Feb 15, 2007

Dreamhost accounts have PHP register_globals turned on by default. I tried to override that and have register_globals turned off by putting this line

register_globals = Off
in a php.ini file placed at the web root. But phpinfo() still shows register_global as on. How do I turn off register_globals in Dreamhost?

View 4 Replies View Related

How Do I Turn Off AMD's Cool&Quiet Feature

Jul 4, 2009

I want to turn off my amd server's Cool & Quiet feature. How to do this?

View 8 Replies View Related

Turn Off Flow Control On CentOS

Jan 27, 2008

I am trying this

ethtool -A eth0 RX off

Dmesg result after that shows RX control is off already. However, after rebooting server, the RX control is ON again. How to keep it OFF?

View 1 Replies View Related

Turn On Register Globals For An Account

May 13, 2008

Server version: Apache/2.2.8 compiled by latest stable easyapache3

Default PHP Version (.php files) 5
PHP 5 Handler cgi
PHP 4 Handler none
Suexec on

Selected php5 handler to be CGI through WHM . Did not choose mod_suphp while compilation.

I have set register_globals off server-wide through WHMs php configuration editor. Now need to activate it for one account. I have tried :

# creating php.ini file at the required folder with register_globals on
# adding several combinations php_flag, php_admin_value, php_value etc with register_globals as seen from several posts here at the .htaccess file at the required folder.
# adding it to httpd.conf

Every time, the phpinfo page shows the loaded configuration file as /usr/local/lib/php.ini and register_globals is Off.

View 3 Replies View Related

Would You Turn Off Dedicated Server Without Notice

Oct 5, 2008

I am in the process of fighting a Hosting company on a dedicated server. It was turned off without notice a couple of months ago. They said I had not paid last years bill for this server (10 months ago). When I sent them the paypal confirmation number from last year finally they agreeed but said I owed an inflated 2008-2009 bill. The first bill I got was when the server was suspended. The bill increased over 20%. In order to get my clients back online I paid the increased bill but sent the initial price guarantee and asked for a refund of the difference. What I got was a half apology and the double talk below. I switched hosting companies and asked for a pro-rated refund and even though the server is paid up until Sept 2009 they have suspended the server. I am going to leave the hosting companies name out.

"Dear Mark,

As explained by Tom, the amount you paid is the amount that was due.

Since you originally purchased your server, our costs have risen by approximately 46%. The increase in price for your server only represents approximately 16%. While in the past, we have been able to absorb price increases and not pass them along, unfortunately, on this occasion we had no choice but to pass along part of the increase - the increase applied is just over half the increase we have personally seen since the start of this year. We have been able to keep the increase low through additional cost savings and reducing our profit margins, but, there is a limit to that and we unfortunately hit with the latest increase we've been hit with.

The issue with your server earlier this month was due to human error. We do not have any due invoices from 2007 (any unpaid would have been passed to collections), and as we are human, have gotten into the habit of simply looking at the day and month. One of my billing staff members alerted me that your invoice was overdue, believing it was a 2008 invoice due 1st August 2008 and requested that I authorise a disconnection. I then looked at it and also missed the 2007 date. Tom unfortunately does not have full access to billing details and cannot correct (nor view) errors such as that.

In terms of the invoicing - the system expected a recurring payment, through the Paypal subscription, to occur automatically and this is why no invoice was generated. As your invoice last year was manually paid, there was no subscription to update and pay. As a result, I had to manually update your account to reflect the payment details and manually generate the invoice. The invoice in your account when you paid the invoice correctly reflected the $1274.20 value. One of the emails quoted above, which should have been received after the emailed invoice, stated "generated the correct invoice for the 2008 to 2009 billing period.". I am sorry if that wasn't clear enough.

View 14 Replies View Related

LEGAL ISSUE: Which Host To Turn To

Mar 30, 2008

im running a site where users can submit their comic books excerpts or works.

but sometimes there are users that upload copyrighted works.

how to deal with this problem? I have the DMCA legal notice that I copied from other websites and fixed it to suit mine.

I remove any copyrighted material upon request.

I cannot monitor all posting 24/7.

so which hosting, location(us, amsterdam, netherlands?), and other precuations should i take ? is it okay to copy legal stuff from other similar site and change around the wording to fit my site?

View 14 Replies View Related

Turn Off Back Connect From Web Server

Aug 7, 2008

How Can I Blocks back connect from web server

The server is with visiteur connection

I try Every Firewall

what is the best way?

View 0 Replies View Related

My Email Server And Roadrunner - Where To Turn

May 11, 2007

i run a very small hosting company (about a dozen clients) on a windows 2003 server with Helm and the latest version of Smartermail (www.smartertools.com) for my email server.

overall it works well but i have been experiencing problems lately when users on my email server try to send email to users at roadrunner (@nycap.rr.com). the messages always get delivered but sometimes they take hours to get delivered.

when i look in my mail server logs i keep seeing:
"RSP: 421 #4.4.5 Too many connections to this host.
CMD: QUIT"

so basically the message gets rejected by the roadrunner mail server and then when the server tries again to send the message it goes through. although sometimes it takes several attempts.

i have gone back and forth with roadrunner about this. according to their pages it looks like i am being affected by their inbound rate limiting policy but they SWEAR that there is nothing on their end preventing me from getting my messages through to their server. i have tried calling them, and emailing them at several different numbers and addresses and they all give me some BS answer.

my clients are really unhappy with the fact that their messages sometimes take hours to deliver, and i really don't know where to turn to get this resolved.

i don't have this problem sending messages to any other provider or domain, just roadrunner and unfortunately most of my clients communicate regularly with roadrunner users.

View 4 Replies View Related

Turn Off Web Server (Apache) Permanently

Mar 30, 2015

I am using nginx exclusively for my websites/php stuff and I do not need apache anymore. I want to switch off Web Server (Apache) service permanently (see screenshot 1). But somehow or something turns it always back on. I am getting a lot of apache memory warnings lately. I just want to turn it off.

View 4 Replies View Related







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