Performance: Apache 2 Prefork Vs Apache 1.3

Jan 12, 2008

I'm building a new server for a predominantly php5/mysql5 website and was wondering which version of apache to put on. I know there are some issues with PHP and Apache in MPM, but what's the performance comparison between Apache 1.3 and Apache 2 Prefork?

View 4 Replies


Strange Apache Prefork

Jun 2, 2008

I've got a few machines where Apache acts really strange and curious if anyone has any suggestions. I'd love to figure this out so it can actually be deployed to a larger amount of machines and not just test instances.

- Basic Information
Apache 2.2.8 (Tried a few 2.2 versions)
PHP 5.2.6
suPHP based

Prefork Based
- Once a day at a random time Apache fails a request from remote monitoring. It comes back within a minute however is is inaccessible for that time. It sometimes gets picked up by 5 minute monitoring on the machine itself and it restarts the service obviously.

- PHP scripts fail to be killed at times resulting in memory being used. They need to be killed in order to go away.

Worker Based
- Apache can stay up forever it does not fail any requests

- PHP scripts do not get killed at a more frequent basis than in prefork. You need to `kill -9 pid` in order to get rid of the php processes.

I read about very few issues with 2.2 so I'm quite confused by this.

View 5 Replies View Related

Apache 2 - Mpm Worker Or Prefork

May 17, 2008

I'm using CPanel with Apache 2.2.x, php5 with suphp.

My server use multi processor:

Dual Quad Core E5405 with 8GB RAM.
I should use mpm worker or prefork and what's best config for? (i hosted over 200 domains)

I tried to Google about my question, someone say mpm worker is better, someone say mpm prefork is better. I dont know what's exactly. Can you advise me something?

View 2 Replies View Related

Apache Compiled As MPM Prefork Is That Recommended

Jul 31, 2009

I am really not familiar with MPM prefork. Should apache use MPM prefork or is there a better alternative? If yes, what would that be and how to use that alternative?

View 2 Replies View Related

Apache Performance

Jun 14, 2008

my server load is max 1,it wont cross more than 1 but for 2 days iam getting 20 or more,but this load is extents for 1 or 2 min only after that it become normal to 0.58 around 1,in top i can able to see lotz apachi process when the load increase,

View 3 Replies View Related

Performance Deciding On Apache Modules To Use

Jul 30, 2008

what modules I should use in my httpd.conf file. Here's the modules that I currently have enabled / disabled. The site is running specifically off PHP. There is no need for CGI, ASP, or any other languages (to my knowledge). The negotiation module is enabled,. It does not need to be to my knowledge.

However, when I disabled it Apache would not restart. Could someone give some details as to which directives need to be disabled for negotiation to be disabled. Also, does anyone know if negotiation is essential. It is not to my knowledge. Suggestions and comments are much appreciated. Thank you in advance for your hard work and experience being as it's not costing me anything. I will do my best to return the favor.

LoadModule access_module modules/
LoadModule auth_module modules/
LoadModule auth_anon_module modules/
LoadModule auth_dbm_module modules/
LoadModule auth_digest_module modules/
LoadModule ldap_module modules/
LoadModule auth_ldap_module modules/
# LoadModule include_module modules/
LoadModule log_config_module modules/
LoadModule env_module modules/
LoadModule mime_magic_module modules/
LoadModule cern_meta_module modules/
LoadModule expires_module modules/
LoadModule deflate_module modules/
LoadModule headers_module modules/
LoadModule usertrack_module modules/
LoadModule setenvif_module modules/
LoadModule mime_module modules/
LoadModule dav_module modules/
LoadModule status_module modules/
LoadModule autoindex_module modules/
LoadModule asis_module modules/
LoadModule info_module modules/
LoadModule dav_fs_module modules/
LoadModule vhost_alias_module modules/
LoadModule negotiation_module modules/
LoadModule dir_module modules/
LoadModule imap_module modules/
LoadModule actions_module modules/
LoadModule speling_module modules/
# LoadModule userdir_module modules/
LoadModule alias_module modules/
LoadModule rewrite_module modules/
LoadModule proxy_module modules/
LoadModule proxy_ftp_module modules/
LoadModule proxy_http_module modules/
LoadModule proxy_connect_module modules/
LoadModule cache_module modules/
LoadModule suexec_module modules/
LoadModule disk_cache_module modules/
LoadModule file_cache_module modules/
LoadModule mem_cache_module modules/
# LoadModule cgi_module modules/
LoadModule logio_module /usr/lib/httpd/modules/

View 0 Replies View Related

Apache :: CentOS - Measuring Performance Of Server

Feb 25, 2015

