at the moment
prefork
timeout 60
Keepalive on
MaxKeepAliveRequests 150
KeepAliveTimeout 10
StartServers 20
MinSpareServers 25
MaxSpareServers 55
ServerLimit 4000
MaxClients 500
MaxRequestsPerChild 2000
The server is just a website joomla
With special thanks
It takes time to be loaded pages
And CPU usage is high
Currently our Apache log files are huge, I want to put say a month's time limit on this, then when it hits the end of the month I would like it to start over writing.
Does anyone know where the config file is for this and what its called? I also want to do exactly the same on wtmp config (who... (1 Reply)
I need help doing two things in my Apache Config....
1) Creating a Referer log where only domains other than my own (or a list I specify) are logged
...and...
2) I want to replace images loaded from my site, on other sites, it a standard RED "stolen" image. I currently have code in place... (2 Replies)
I want to build a little website on a Sun Blade 100 running Solaris 10.
I just went out to apache.org and downloaded Unix Source: httpd-2.2.8.tar.gz
After unpacking the tarball, I CD'd into the subdirectory and ran the configure utility. Of course, it crapped out. I see that it is... (17 Replies)
okay i'm going to try to say this uber-simple:
I use dropbox (file-sync service). in order for dropbox sync files, they must be its children eg. somewhere under /home/jzacsh/Dropbox].
I want to now use it to keep my development files in sync across my machines:
easy: just move my dev. files... (2 Replies)
Hi there, am trying to parse an Apache 'server' config file. A snippet of the config file is shown below:
.....
ProxyPassReverse /foo http://foo.example.com/bar
.....
.....
RewriteRule ^/(.*) http://www.example.com/$1
RewriteRule /redirect https://www.example1.com/$1
........ (7 Replies)
Hi Gurus
I am a newbie in Apache.
I want to configure Apache Web server(A for reference) to receive all requests on Port-843 to be redirected to another Apache web server(B) and access a crossdomain.xml(located in /var/www/html) file there.
I have put the following entries in... (0 Replies)
I am attempting to control redirections on my site using the Apache vhosts config.
I have two-letter regions setup, such as /fr, /de, /es, which I am currently ignoring as you will see from my vhosts file below. However I also have a 301 permanent redirect setup to redirect /cm (and /fr/cm,... (3 Replies)
Hi folks,
I am trying to configure Apache webserver and also a virtual host inside this webserver.
For Global server config: /var/www/html/index.html
For virtual host config: /var/www/virtual/index.html
Both client10 & www10 are pointing to 192.168.122.10 IP address.
BUT, MY... (1 Reply)
Hi Folks,
I am running a website and that needs to be tightened with security in terms of hacking... Whereas, In my URL, when i click on certain links the entire link as contains some words like below:/control_panel
/controlpanel
/admin
/cms
Whereas, i need to block those words in apache... (1 Reply)
Discussion started by: gsiva
1 Replies
LEARN ABOUT PHP
apache_child_terminate
APACHE_CHILD_TERMINATE(3) 1 APACHE_CHILD_TERMINATE(3)apache_child_terminate - Terminate apache process after this requestSYNOPSIS
bool apache_child_terminate (void )
DESCRIPTION apache_child_terminate(3) will register the Apache process executing the current PHP request for termination once execution of PHP code is
completed. It may be used to terminate a process after a script with high memory consumption has been run as memory will usually only be
freed internally but not given back to the operating system.
RETURN VALUES
Returns TRUE if PHP is running as an Apache 1 module, the Apache version is non-multithreaded, and the child_terminate PHP directive is
enabled (disabled by default). If these conditions are not met, FALSE is returned and an error of level E_WARNING is generated.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.4.0 | |
| | |
| | This function became available under FastCGI. |
| | Previously, it was supported only when PHP was |
| | installed as an Apache module. |
| | |
+--------+---------------------------------------------------+
NOTES
Note
This function is not implemented on Windows platforms.
SEE ALSO exit(3).
PHP Documentation Group APACHE_CHILD_TERMINATE(3)