Re: how to design mysql clusters with 30,000 clients?

2002-05-24 Thread Jakub Ambroewicz

 Ideas?

Noone mentioned it before, but if you may choose different
database, ie  postreSQL than there is a debian packaged
program called dbbalancer (at least in woody). But as the
authors states it works for now only with postgres.
http://dbbalancer.sourceforge.net

JA



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




messenger server or chat server

2002-05-24 Thread aku

dear all,

Anyone have a free messenger server or chat server and running under
debian.
I was try kit server but allways be error when installation on cryto.

anyone have tips or trick for installation kit server or any messenger or
chat server ?

Thx 4 all

akoe veronica


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: messenger server or chat server

2002-05-24 Thread Wim Fournier

 dear all,

 Anyone have a free messenger server or chat server and running under
 debian.
 I was try kit server but allways be error when installation on cryto.

 anyone have tips or trick for installation kit server or any messenger
 or chat server ?

www.jabber.org is a great one


 Thx 4 all

 akoe veronica


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]


With kind regards,

Wim Fournier




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to design mysql clusters with 30,000 clients?

2002-05-24 Thread Terrence Cox


 On Wednesday 22 May 2002 18:44, Dave Watkins wrote:
  At 16:02 22/05/2002 +0800, Patrick Hsieh wrote:
  Hello list,
  
  I am expecting to have 30,000 http clients visting my website at the
  same time. To meet the HA requirement, we use dual firewall, dual
  Layer-4 switch and multiple web servers in the backend. My problem is,
  if we use the user-tracking system with apache, php and mysql, it will
  surely brings a huge amount of database traffic. How can I balance mysql
  load among multiple mysql server yet assure the data consistency among
  them? My idea is:
  
 



I suggest that you do use clustering. However, you are better off running the Database 
in a fail over manner as opposed to load balancing multiple db machines. However, a 
bit of load balancing can be achieved if all reads are done from replicated machines 
and all writes are done to the master. Just as the manual suggests.

For the rest of it (not including the firewalls and switch) you could use a product 
like TurboCluster 6. It will load balance and monitor the health of every machine in 
the cluster, including it's software, and in the event a node goes down, the action 
taken can be customized. The machine that manages the cluster can also run with a 
backup of it's own that in the event of failure would take over witout admin 
intervention. It can also track returning users and route them to a server they 
previously visited. You can understand why this is good. It doesn't care about what OS 
is running on any of the machines in the backend and the load balancing can even run 
Weighted round robin if you using a heterogenous topography. When designing our 
setup, I pushed hard to make sure that we used the same hardware and configuration in 
each machine as much as was possilbe. That certainly eases tuning issues. 

Anyway, I would check this out. The price is 2k$ for a ten node cluster and two 
traffic mangers. Nothing else is going to even close.

Later on,
TRC
-- 
___
Download the free Opera browser at http://www.opera.com/

Powered by Outblaze


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




cyrus imap cyradm authintication

2002-05-24 Thread Bernie Berg

Howdy,

I just installed cyrus-imap with cyrus-admin on woody.  I anm having a problem running 
the cyradm tool.  When I do it asks for authentication, and every one I try (root or 
cyrus) gives an authentication failed error.  So I can't add any mailboxes (or 
anything else with cyrus).

It looks like the fix for cyrus 1.6 would be to run the saslpasswd command, but it 
seems that debian is running 1.5.  How do I fix this in 1.5?

thanks for the info,

bernie


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: cyrus imap cyradm authintication

2002-05-24 Thread Julián Muñoz

Have you set the line
admins:
in /etc/imapd.conf ?

On Fri, 24 May 2002, Bernie Berg wrote:

 Howdy,

 I just installed cyrus-imap with cyrus-admin on woody.  I anm having a problem 
running the cyradm tool.  When I do it asks for authentication, and every one I try 
(root or cyrus) gives an authentication failed error.  So I can't add any mailboxes 
(or anything else with cyrus).

 It looks like the fix for cyrus 1.6 would be to run the saslpasswd command, but it 
seems that debian is running 1.5.  How do I fix this in 1.5?

 thanks for the info,

 bernie


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


-- 

  __o
_ \_
   (_)/(_)

Saludos de Julián
EA4ACL
-.-

Foro Wireless Madrid
http://opennetworks.rg3.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




RE: cyrus imap cyradm authintication

2002-05-24 Thread Bernie Berg