I have centos -7 and apache 2.4.6. I have made one small php scripts and measuring the performance of server.

Average time is around 15 ms for per request. But when adding concurrent requests the average time increase too much high for the request see the below output

ab -n 10000

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 14 17 2.6 15 35
Waiting: 0 1 0.2 1 10
Total: 14 17 2.6 15 35

With Concurrent connections

ab -n 1000 -c 100 See the processing the mean request time its around 150 ms.

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.1 0 5
Processing: 25 150 24.7 153 213
Waiting: 2 134 25.2 138 194
Total: 29 150 24.1 153 216

ab -n 1000 -c 100 See the processing the mean request time its around 150 ms when total request is 1000 only.

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.1 0 5
Processing: 25 150 24.7 153 213
Waiting: 2 134 25.2 138 194
Total: 29 150 24.1 153 216

How to configure the Apache so the request time decreas to low ms ???

In Centos -7 Default configuration of MPM Directory also not found ??? checked in httpd.conf and other file also.

View 1 Replies View Related

How Big Can Apache Access Log File Be Withouth Degrading The Performance Of A VPS

Nov 18, 2007

How big can Apache access log file be withouth degrading the performance of a solid VPS solution with 764MB RAM?

I want to have it as big as it gets withouth seriously degrading the performance...

View 1 Replies View Related

How Big Can Apache Access Log File Be Withouth Degrading The Performance Of A VPS

Nov 18, 2007

How big can Apache access log file be withouth degrading the performance of a solid VPS solution with 764MB dedicated RAM?

I want to have it as big as it gets withouth seriously degrading the performance...

View 3 Replies View Related

Apache :: Enabling Output Buffering And Zlib / How To Check Performance

May 22, 2014

Should I enable output buffering and zlib compression in PHP configuration editor to increase performance?

In global php.ini I have:

output_buffering = Off
;output_handler =
zlib.output_compression = Off
;zlib.output_handler =

View 1 Replies View Related

Apache :: Capturing Internal Apache Errors Return Custom HTTP Status

Nov 15, 2013

Server Version: Apache/2.2.22 (Unix)

On our production service, we've been getting numerous malformed POST requests to some of our CGI scripts that are showing up as 500 errors in our logs. They are malformed in the sense that the actual content length doesn't match the Content-Length specified in the request.

Here's the most trivial example I can come up with that reproduces the problem for us:

POST /some_valid_alias HTTP/1.1
User-Agent: Arbitrary/1.0
Content-Type: multipart/form-data; boundary=---------------------------41184676334
Content-Length: 769

In addition to the 500 error in the access log, we see the corresponding error in the error log:

(70014)End of file found: Error reading request entity data

Based on the nature of the POST request and the error response, it does appear that Apache is doing the right thing here.

The POST never actually makes it as far as the script being targeted (/some_valid_alias in the above example); in other words, Apache returns 500 to the client, writes the error to the error log and never executes the script.

Is there a way to capture/avoid internal Apache errors like 70014, and return some other HTTP status besides 500 (like 403)? It's particularly annoying in our case, because our server sends us an email for all 500 errors.

So far, our best "defense" against these 500 errors is to disallow POST for these aliases, which normally just ignore the POST data anyway (when the request is not malformed):

RewriteRule ^/(some_valid_alias)(.*)$ $1$2 [R]

But this won't work for all our scripts, because in some cases we do want to permit POST.

View 2 Replies View Related

Apache Procs Constantly Rise, Until Apache Is Restarted

Jul 23, 2007

I've had this problem a long time now with my hosting network and decided to ask here hoping I get some good solutions, or if someone is willing to looking at this (I'll pay if they want).

Here's what I mean:

Problem is as you can see apache processes constantly rise infinitely, at least until I restart apache (/etc/init.d/httpd restart). The point of restart is shown in red lines.

And after restart, it goes down again for X amount of hours then eventually rises again infinitely until it's restarted again.

But the fact that after restart it remains down, it means it had the potential to be down all along.

So my question is: what could be causing this and does anyone have solution to keep them low at all times (as per graphs)?

View 14 Replies View Related

MPM Prefork

Mar 13, 2008

I recompiled apache on my server but i never checked the "mpm prefork (recommended by apache)" option. So a few days ago I ask a server admin about if i needed that or not? I told him to go ahead and recompile it in there. So today I checked apache logs and got these

