Peter | 1 Sep 2002 14:29
Picon

[users <at> httpd] Setting up apache

I have a small network at home consisting of a win98 machine, a WinNT
machine and a Redhat 7.1 linux machine.

I have apache web servers running on each.

The names and ip addresses of the machines are:

peterglinux 10.0.0.1
pegerg2 10.0.0.2
petergnt1 10.0.0.3

I have the following accesses:

ping:
10.0.0.1 to 10.0.0.2 and vice versa
10.0.0.1 to 10.0.0.3 and vice versa
10.0.0.2 to 10.0.0.3 and vice versa

peterg2 to petergnt1 and vice versa.
peterg2 to peterglinux  and vice versa fails
petergnt1 to peterglinux and vice versa fails

Netscape:
Netscape on Linux can access 10.0.0.2 and 10.0.0.3
Netscate on linux to 10.0.0.2 and 10.0.0.3 fails
Netscape on Linux fails to peterg2 and petergnt1

Netscape on peterg2 (win 98) to 10.0.0.3 succeeds
Netscape on peterg2 (win 98) to 10.0.0.2 succeeds
Netscape on peterg2 (win 98) to petergnt1 succeeds
(Continue reading)

Chris Taylor | 1 Sep 2002 15:23

Re: [users <at> httpd] Setting up apache


Looks like your DNS resolution has failed to me. Can you access the
Linux Apache using:

http://10.0.0.1 ? Also, this bit gave me some trouble:

Netscape on Linux can access 10.0.0.2 and 10.0.0.3
Netscate on linux to 10.0.0.2 and 10.0.0.3 fails

It looks like you're saying the same thing twice, correct?

Chris Taylor - The guy with the PS2 WebServer
Email: chris <at> x-bb.org - PGP: http://www.x-bb.org/chris.asc

----- Original Message ----- 
From: "Peter" <pgoggin <at> optusnet.com.au>
To: <users <at> httpd.apache.org>
Sent: Sunday, September 01, 2002 1:29 PM
Subject: [users <at> httpd] Setting up apache

> I have a small network at home consisting of a win98 machine, a
> WinNT machine and a Redhat 7.1 linux machine.
> 
> I have apache web servers running on each.
> 
> The names and ip addresses of the machines are:
> 
> peterglinux 10.0.0.1
> pegerg2 10.0.0.2
> petergnt1 10.0.0.3
(Continue reading)

Peter | 1 Sep 2002 15:49
Picon

Re: [users <at> httpd] Setting up apache

Thanks for pointing out the error.

The access using Netscape/internet explorer
are:

Linux to 10.0.0.2, and 10.0.0.3 succeeds
Linux to peterg2 and petergnt1 fails

peterg2 to petergnt1 succeeds
peterg2 to 10.0.0.3 succeeds
petergnt1 to 10.0.0.2 succeeds
petergnt1 to peterg2 succeeds

Neither win box can access either 10.0.0.1 or peterglinux using browser.

As far as I know I have not set up a dns server on either of the win boxes.
Where should I set up the server ? on the linux box? If so how?

Regards

Peter Goggin
----- Original Message -----
From: "Chris Taylor" <chris <at> x-bb.org>
To: <users <at> httpd.apache.org>
Sent: Sunday, September 01, 2002 11:23 PM
Subject: Re: [users <at> httpd] Setting up apache

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
(Continue reading)

Chris Taylor | 1 Sep 2002 15:56

Re: [users <at> httpd] Setting up apache


The easiest way (unless your network is going to expand a lot) is to
edit the /etc/hosts files on Linux giving the IP/name pairs so Linux
can resolve the Windows machines properly. On the Windows machine,
you edit:

<windows>\system32\drivers\etc\hosts

......and add the IP/name pair of the Linux machine.

That's probably the simplest/easiest way to get it all working.

HTH

Chris Taylor - The guy with the PS2 WebServer
Email: chris <at> x-bb.org - PGP: http://www.x-bb.org/chris.asc

----- Original Message ----- 
From: "Peter" <pgoggin <at> optusnet.com.au>
To: <users <at> httpd.apache.org>
Sent: Sunday, September 01, 2002 2:49 PM
Subject: Re: [users <at> httpd] Setting up apache

> Thanks for pointing out the error.
> 
> The access using Netscape/internet explorer
> are:
> 
> Linux to 10.0.0.2, and 10.0.0.3 succeeds
> Linux to peterg2 and petergnt1 fails
(Continue reading)

Peter | 2 Sep 2002 09:19
Picon

Re: [users <at> httpd] Setting up apache

Thanks for you help. I can now see the Apache web server on the linux box
from the widows boxes.

I have configures the server to use php with mysql. However php scripts are
not being processed when accessed locally or from the windows machine.  I
followed the instructions given in the pc-world minibook and have added the
line:
AddType application/x-httpd-php .php to the apache config file.

The install process added the lines for the php-4 i.e.