yeah, I just put root in there. I also tried adding cyrus.  Didn't seem to help.

[sorry, I ment to send the first reply to the list]

 -Original Message-
 From: Julián Muñoz [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 24, 2002 10:34 AM
 To: Bernie Berg
 Cc: [EMAIL PROTECTED]
 Subject: Re: cyrus imap cyradm authintication
 
 
 Have you set the line
 admins:
 in /etc/imapd.conf ?
 
 On Fri, 24 May 2002, Bernie Berg wrote:
 
  Howdy,
 
  I just installed cyrus-imap with cyrus-admin on woody.  I 
 anm having a problem running the cyradm tool.  When I do it 
 asks for authentication, and every one I try (root or cyrus) 
 gives an authentication failed error.  So I can't add any 
 mailboxes (or anything else with cyrus).
 
  It looks like the fix for cyrus 1.6 would be to run the 
 saslpasswd command, but it seems that debian is running 1.5.  
 How do I fix this in 1.5?
 
  thanks for the info,
 
  bernie
 
 
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact 
 [EMAIL PROTECTED]
 
 
 -- 
 
   __o
 _ \_
(_)/(_)
 
 Saludos de Julián
 EA4ACL
 -.-
 
 Foro Wireless Madrid
 http://opennetworks.rg3.net
 
 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to design mysql clusters with 30,000 clients?

2002-05-24 Thread Jeff S Wheeler

I don't know if anyone else who followed-up on this thread has ever
implemented a high traffic web site of this calibre, but the original
poster is really just trying to band-aid a poor session management
mechanism into working for traffic levels it wasn't really intended for.

While he may still need a large amount of DB muscle for other things,
using PHP/MySQL sessions for a site that really expects to have 30,000
different HTTP clients at peak instants is not very bright.  We have
cookies for this.  Server-side sessions are a great fallback for
paranoid end-users who disable cookies in their browser, but it is my
understanding that PHP relies on a cookie-based session ID anyway?

I tried to follow up with the original poster directly but I can't
deliver mail to his MX for some reason.  *shrug*

Look into signed cookies for authen/authz/session, using a shared secret
known by all your web servers.  This is not a new concept, nor a
difficult one.  It can even be implemented using PHP, though a C apache
module is smarter.

-- 
Jeff S Wheeler   [EMAIL PROTECTED]
Software DevelopmentFive Elements, Inc
http://www.five-elements.com/~jsw/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to design mysql clusters with 30,000 clients?

2002-05-24 Thread Nicolas Bougues

On Fri, May 24, 2002 at 01:42:12PM -0400, Jeff S Wheeler wrote:
 
 While he may still need a large amount of DB muscle for other things,
 using PHP/MySQL sessions for a site that really expects to have 30,000
 different HTTP clients at peak instants is not very bright.  We have
 cookies for this.  Server-side sessions are a great fallback for
 paranoid end-users who disable cookies in their browser, but it is my
 understanding that PHP relies on a cookie-based session ID anyway?
 

What's not very bright is rather using MySQL in a somewhat audacious
configuration, for which support is quite recent (and thus, probably
not bugfree). In a high load / high availability environnement.

An Oracle would probably be better here. At least, it has proven
replication mechanisms.

Cookie based *whatever* is generally not a good idea. PHP sessions can
be handled using cookies or URL signatures. And BTW, they do not
necessarily require database backend. They can be handled on the
filesystem, though I'm not sure whether it works well in a shared NFS
environnement.

Note: I never implemented something like this. These are juste ideas.

-- 
Nicolas Bougues
Axialys Interactive


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: rm: cannot unlink `sendmail': Operation not permitted

2002-05-24 Thread Peter Billson
try chattr -i /usr/sbin

Even if sendmail is set -i, if the directory is immutable you will not
be able to rm it.

Pete
-- 
http://www.elbnet.com
ELB Internet Services, Inc.
Web Design, Computer Consulting, Internet Hosting



Jason Lim wrote:
 
 Hi all,
 
 This is happening on a Redhat 7.2 system, but i think it would apply
 across all Linux distros.
 
 [EMAIL PROTECTED] sbin]# pwd
 /usr/sbin
 [EMAIL PROTECTED] sbin]# chattr -iu sendmail
 [EMAIL PROTECTED] sbin]# rm sendmail
 rm: remove `sendmail'? y
 rm: cannot unlink `sendmail': Operation not permitted
 
 [EMAIL PROTECTED] sbin]# ls -al sendmail
 -rwxr-xr-x   1 root root99161 May  1 01:21 sendmail
 
 That is happening for all the files in that directory.
 
 strace rm sendmail:
 
 lstat64(sendmail, {st_mode=S_IFREG|0755, st_size=99161, ...}) = 0
 access(sendmail, W_OK)= 0
 unlink(sendmail)  = -1 EPERM (Operation not
 permitted)
 
 Any ideas as to what may be happening?
 
 Sincerely,
 Jason
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




SMail.info free email service

2002-05-24 Thread PLS


 www.smail.info

 SMail.info - free of charges email service , POP3, IMAP4, SMTP, SSL,  WEBMAIL 
and much much more . 

 Welcome to http://smail.info/   ! 


  Your address is removed from our list completely.
  You will not receive any massages again .


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to design mysql clusters with 30,000 clients?

2002-05-24 Thread Jakub Ambroewicz
Ideas?
Noone mentioned it before, but if you may choose different
database, ie  postreSQL than there is a debian packaged
program called dbbalancer (at least in woody). But as the
authors states it works for now only with postgres.
http://dbbalancer.sourceforge.net
JA

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



messenger server or chat server

2002-05-24 Thread aku
dear all,

Anyone have a free messenger server or chat server and running under
debian.
I was try kit server but allways be error when installation on cryto.

anyone have tips or trick for installation kit server or any messenger or
chat server ?

Thx 4 all

akoe veronica


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: messenger server or chat server

2002-05-24 Thread Wim Fournier
 dear all,

 Anyone have a free messenger server or chat server and running under
 debian.
 I was try kit server but allways be error when installation on cryto.

 anyone have tips or trick for installation kit server or any messenger
 or chat server ?

www.jabber.org is a great one


 Thx 4 all

 akoe veronica


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]


With kind regards,

Wim Fournier




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to design mysql clusters with 30,000 clients?

2002-05-24 Thread Terrence Cox

 On Wednesday 22 May 2002 18:44, Dave Watkins wrote:
  At 16:02 22/05/2002 +0800, Patrick Hsieh wrote:
  Hello list,
  
  I am expecting to have 30,000 http clients visting my website at the
  same time. To meet the HA requirement, we use dual firewall, dual
  Layer-4 switch and multiple web servers in the backend. My problem is,
  if we use the user-tracking system with apache, php and mysql, it will
  surely brings a huge amount of database traffic. How can I balance mysql
  load among multiple mysql server yet assure the data consistency among
  them? My idea is:
  
 



I suggest that you do use clustering. However, you are better off running the 
Database in a fail over manner as opposed to load balancing multiple db 
machines. However, a bit of load balancing can be achieved if all reads are 
done from replicated machines and all writes are done to the master. Just as 
the manual suggests.

For the rest of it (not including the firewalls and switch) you could use a 
product like TurboCluster 6. It will load balance and monitor the health of 
every machine in the cluster, including it's software, and in the event a node 
goes down, the action taken can be customized. The machine that manages the 
cluster can also run with a backup of it's own that in the event of failure 
would take over witout admin intervention. It can also track returning users 
and route them to a server they previously visited. You can understand why this 
is good. It doesn't care about what OS is running on any of the machines in the 
backend and the load balancing can even run Weighted round robin if you using 
a heterogenous topography. When designing our setup, I pushed hard to make sure 
that we used the same hardware and configuration in each machine as much as was 
possilbe. That certainly eases tuning issues. 

Anyway, I would check this out. The price is 2k$ for a ten node cluster and two 
traffic mangers. Nothing else is going to even close.

Later on,
TRC
-- 
___
Download the free Opera browser at http://www.opera.com/

Powered by Outblaze


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




cyrus imap cyradm authintication

2002-05-24 Thread Bernie Berg
Howdy,

I just installed cyrus-imap with cyrus-admin on woody.  I anm having a problem 
running the cyradm tool.  When I do it asks for authentication, and every one I 
try (root or cyrus) gives an authentication failed error.  So I can't add any 
mailboxes (or anything else with cyrus).

It looks like the fix for cyrus 1.6 would be to run the saslpasswd command, but 
it seems that debian is running 1.5.  How do I fix this in 1.5?

thanks for the info,

bernie


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: cyrus imap cyradm authintication

2002-05-24 Thread Julián Muñoz
Have you set the line
admins:
in /etc/imapd.conf ?

On Fri, 24 May 2002, Bernie Berg wrote:

 Howdy,

 I just installed cyrus-imap with cyrus-admin on woody.  I anm having a 
 problem running the cyradm tool.  When I do it asks for authentication, and 
 every one I try (root or cyrus) gives an authentication failed error.  So I 
 can't add any mailboxes (or anything else with cyrus).

 It looks like the fix for cyrus 1.6 would be to run the saslpasswd command, 
 but it seems that debian is running 1.5.  How do I fix this in 1.5?

 thanks for the info,

 bernie


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


-- 

  __o
_ \_
   (_)/(_)

Saludos de Julián
EA4ACL
-.-

Foro Wireless Madrid
http://opennetworks.rg3.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




RE: cyrus imap cyradm authintication

2002-05-24 Thread Bernie Berg

yeah, I just put root in there. I also tried adding cyrus.  Didn't seem to 
help.

[sorry, I ment to send the first reply to the list]

 -Original Message-
 From: Julián Muñoz [mailto:[EMAIL PROTECTED]
 Sent: Friday, May 24, 2002 10:34 AM
 To: Bernie Berg
 Cc: debian-isp@lists.debian.org
 Subject: Re: cyrus imap cyradm authintication
 
 
 Have you set the line
 admins:
 in /etc/imapd.conf ?
 
 On Fri, 24 May 2002, Bernie Berg wrote:
 
  Howdy,
 
  I just installed cyrus-imap with cyrus-admin on woody.  I 
 anm having a problem running the cyradm tool.  When I do it 
 asks for authentication, and every one I try (root or cyrus) 
 gives an authentication failed error.  So I can't add any 
 mailboxes (or anything else with cyrus).
 
  It looks like the fix for cyrus 1.6 would be to run the 
 saslpasswd command, but it seems that debian is running 1.5.  
 How do I fix this in 1.5?
 
  thanks for the info,
 
  bernie
 
 
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact 
 [EMAIL PROTECTED]
 
 
 -- 
 
   __o
 _ \_
(_)/(_)
 
 Saludos de Julián
 EA4ACL
 -.-
 
 Foro Wireless Madrid
 http://opennetworks.rg3.net
 
 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to design mysql clusters with 30,000 clients?

2002-05-24 Thread Jeff S Wheeler
I don't know if anyone else who followed-up on this thread has ever
implemented a high traffic web site of this calibre, but the original
poster is really just trying to band-aid a poor session management
mechanism into working for traffic levels it wasn't really intended for.

While he may still need a large amount of DB muscle for other things,
using PHP/MySQL sessions for a site that really expects to have 30,000
different HTTP clients at peak instants is not very bright.  We have
cookies for this.  Server-side sessions are a great fallback for
paranoid end-users who disable cookies in their browser, but it is my
understanding that PHP relies on a cookie-based session ID anyway?

I tried to follow up with the original poster directly but I can't
deliver mail to his MX for some reason.  *shrug*

Look into signed cookies for authen/authz/session, using a shared secret
known by all your web servers.  This is not a new concept, nor a
difficult one.  It can even be implemented using PHP, though a C apache
module is smarter.

-- 
Jeff S Wheeler   [EMAIL PROTECTED]
Software DevelopmentFive Elements, Inc
http://www.five-elements.com/~jsw/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to design mysql clusters with 30,000 clients?

2002-05-24 Thread Nicolas Bougues
On Fri, May 24, 2002 at 01:42:12PM -0400, Jeff S Wheeler wrote:
 
 While he may still need a large amount of DB muscle for other things,
 using PHP/MySQL sessions for a site that really expects to have 30,000
 different HTTP clients at peak instants is not very bright.  We have
 cookies for this.  Server-side sessions are a great fallback for
 paranoid end-users who disable cookies in their browser, but it is my
 understanding that PHP relies on a cookie-based session ID anyway?
 

What's not very bright is rather using MySQL in a somewhat audacious
configuration, for which support is quite recent (and thus, probably
not bugfree). In a high load / high availability environnement.

An Oracle would probably be better here. At least, it has proven
replication mechanisms.

Cookie based *whatever* is generally not a good idea. PHP sessions can
be handled using cookies or URL signatures. And BTW, they do not
necessarily require database backend. They can be handled on the
filesystem, though I'm not sure whether it works well in a shared NFS
environnement.

Note: I never implemented something like this. These are juste ideas.

-- 
Nicolas Bougues
Axialys Interactive


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]