ar 12 20:13:51 host kernel: httpd[6806]: segfault at 000000000000000f rip 0000002a9a56287e rsp 0000007fbffff090 error 4
Mar 12 20:13:58 host kernel: httpd[6861]: segfault at 000000000000000f rip 0000002a9a56287e rsp 0000007fbffff0a0 error 4
Mar 12 20:14:03 host kernel: httpd[6804]: segfault at 000000000000000f rip 0000002a9a56287e rsp 0000007fbffff090 error 4
Mar 12 20:14:08 host kernel: httpd[6890]: segfault at 000000000000000f rip 0000002a9a56287e rsp 0000007fbffff0a0 error 4
Mar 12 20:14:12 host kernel: httpd[6776]: segfault at 000000000000000f rip 0000002a9a56287e rsp 0000007fbffff0a0 error 4
Mar 12 20:14:14 host kernel: httpd[6923]: segfault at 000000000000000f rip 0000002a9a56287e rsp 0000007fbffff090 error 4
Mar 12 20:14:57 host kernel: httpd[6955]: segfault at 000000000000000f rip 0000002a9a56287e rsp 0000007fbffff0a0 error 4

Is this related to the MPM prefork? Do you even need to check that box (mpm) to do settings like maxclient, maxchildprocess etc etc?

I did my own googling of the problem I some said it was because of php and/or hardware (ram). But that server admin guy says it's most likely the mpm prefork. Anyone have thoughts about this?

View 7 Replies View Related

Increasing The Apache ServerLimit In Apache 2.2.8 Version.

May 28, 2008

The Linux Server got down when the MaxClients 256 is reached.
Error Log:

"server reached MaxClients setting, consider raising the MaxClients setting"

So that I have tried to increased the MaxClients Value to 500, after changed the value in httpd.conf and restart I get following error message.

" [notice] SIGHUP received. Attempting to restart
WARNING: MaxClients of 500 exceeds ServerLimit value of 256 servers,
lowering MaxClients to 256. To increase, please see the ServerLimit

So that I tried changed the Server limit in /usr/local/apache/include/httpd.h header file. but it seems like there is no entry.

Apache Version : 2.2.8

So I have added the ServerLimit 500 entry in httpd.conf file and restart the httpd service. But still shows the same warning mesg. Please help me regarding this.

We have the Dedicated server for Flash Game Server with following configuration.

Intel(R) Xeon(R) X3210 @ 2.13GHz
Cpanel Installed.
Apache 2.2.8
PHP 5.2.4
MySQL 4.1.2 (MySQL Server is working in differend server)

View 7 Replies View Related

.htaccess Issue With Apache 1.3, But Works On Apache 2.2

Mar 22, 2008

I have the following Apache redirect code in .htaccess:

RewriteRule ^sap-latest-news/([0-9]*)/([A-Za-z0-9_-.]*).htm$ /$1 [L]

This redirect works fine on Apache 2.2.8, but doesn't work on Apache 1.3.41

The following is the entry from error_log:
RewriteRule: cannot compile regular expression '^sap-latest-news/([0-9]*)/([A-Za-z0-9_-.]*).htm$'

A simple Rewrite is working fine in Apache 1.3, but the above regualar expression doesn't seem to be working on Apache 1.3. Does anyone know whether Apache 1.3 doesn't support it?

View 3 Replies View Related

Installed Apache And PHP Only Seeing Default Apache Page

Jun 1, 2007

I am having an issue where I have a server that Directadmin is installed on. I go to the a url that is on the server and all i see is the default page of apache saying congrats, it is installed. Although there is no file like that in the public_html any longer and I can see my files in the public_html folder of that specific site.

View 6 Replies View Related


Jan 4, 2007

I'm using Plesk 8.1 on Server AMD Athon 3400, 1GB RAM. Something wrong on my server, but i don't now, how to fix it. Average load is normal, but by Task, for sometime are going up to over 250 and in this time can't anybody connect to server ( HTTP or FTP ).

By top command, i founded most of cpu press by user wwwrun, so run this command top -u wwwrun, here is result :