LoadModule php4_module  libexec/libphp4.so
AddModule mod_php4.c

Are there any other changes I need to mae to the conf file to get php
working?

Regards

Peter Goggin
----- Original Message -----
From: "Chris Taylor" <chris <at> x-bb.org>
To: <users <at> httpd.apache.org>
Sent: Sunday, September 01, 2002 11:56 PM
Subject: Re: [users <at> httpd] Setting up apache

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> The easiest way (unless your network is going to expand a lot) is to
(Continue reading)

John Wards | 2 Sep 2002 11:03

[users <at> httpd] Ram Usage

Hi folks,

I have been getting increasingly concerend with apache 1.3 using so much RAM
per process. Before the weekend it was using about 20-25 meg per process now
it is using about 30 meg.....With a website that is getting about 100,000
pageviews a day and will proably do about 150,000 today if the server
doesn't run out of RAM this is rather worrying.

Should Apache be using this amount of RAM and is their any tools that I can
use to see what the heck is going on?

Cheers
John Wards
SportNetwork.net

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

Dirk-Willem van Gulik | 2 Sep 2002 11:15
Gravatar

Re: [users <at> httpd] Ram Usage


On Mon, 2 Sep 2002, John Wards wrote:

> I have been getting increasingly concerend with apache 1.3 using so much RAM
> per process. Before the weekend it was using about 20-25 meg per process now
> it is using about 30 meg.....With a website that is getting about 100,000
> pageviews a day and will proably do about 150,000 today if the server
> doesn't run out of RAM this is rather worrying.
>
> Should Apache be using this amount of RAM and is their any tools that I can
> use to see what the heck is going on?

It is not uncommon for something (say an external library) to slowly leak
memory due to imperfections in the code.

Restarting apache, or restarting the child which has leaked will generally
reclaim this memory. For this reason it is possible to specify a
MaxRequests number a child should handle before it recycles itself.

Setting this to a couple of thousand requests generally solves this issue;
that way there is virtually no load due to the extra dying/recreation of
children - yet small memory leaks in for example an oracle or php adaptor
stay managable.

Dw

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
(Continue reading)

John Wards | 2 Sep 2002 11:49

Re: [users <at> httpd] Ram Usage

>
> On Mon, 2 Sep 2002, John Wards wrote:
>
> > I have been getting increasingly concerend with apache 1.3 using so much
RAM
> > per process. Before the weekend it was using about 20-25 meg per process
now
> > it is using about 30 meg.....With a website that is getting about
100,000
> > pageviews a day and will proably do about 150,000 today if the server
> > doesn't run out of RAM this is rather worrying.
> >
> > Should Apache be using this amount of RAM and is their any tools that I
can
> > use to see what the heck is going on?
>
> It is not uncommon for something (say an external library) to slowly leak
> memory due to imperfections in the code.
>
> Restarting apache, or restarting the child which has leaked will generally
> reclaim this memory. For this reason it is possible to specify a
> MaxRequests number a child should handle before it recycles itself.
>
> Setting this to a couple of thousand requests generally solves this issue;
> that way there is virtually no load due to the extra dying/recreation of
> children - yet small memory leaks in for example an oracle or php adaptor
> stay managable.
>
> Dw

(Continue reading)

i.t | 2 Sep 2002 15:43
Picon

Re: [users <at> httpd] Ram Usage


> I have just restarted Apache (full not graceful) and the processes are
> still using about 30 Meg of ram. This was as soon as it restarted.
>
> Is their any tools available to see what is causing this?
>
you may start with server-status
set ExtendedStatus ON

looks like you're better off with a self-compiled server
--

-- 
_ ___
|  |  Irmund     Thum
|  |   

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

Peter | 2 Sep 2002 10:41
Picon

Re: [users <at> httpd] Setting up apache

I have found that if I change the script name form userfunctions.php to
userfunctions.htm then it runs ok.  Thius for some reason scripts which end
in .php are not being processed properly. This must therefore be problem
with apache configuration.  Has anyone else had this sort of problem and if
so how was it solved. Note that the site with scripts ending in a mixture of
.htm, .php works perfectly on my win98 and winnt boxes. It is only on the
linux box I am having this problem.

Regards

Peter Goggin
----- Original Message -----
From: "Peter" <pgoggin <at> optusnet.com.au>
To: <users <at> httpd.apache.org>
Sent: Monday, September 02, 2002 5:19 PM
Subject: Re: [users <at> httpd] Setting up apache

> Thanks for you help. I can now see the Apache web server on the linux box
> from the widows boxes.
>
> I have configures the server to use php with mysql. However php scripts
are
> not being processed when accessed locally or from the windows machine.  I
> followed the instructions given in the pc-world minibook and have added
the
> line:
> AddType application/x-httpd-php .php to the apache config file.
>
> The install process added the lines for the php-4 i.e.
>
(Continue reading)


Gmane