Discussion:
error logged in error_log
Jose R. Ilabaca
2003-08-04 15:01:34 UTC
Permalink
Hi, I am trying to get mod_log_spread up and running.
I compiled Apache, replacing mod_log_config with mod_log_spread. I
started apache and is logging to spreadlogd, I can see messages through
spuser, and everithing seems to work fine, but when apache start I
receive messages like this in the error_log:

[Mon Aug 4 10:44:08 2003] [error] (2)No such file or directory: Could
not connect to spread with private_name ap32419. Error -6

(one per proccess?)

Any clue?
Thanks,
JRI
Dave Weis
2003-08-04 15:21:42 UTC
Permalink
Which version of apache are you using? Are you sure that you are getting
all of the log messages? It sounds like the parent apache process is
connecting with it's pid and all of the children are also trying to
connect.
Post by Jose R. Ilabaca
Hi, I am trying to get mod_log_spread up and running.
I compiled Apache, replacing mod_log_config with mod_log_spread. I
started apache and is logging to spreadlogd, I can see messages through
spuser, and everithing seems to work fine, but when apache start I
[Mon Aug 4 10:44:08 2003] [error] (2)No such file or directory: Could
not connect to spread with private_name ap32419. Error -6
(one per proccess?)
Any clue?
Thanks,
JRI
_______________________________________________
mls-users mailing list
http://lists.backhand.org/mailman/listinfo/mls-users
--
Dave Weis "I believe there are more instances of the abridgment
***@sjdjweis.com of the freedom of the people by gradual and silent
encroachments of those in power than by violent
and sudden usurpations."- James Madison
Jose R. Ilabaca
2003-08-04 15:43:30 UTC
Permalink
Apache 1.3.28
I did a very simple test and spuser said that the messages where
received from the different child process ("#ap<pid>#localhost"), so I
think I should be getting all the messages. Using netstat it shows me
that I have 6 unix connections (5 child apache and spreadlogd ?)

-----Mensaje original-----
De: mls-users-***@lists.backhand.org
[mailto:mls-users-***@lists.backhand.org] En nombre de Dave Weis
Enviado el: Lunes, 04 de Agosto de 2003 11:22
Para: mls-***@lists.backhand.org
Asunto: Re: [mls-users] error logged in error_log



Which version of apache are you using? Are you sure that you are getting
all of the log messages? It sounds like the parent apache process is
connecting with it's pid and all of the children are also trying to
connect.
Post by Jose R. Ilabaca
Hi, I am trying to get mod_log_spread up and running.
I compiled Apache, replacing mod_log_config with mod_log_spread. I
started apache and is logging to spreadlogd, I can see messages
through spuser, and everithing seems to work fine, but when apache
[Mon Aug 4 10:44:08 2003] [error] (2)No such file or directory: Could
not connect to spread with private_name ap32419. Error -6
(one per proccess?)
Any clue?
Thanks,
JRI
_______________________________________________
mls-users mailing list
http://lists.backhand.org/mailman/listinfo/mls-users
--
Dave Weis "I believe there are more instances of the
abridgment
***@sjdjweis.com of the freedom of the people by gradual and silent
encroachments of those in power than by violent
and sudden usurpations."- James Madison
Jose R. Ilabaca
2003-08-08 17:38:13 UTC
Permalink
I've being reading the list's archives and also mod_log_spread list's
archives. I've been testing with real load and I'm not still sure about
the right configuration for me.

I'm planning to have aboyut 10 web servers which will log about 40 lines
per second each and 2 servers for storing and processing the logs.

After the readings I configured 1 ring with the 12 servers IP and the
mod_log_spread defining 2 groups, so each of 2 loggers will have two log
files, one for each group (using spreadlogd), but process only one. In
this way if one log server fails I'll still have the complete log of
both groups.

I started with spread in only 2 web servers and 1 log server (all 3
spread.conf are the same, have the three servers on it). I configured 1
web server to start loging to spread and I was surprised about the
network traffic generated. So now I am not sure that the configuration I
decided was right. The server that has the web server loging to his
local spread server doubled the network traffic (which was expected, but
only the outbound traffic, not both!), but also the other web sever
doubled the network traffic, and it only has a spread daemon running,
the web server is not communicated with it, and has no spread client
running. Also other servers not involved in spread are receiving about
200 Kb/s of traffic...

So, the questions are:
-Is this network behavior as it supposed to be?
-Is the configuration right?

I can't believe that all the web servers will receive all the logs from
all the web servers! The CPU usage from each spread server and the
network waste is incredible. Is that right?! I don't need the logs in
local web servers, I don't need the local log even less other web server
logs!


Note: I posted the same question in the spread list, but I'm not sure
about the answer.

Loading...