Tasks: 148 total, 1 running, 143 sleeping, 0 stopped, 4 zombie
Cpu(s): 19.7% us, 1.7% sy, 0.0% ni, 76.0% id, 2.0% wa, 0.3% hi, 0.3% si
Mem: 1034860k total, 980204k used, 54656k free, 8252k buffers
Swap: 2104496k total, 149556k used, 1954940k free, 588824k cached
4282 wwwrun 16 0 49436 10m 4008 S 7.0 1.1 0:00.32 httpd2-prefork
4227 wwwrun 16 0 50792 11m 4372 S 4.6 1.1 0:00.52 httpd2-prefork
4908 wwwrun 16 0 51520 11m 4332 S 1.7 1.2 0:00.51 httpd2-prefork
5031 wwwrun 16 0 47752 8604 3552 S 1.3 0.8 0:00.07 httpd2-prefork
3613 wwwrun 15 0 49772 11m 4048 S 0.7 1.1 0:00.87 httpd2-prefork
3752 wwwrun 16 0 49808 11m 4140 S 0.7 1.2 0:01.41 httpd2-prefork
4860 wwwrun 16 0 46720 8040 3692 S 0.7 0.8 0:00.07 httpd2-prefork
4947 wwwrun 15 0 50448 11m 4036 S 0.7 1.2 0:00.69 httpd2-prefork
4995 wwwrun 15 0 46140 7592 3724 S 0.3 0.7 0:00.08 httpd2-prefork
22006 wwwrun 16 0 51808 5668 3836 S 0.0 0.5 0:00.32 httpd2-prefork
3710 wwwrun 16 0 51780 13m 4060 S 0.0 1.3 0:01.79 httpd2-prefork
4006 wwwrun 16 0 46516 7900 3716 S 0.0 0.8 0:00.08 httpd2-prefork
4090 wwwrun 16 0 48532 10m 3980 S 0.0 1.0 0:00.23 httpd2-prefork
4150 wwwrun 16 0 48396 9.9m 3876 S 0.0 1.0 0:00.12 httpd2-prefork
4189 wwwrun 16 0 49356 10m 3892 S 0.0 1.1 0:00.23 httpd2-prefork
4194 wwwrun 16 0 54396 15m 4844 S 0.0 1.5 0:01.95 httpd2-prefork
4195 wwwrun 15 0 49528 10m 3952 S 0.0 1.1 0:00.14 httpd2-prefork

Here is ps ax result :


1 ? S 0:01 init [3]
2 ? SN 0:00 [ksoftirqd/0]
3 ? S< 0:00 [events/0]
4 ? S< 0:00 [khelper]
5 ? S< 0:00 [kthread]
11 ? S< 0:00 [kacpid]
579 ? S< 0:02 [kblockd/0]
617 ? S 0:00 [pdflush]
618 ? S 0:00 [pdflush]
620 ? S< 0:00 [aio/0]
619 ? S 7:29 [kswapd0]
1213 ? S< 0:00 [kseriod]
1357 ? S< 0:00 [ata/0]
1469 ? S 0:03 [md1_raid1]
1470 ? S 0:00 [md0_raid1]
1479 ? S 0:05 [kjournald]
2387 ? S<s 0:00 /sbin/udevd --daemon --stop-exec-queue
2704 ? S< 0:00 [khubd]
2683 ? S 0:00 [shpchpd_event]
4239 ? Ss 0:00 /usr/bin/dbus-daemon --system
4754 ? Ss 0:00 /sbin/dhcpcd -C -H -D -N -t 999999 -h h850561 -c /etc
4953 ? Ss 0:00 /sbin/syslog-ng
4956 ? Ss 0:00 /sbin/klogd -c 1 -x -x
4981 ? Ss 0:00 /usr/sbin/acpid
4997 ? S 0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrl
4999 ? S 0:00 /usr/sbin/courierlogger imapd
5008 ? S 0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrl
5010 ? S 0:00 /usr/sbin/courierlogger imapd-ssl
5017 ? S 0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrl
5022 ? S 0:00 /usr/sbin/courierlogger pop3d
5027 ? S 0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrl
5030 ? S 0:00 /usr/sbin/courierlogger pop3d-ssl
5202 ? Ss 0:00 /usr/sbin/xinetd
5205 ? Ss 0:00 /usr/sbin/sshd -o PidFile=/var/run/
5253 ? SLs 0:00 /usr/sbin/ntpd -p /var/lib/ntp/var/run/ntp/ -
5282 ? Ssl 0:01 /usr/sbin/nscd
5387 ? Ssl 0:06 /usr/sbin/named -t /var/lib/named -u named
5476 ? S 0:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=
5512 ? Sl 172:03 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/my
5621 ? S 0:00 /usr/bin/postmaster -D /var/lib/pgsql/data
5623 ? S 0:00 postgres: writer process
5624 ? S 0:00 postgres: stats buffer process
5625 ? S 0:00 postgres: stats collector process
5674 ? Ss 0:01 /usr/sbin/spamd --username=popuser --daemonize --nous
5705 ? S 0:00 spamd child
5706 ? S 0:00 spamd child
5767 ? Ss 0:08 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5826 ? Ss 0:00 /usr/local/psa/admin/bin/httpsd
5830 ? S 0:10 /usr/local/psa/admin/bin/httpsd
5902 ? Ss 0:00 /usr/sbin/cron
5911 ? S 0:00 /sbin/mdadm -F /dev/md0 /dev/md1 -d 60 -m root@localh
5942 ? Ss 0:00 /usr/sbin/hald --daemon=yes --retain-privileges
5954 ? S 0:00 hald-addon-acpi
6003 ? S 0:00 /usr/sbin/powersaved -d -f /var/run/acpid.socket -v 3
6012 tty1 Ss+ 0:00 /sbin/mingetty --noclear tty1
6013 ttyS0 Ss+ 0:00 /sbin/agetty -L 57600 ttyS0
6023 ? S 0:11 /usr/local/psa/admin/bin/httpsd
14172 ? Sl 0:08 /usr/java/j2sdk1.4.2/bin/java -Djava.endorsed.dirs=/u
15676 ? S 0:00 qmail-send
15677 ? S 0:00 splogger qmail
15678 ? S 0:00 qmail-lspawn ./Maildir/
15680 ? S 0:00 qmail-rspawn
15681 ? S 0:00 qmail-clean
15812 ? Ss 0:07 /opt/drweb/drwebd -ini=/etc/drweb/drweb32.ini
21535 ? Z 0:00 [drwebd] <defunct>
21536 ? Z 0:00 [drwebd] <defunct>
21537 ? Z 0:00 [drwebd] <defunct>
21538 ? Z 0:00 [drwebd] <defunct>
22006 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
2544 ? Ss 0:00 sshd: root@pts/0
2592 pts/0 Ss 0:00 -bash
3573 ? Ss 0:00 sshd: root@notty
3587 ? Ss 0:00 /usr/lib/ssh/sftp-server
3613 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4006 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4090 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4195 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4494 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4497 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4508 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4696 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4735 ? Z 0:00 [httpd2-prefork] <defunct>
4743 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4760 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4761 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4775 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4860 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4882 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4903 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4904 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4921 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4923 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4930 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
4947 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5024 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5025 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5035 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5104 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5137 ? S 0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5143 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5146 ? S 0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5148 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5159 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5172 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5182 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5190 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5195 ? S 0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5196 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5197 ? S 0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5246 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5254 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5255 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5262 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5324 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5331 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5333 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5336 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5337 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5378 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5394 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5432 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5438 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5503 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5508 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5570 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5574 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5575 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5593 ? S 0:00 /opt/drweb/drwebd -ini=/etc/drweb/drweb32.ini
5594 ? S 0:00 /opt/drweb/drwebd -ini=/etc/drweb/drweb32.ini
5595 ? S 0:00 /opt/drweb/drwebd -ini=/etc/drweb/drweb32.ini
5596 ? S 0:00 /opt/drweb/drwebd -ini=/etc/drweb/drweb32.ini
5600 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5605 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5606 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5611 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5612 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5613 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5614 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
5642 pts/0 R+ 0:00 ps ax

View 0 Replies View Related

Downgrade CentOS 5's Apache 2 To Apache 1.3

Jan 3, 2008

I've been searching around with google regarding how to downgrade the Apache 2.2 which comes with CentOS 5 to Apache 1.3.39.

View 2 Replies View Related

Can Not Compile Htppd Apache Because Of Apache APR

Aug 6, 2008

I am trying to install dedicated web server on my Slackware 12.0.0 machine. I am a novice in Linux, but succeeded in MySQL & proFTPd installation. The problem now in httpd compiling.

I downloaded the latest Apache 2.2.9, but it needs Apache Portable Runtime 1.3.2 installed. I downloaded 1.3.2 version and run ./configure

1. checking size of size_t... 4
2. checking which format to use for apr_size_t... %u
3. checking size of off_t... 4
4. checking for mmap64... yes
5. checking for sendfile64... yes
6. checking for sendfilev64... no
7. checking for mkstemp64... yes
8. checking for readdir64_r... yes
9. checking which type to use for apr_off_t... off64_t
10. checking whether ino_t and unsigned long are the same... yes
11. configure: using unsigned long for ino_t
12. checking size of pid_t... 4
13. checking whether byte ordering is bigendian... no
14. checking size of struct iovec... 8
15. checking for strnicmp... no
16. checking for strncasecmp... yes
17. checking for stricmp... no
18. checking for strcasecmp... yes
19. checking for strdup... yes
20. checking for strstr... yes
21. checking for memchr... yes
22. checking for strtoll... yes
24. Checking for DSO...
25. checking for dlopen... no
26. checking for dlopen in -ldl... yes
27. adding "-ldl" to LIBS
28. checking for dlsym... yes
30. Checking for Processes...
31. checking for waitpid... yes
32. checking for Variable Length Arrays... yes
33. checking struct rlimit... yes
35. Checking for Locking...
36. checking for semget... yes
37. checking for semctl... yes
38. checking for flock... yes
39. checking for semaphore.h... (cached) yes
40. checking OS.h usability... no
41. checking OS.h presence... no
42. checking for OS.h... no
43. checking for library containing sem_open... none required
44. checking for sem_close... yes
45. checking for sem_unlink... yes
46. checking for sem_post... yes
47. checking for sem_wait... yes
48. checking for create_sem... no
49. checking for working sem_open... yes
50. checking for union semun in sys/sem.h... no
51. checking for LOCK_EX in sys/file.h... yes
52. checking for F_SETLK in fcntl.h... yes
53. checking for SEM_UNDO in sys/sem.h... yes
54. checking for POLLIN in poll.h sys/poll.h... yes
55. checking for PTHREAD_PROCESS_SHARED in pthread.h... yes
56. checking for pthread_mutexattr_setpshared... yes
57. checking for working PROCESS_SHARED locks... yes
58. checking for robust cross-process mutex support... yes
59. decision on apr_lock implementation method... SysV IPC semget()
60. checking if all interprocess locks affect threads... no
61. checking if POSIX sems affect threads in the same process... no
62. checking if SysV sems affect threads in the same process... no
63. checking if fcntl locks affect threads in the same process... no
64. checking if flock locks affect threads in the same process... no
65. checking for entropy source... /dev/urandom
67. Checking for File Info Support...
68. checking for struct stat.st_blocks... yes
69. checking for struct stat.st_atimensec... no
70. checking for struct stat.st_ctimensec... no
71. checking for struct stat.st_mtimensec... no
72. checking for struct stat.st_atim.tv_nsec... yes
73. checking for struct stat.st_ctim.tv_nsec... yes
74. checking for struct stat.st_mtim.tv_nsec... yes
75. checking for struct stat.st_atime_n... no
76. checking for struct stat.st_ctime_n... no
77. checking for struct stat.st_mtime_n... no
78. checking for inode member of struct dirent... d_fileno
79. checking for file type member of struct dirent... d_type
81. Checking for OS UUID Support...
82. checking uuid.h usability... no
83. checking uuid.h presence... no
84. checking for uuid.h... no
85. checking uuid/uuid.h usability... yes
86. checking uuid/uuid.h presence... yes
87. checking for uuid/uuid.h... yes
88. checking for library containing uuid_create... no
89. checking for library containing uuid_generate... -luuid
90. checking for uuid_create... no
91. checking for uuid_generate... yes
92. checking for os uuid usability... yes
94. Checking for Time Support...
95. checking for struct tm.tm_gmtoff... yes
96. checking for struct tm.__tm_gmtoff... no
98. Checking for Networking support...
99. checking for type in_addr... yes
100. checking if fd == socket on this platform... yes
101. checking style of gethostbyname_r routine... glibc2
102. checking 3rd argument to the gethostbyname_r routines... char
103. checking style of getservbyname_r routine... glibc2
104. checking if TCP_NODELAY setting is inherited from listening sockets... yes
105. checking if O_NONBLOCK setting is inherited from listening sockets... no
106. checking whether TCP_NODELAY and TCP_CORK can both be enabled... yes
107. checking for TCP_CORK in netinet/tcp.h... yes
108. checking for TCP_NOPUSH in netinet/tcp.h... no
109. checking for SO_ACCEPTFILTER in sys/socket.h... no
110. checking whether SCTP is supported... no
111. checking for struct ip_mreq... yes
112. checking for set_h_errno... no
114. Checking for IPv6 Networking support...
115. checking for library containing getaddrinfo... none required
116. checking for library containing gai_strerror... none required
117. checking for library containing getnameinfo... none required
118. checking for gai_strerror... yes
119. checking for working getaddrinfo... yes
120. checking for negative error codes for getaddrinfo... yes
121. checking for working getnameinfo... yes
122. checking for sockaddr_in6... yes
123. checking for sockaddr_storage... yes
124. checking for working AI_ADDRCONFIG... yes
125. checking if APR supports IPv6... yes
126. checking langinfo.h usability... yes
127. checking langinfo.h presence... yes
128. checking for langinfo.h... yes
129. checking for nl_langinfo... yes
131. Restore user-defined environment settings...
132. restoring CPPFLAGS to ""
134. restoring CFLAGS to ""
135. setting EXTRA_CFLAGS to "-g -O2 -pthread"
136. restoring LDFLAGS to ""
137. setting EXTRA_LDFLAGS to ""
138. restoring LIBS to ""
139. setting EXTRA_LIBS to "-luuid -lrt -lcrypt -lpthread -ldl"
140. restoring INCLUDES to ""
141. setting EXTRA_INCLUDES to ""
142. configure: creating ./config.status
143. config.status: creating Makefile
144. config.status: creating include/apr.h
145. config.status: creating build/
146. config.status: creating build/pkg/pkginfo
147. config.status: creating apr--config
148. config.status: WARNING: '' seems to ignore the --datarootdir setting
149. config.status: creating apr.pc
150. config.status: creating test/Makefile
151. config.status: creating test/internal/Makefile
152. config.status: creating include/arch/unix/apr_private.h
153. config.status: executing default commands
154. config.status: include/apr.h is unchanged
155. config.status: include/arch/unix/apr_private.h is unchanged

After that I am trying make and have error at the end:

make[1]: Entering directory `/root/build/apr-1.3.2'
/bin/sh /root/build/apr-1.3.2/libtool --silent --mode=link gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -.....

View 0 Replies View Related

Apache Down In The Middle Of Recompiling Apache (via Whm)

Nov 12, 2008

In the middle of recompiling apache (via whm) after upgrading postgresql to 8.3, apache went down and remains down even after restart. Recompile is still in progress (about 15 minutes in)

tail -f /usr/local/apache/logs/error_log
[Wed Nov 12 15:24:44 2008] [warn] No JkShmFile defined in httpd.conf. Using default /usr/local/apache/logs/jk-runtime-status
[Wed Nov 12 15:24:44 2008] [notice] ModSecurity for Apache/2.5.7 ( configured.
[Wed Nov 12 15:24:46 2008] [warn] No JkShmFile defined in httpd.conf. Using default /usr/local/apache/logs/jk-runtime-status
[Wed Nov 12 15:24:46 2008] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Wed Nov 12 15:24:46 2008] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Wed Nov 12 15:24:46 2008] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Wed Nov 12 15:24:46 2008] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Wed Nov 12 15:24:46 2008] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Wed Nov 12 15:24:46 2008] [notice] Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/ mod_jk/1.2.25 PHP/5.2.6 configured -- resuming normal operations
[Wed Nov 12 15:24:46 2008] [alert] Child 22588 returned a Fatal error... Apache is exiting!
httpd configtest
Syntax OK
ps -ef | grep ^httpd (no result)

View 4 Replies View Related

Apache 1.3 And PHP4 With Apache 2.2 And PHP5

Jun 1, 2008

I have apache 1.3 and PHP 4.4 installed on my CentOS 4.4

Can I install apache 2.2 and PHP 5.x on the same server? I want to test my scripts for compatibility and also to check the performance.

I dont want to break my current setup because it's a production server.

View 5 Replies View Related

JaguarPC Performance VS. LiquidWeb Performance

Jul 13, 2007

I am using dreamhost host 3 of my web sites and 1 blog. Dreamhost is great, offers alot space and bandwidth.

but I think they are oversellling their space, sometimes it gets really slow. (overselling ? ok, I dont really know, but sometimes its really slow, and most my asian readers said need to refresh to load the page. I am wondering if theres a way to check if they are overselling or not.)

I am thinking about buying vps, even tho, I still got 5 month left with dreamhost.

I found 2 vps companies are highly recommanded on this forum, JaguarPC and LiquidWeb.

theres already a post compared both companies in terms of price and service. I say I will pick JagarPc, cuz, its basic plan just 20 USD, and htey got promotion now, its even cheaper. and basic Liquidweb vps plan is 60 bucks.

I am wondering why Jagarpc is so cheap , are they overselling? how can we check if they are overselling.

I found a few posts saying how good jaguarPc is. and they are not overselling, but those members just signed up this month, and only have 1-3 posts. I cannot really trust those new members.

Can someone share their experience with JaguarPC? compare JaguarPc performance and liquidweb performance. antoher question is switch from dreamhost to JaguarPC basic vPS plan, will performance gets better?

last question: VPS account allows 3 IP, 3ip = 3 domains? if not, how many domains can I have?

View 14 Replies View Related

Apache 1 Or Apache 2 , All Else Being Equal

Nov 13, 2008

if you were to be presented with a choice to run Apache 1 or Apache 2 given you'd have more or less the same support requests etc, and the same underlying user requirements to implement either one or the other, which one would you choose and why?

I noticed that Hsphere Parallels control panel 3.2 release as may well other control panels, offers such possibility. Personally I've been educated from senior members of previous organizations to appreciate Apache 1 as the defacto version of the web hosting industry (choice here being apache 1 and 2, not IIS or any other web servers)
Could you kindly simply attempt to enlighten me given, indeed support for both will/might remain the same in the future?

View 5 Replies View Related

Apache :: IIS 7.5 And Apache 2.4.4 Not Working Together

Jun 25, 2013

I am facing while upgrading the current Apache version 2.2.11 to Apache 2.4.4. IIS 7.5 on Windows Web Server 2008 R2 is not redirecting requests to the Apache 2.4.4 which is on Windows Server 2003 R2. I checked the access and error logs of Apache 2.4.4 and there is no entry. The existing 2.2.11 is working completely fine with IIS 7.5. IIS is working as a load balancer in my environment, takes the https requests and forwards that to Apache, then it goes to the App servers. Here, self signed certificate is used between the Load balancer and the Web server.

I have followed exact same configuration as it was used in Apache 2.2.11 but installed it with a different port (444), later changed it to 443 before running Apache 2.4.4 as a service, turning off the Apache 2.2.11 service. And also, my Apache 2.4.4 is working completely fine when I access it through the Web Server level URL (through the server machine name). But it throws me an error 502 when I hit the Load Balancer level URL. Here is the complete error:

"502 - Web server received an invalid response while acting as a gateway or proxy server. There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy)contacted the upstream content server, it received an invalid response from the content server."

how I can solve the issue? I am stuck with this portion for about 2 weeks now, it's really urgent to get it solved!

My observation that came through lots of trial and error, I believe that this has something to do with Windows registry!! I came to this conclusion as I uninstalled the existing Apache 2.2.11 and installed it back again, it throws me the same error that I am getting for Apache 2.4.4. Then, I matched it with the other web server, found out some differences in the registry created for 2.2.11 and changed in this one accordingly- now 2.2.11 worked fine in this web server.

View 5 Replies View Related

ASP.NET On Apache

Jul 9, 2007

I need to run on apache does anyone know how i can set this up ....

View 5 Replies View Related

Apache On Just One IP

Jan 4, 2009

I currently have a dedicated server running centOS5 and webmin. With help of folks here

I was able to bind additional IP numbers using webmin.

I have a small problem now. The idea of binding the IPs was so that I could create "true port 80" shoutcast connections on the new IP numbers. However, when I try this I am taken to the control panel home page (home page to that server). The config on the shoutcast server is set properly (using proper IP #) as I have been able to listen to a stream using the new ip number's (higher ports), but not the main IP number.

My questions, I hope, are simple.

1. Am I able to use these additional IP numbers for Shoutcast Port 80 (true port 80 - only one per IP #)?

2. If yes, do I have to make Apache use ONLY my main IP number, thereby releasing the others for Port 80 use? If so, how do I do this.

View 4 Replies View Related

Apache 2.2.14 Vs 1.3.41

Oct 20, 2009

I am trying to decide on upgrading our Apache version from 1.3.41 to 2.2.14.

From what I can tell 2.2 is MUCH faster, but I have seen many reports of 2.* version crashing more frequently than 1.3.

Does anyone have some solid information on the reliability of 1.3.41 vs 2.2.14?

Also, any other items I may love/miss from upgrading?

We are running php4 (default) + 5.

View 14 Replies View Related

Apache 2.2.11 Vs Apache Apache 2.0.63

Jun 22, 2009

i am using 2.0.63 version and already having high load issue becoz of apache so should i have to upgrade to new version 2.2.11 ? is new versin liter as compared 2.0.63 please suggest what should i do know i am running a forum on the server.

View 4 Replies View Related

Apache VPS

Feb 22, 2008

all i have a vps

i have a problem my apache redirect sites in same directory

my apache2.conf OS debian3.1

DocumentRoot /home/hideyourtracks
TransferLog /var/log/hideyourtracks_access.log
ErrorLog /var/log/hideyourtracks_error.log
<Directory "/home/hideyourtracks">
allow from all
Options +Indexes

DocumentRoot /home/nopremium
TransferLog /var/log/nopremium.org_access.log
ErrorLog /var/log/nopremium.org_error.log
<Directory "/home/nopremium">
allow from all
Options +Indexes

View 4 Replies View Related

Apache 2.0 Or 2.2

May 5, 2008

Which version is more suitable for shared hosting with cPanel?

View 7 Replies View Related

Apache 1.3.xx Or 2.xx

Jan 10, 2008

configuring servers but have a very big website I want to put a new box I'm building, but am not sure if I should install Apache 1.3.xx or 2.xx. I see a TON of web hosts still use Apache 1.3.xx, but it seems that most books now a days say to install Apache 2.xx.

View 3 Replies View Related

Copyrights 2005-15, All rights reserved