Re: [mailinglists] Ulimit and max processes

2004-05-18 Thread Giacomo A. Catenazzi
Andreas John wrote:
Hi Philipp,
I agree with you that the boxes may need tuning, but thats not the 
point

develop:~$ ulimit -u
7168
develop:~$
www01:~# ulimit -u
256
www01:~#
On both boxes
/etc/sysctl.conf are empty
www01:~# diff login.defs.develop /etc/login.defs
www01:~#
www01:~# diff limits.conf.develop /etc/security/limits.conf
www01:~#
Any other ideas where the problem could be?
bastille change the ulimit
ciao
cate
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Tom Proue

2004-05-18 Thread Michael Robokoff
Tom's dad suffered a small stroke this morning.
Please pray for them.
--Mike
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


[no subject]

2004-05-18 Thread Fisher P .
How are you?

I sent you an email 2 days ago and I want to confirm things. We have decided to accept 
your mórtgage applicatíon. Your Past crédit is not a factor with us.

We are willing to give you a $380,590 loan with a $244/month payment. Your Approval is 
determined within 1 minute.

To Take Advanatge of this Great Opportunity
Visit the Link Below and Complete the Short Form:

http://rd.yahoo.com/M=893835.3414699.6673611.0765141/D=yahoo_top/S=4012834:LCC/A=1933032/R=0/*http://esecurefinance.com/?partid=ccnet

Talk to You Soon
Fisher P.













http://rd.yahoo.com/M=827308.1071663.3765177.0207928/D=yahoo_top/S=7268412:LCC/A=8223587/R=0/*http://letsrefinance.net/st.html
-m_A-k_E-_i-T__s-T-o_P


Re: [mailinglists] Ulimit and max processes

2004-05-18 Thread Hector Gonzalez
are you using the same kernel on both boxes?  2.4.x gives the 7168 
limit, 2.6.x gives unlimited and 2.2.x gives 256 by default.

Andrew Miehs wrote:
Hi Philipp,
I agree with you that the boxes may need tuning, but thats not the 
point

develop:~$ ulimit -u
7168
develop:~$
www01:~# ulimit -u
256
www01:~#
On both boxes

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


Re: You can start saving now

2004-05-18 Thread Michael Loftis

--On Tuesday, May 18, 2004 14:06 -0600 Lucas Albers 
[EMAIL PROTECTED] wrote:

I just wish the 2.53 Debian SA had surbl as part of it.
I have to install sa, and then do a make install on surbl.
I tried to make the surbl package as a deb file but it conflicted with sa
files.
Obviously, because they provide the same files.
dpkg-divert is your friend.  for an example try postfix, postfix-tls...
--
Michael Loftis
Modwest Sr. Systems Administrator
Powerful, Affordable Web Hosting
GPG/PGP -- 0xE736BD7E 5144 6A2D 977A 6651 DFBE 1462 E351 88B9 E736 BD7E 

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


Re: [mailinglists] Ulimit and max processes

2004-05-18 Thread Andrew Miehs
I have installed the SAME packages with dpkg --set-selections on two boxes
with a self compiled kernel 2.4.25-p4smp.

One has 256, one has 7168

WHERE is the 256 coming from - I have looked everywhere - even compared
etc, lib dirs etc... I just dont understand!!!
Thanks

Andrew


 are you using the same kernel on both boxes?  2.4.x gives the 7168
 limit, 2.6.x gives unlimited and 2.2.x gives 256 by default.


 Andrew Miehs wrote:
 Hi Philipp,

 I agree with you that the boxes may need tuning, but thats not the
 point

 develop:~$ ulimit -u
 7168
 develop:~$

 www01:~# ulimit -u
 256
 www01:~#


 On both boxes


 --
 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]



Discover the Details about Money Debt. Use it for your benefit

2004-05-18 Thread walker murray


  
Say
good riddance to your card balances. 
  


  

  End the
bothersome worry of those calls and letters.
  
 


  

  No
injury will happen to your payment history.
  
 


  

  
  
  
  To learn more

  


  

  
  
press to stop receiving or not send to postal center slot 1200 b, Or anje
stad, 
A ruba



But your unusual powers caused more astonishment and consternation than
you, perhaps, imagined; for many saw you whom you were too busy to notice
As a result several able electricians are now thinking new thoughts along
new lines, and some of them may soon give these or similar inventions to the
world



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



Re: Adjusting MTU

2004-05-18 Thread Craig Sanders
On Wed, May 12, 2004 at 02:40:10PM -0400, Ryan Tucker wrote:
 I'm trying to find the Debian Way to adjust the MTU on an interface...
 basically, we have a box behind a firewall which is blocking the ICMP Can't
 Fragment packets, and we're sending fairly large data packets through, and,
 well, the obvious problem occurs.  They can put a little firewall on the LAN
 which has an MTU adjustment (and sends the packets back), which fixes the
 problem nicely, but that's kinda a hack.

the correct solution is to throw out the broken firewall and replace it
with something that wasn't made by brain-damaged cretins.


if you need some proof to get management to throw away the firewall that they
wisely decided to waste lots of money on, then see the Blocking ICMP
section of the Common ISP Mistakes document:

http://www.freelabs.com/~whitis/isp_mistakes.html

this document is fairly old now but is still very relevant - it should be
required reading for all ISP tech and management staff.
 


See also Broken PMTU causes slow networks:

http://www.burgettsys.com/stories/56239/

and PMTU Discovery:

http://www.netheaven.com/pmtu.html


craig

-- 
craig sanders [EMAIL PROTECTED]

The next time you vote, remember that Regime change begins at home


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



Re: help with PHP/SQL

2004-05-18 Thread Craig Sanders
On Thu, May 13, 2004 at 09:58:35PM -0400, ziada Mrisho wrote:
 I got your e-mail address from a forum thread on SQL Help. I desperately need
 help for my class project. I need to know how to insert an image in a
 database table. When I issue a CREATE table command, what attribute
 represents an image file? eg:
 
 CREATE TABLE SClassTable (
   ?image _? NOT NULL,
   description VARCHAR (64) DEFAULT NULL,
   reference INT (5) DEFAULT NULL,
   price VARCHAR(15),
   PRIMARY KEY (reference),
   KEY (description)

it's not a good idea to store images in databases.  you're much better off
storing the image in the filesystem and using the database to store metadata
about the image, including description, title, copyright details, and
especially the path and/or URL to the image.

craig

-- 
craig sanders [EMAIL PROTECTED]

The next time you vote, remember that Regime change begins at home


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



Re: [mailinglists] Ulimit and max processes

2004-05-18 Thread Andreas John
Hector Gonzalez wrote:
are you using the same kernel on both boxes?  2.4.x gives the 7168 
limit, 2.6.x gives unlimited and 2.2.x gives 256 by default.
Together with andrews information (--get-selections say: same pachages 
installed) I would assume that on of the boxes had a 2.2.x before an for 
some weired reason there is d #define in the kernel source of 2.2.series 
that made it into Andrew's special 2.4.x.

Andrew: Did you upgrade the 256er-boxen from 2.2? Did you use make 
oldconfig or took you parts (patches) from the kernel before?

rgds,
Andreas
--
Andreas John
net-lab GmbH
Luisenstrasse 30b
63067 Offenbach
Tel: +49 69 85700331
http://www.net-lab.net
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Using Debian as a HotSpot??

2004-05-18 Thread Robin Millette
Pebble is a debian based smallish distro: http://www.nycwireless.net/pebble/
île sans fil ( http://www.ilesansfil.org/ ) has succesfully deployed it in a few
venues in Montreal.
Check our wiki for more details: http://www.ilesansfil.org/wiki/

-- 
Robin Millette (aka Lord D. Nattor)
Dors-je? http://rym.waglo.com/wordpress/?cat=33


signature.asc
Description: OpenPGP digital signature


Courier + MySQL (was exim+mysql)

2004-05-18 Thread Rod Rodolico
Still working on the virtual domains using MySQL. Found an excellent article at
http://www.tty1.net/virtual_domains_en.html if anyone is interested.

My problem is with Courier. I installed the courier-authmysql package, followed the 
info in
:/usr/share/doc/courier-authmysql, then threw it all away and followed the info at the 
above
site, and am still getting invalid authentication.

I have tailed my /var/log/mysql/mysql.log and see no activity. I am assuming it is 
because
Courier is not talking to the server. Also looked at the mysql.err file and see 
nothing there,
nor in auth, daemon, message or syslog indicating courier is actually trying to talk 
to mysql.

Any suggestions? I have attached the configurations if anyone has the time to look at 
them.

Thanks,

Rod



authdaemonrc
Description: Binary data


authmodulelist
Description: Binary data


authmysqlrc
Description: Binary data


Re: [mailinglists] Ulimit and max processes

2004-05-18 Thread Andrew Miehs
/etc/sysctl.conf is empty on both boxes...
Both are running woody.
Very confused...
Andrew
On 18.05.2004, at 10:40, Philipp Steinkrüger wrote:
use sysctl. i think there is also a config file
/etc/sysctl.conf.
regards,
philipp
- Original Message -
From: Andrew Miehs [EMAIL PROTECTED]
To: debian-isp@lists.debian.org
Sent: Tuesday, May 18, 2004 1:06 AM
Subject: [mailinglists] Ulimit and max processes

Dear list,
I am confused... I am running two debian boxes with woody,
but one has a ulimit -u (max user proc) of 7168, and the other of 256.
(both as root) the difference does not appear to be in login.defs 
or
/etc/security/limits.
Does anyone have any ideas where I should look...
diff -r /etc /etcother didnt seem to show any important diffeneces..

Thanks for your help,
Andrew

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





Re: [mailinglists] Ulimit and max processes

2004-05-18 Thread Andrew Miehs
Hi Philipp,
I agree with you that the boxes may need tuning, but thats not the 
point

develop:~$ ulimit -u
7168
develop:~$
www01:~# ulimit -u
256
www01:~#
On both boxes
/etc/sysctl.conf are empty
www01:~# diff login.defs.develop /etc/login.defs
www01:~#
www01:~# diff limits.conf.develop /etc/security/limits.conf
www01:~#
Any other ideas where the problem could be?
Thanks
Andrew
On 18.05.2004, at 10:51, Philipp Steinkrüger wrote:
thats not strange. i have a woody box here with an
empty file, but i have some very loaded servers which
needed to be tuned, so sysctl.conf isnt emtpy anymore :)



Re: [mailinglists] Ulimit and max processes

2004-05-18 Thread Andreas John
Hi!
Do you have some security-enhancement packages installed on www01?
I could imagine (i.e. don't know :-)) that stuff like selinux decreases 
umlimits on kernel compile time. Or maybe some uml or virtual 
hosts/machine package installed for hosting customers?

rgds,
j.
Andrew Miehs wrote:
Hi Philipp,
I agree with you that the boxes may need tuning, but thats not the 
point

develop:~$ ulimit -u
7168
develop:~$
www01:~# ulimit -u
256
www01:~#
On both boxes
/etc/sysctl.conf are empty
www01:~# diff login.defs.develop /etc/login.defs
www01:~#
www01:~# diff limits.conf.develop /etc/security/limits.conf
www01:~#
Any other ideas where the problem could be?
Thanks
Andrew
On 18.05.2004, at 10:51, Philipp Steinkrüger wrote:

thats not strange. i have a woody box here with an
empty file, but i have some very loaded servers which
needed to be tuned, so sysctl.conf isnt emtpy anymore :)



--
Andreas John
net-lab GmbH
Luisenstrasse 30b
63067 Offenbach
Tel: +49 69 85700331
http://www.net-lab.net



Re: [mailinglists] Ulimit and max processes

2004-05-18 Thread Giacomo A. Catenazzi
Andreas John wrote:
Hi Philipp,
I agree with you that the boxes may need tuning, but thats not the 
point

develop:~$ ulimit -u
7168
develop:~$
www01:~# ulimit -u
256
www01:~#
On both boxes
/etc/sysctl.conf are empty
www01:~# diff login.defs.develop /etc/login.defs
www01:~#
www01:~# diff limits.conf.develop /etc/security/limits.conf
www01:~#
Any other ideas where the problem could be?
bastille change the ulimit
ciao
cate



Re: [mailinglists] Ulimit and max processes

2004-05-18 Thread Mathieu Meylan
Hi,

I checked on 7 debian (woody) server compaq , all with kernel 2.4.24
(same build).
- in 2 servers I find 4095  (no the same hardware)
- in one 3075
- in other one 1024

!!???!!! sorry not answer of this question !

Mat

 Giacomo A. Catenazzi [EMAIL PROTECTED] 05/18/04 2:05 PM 
Andreas John wrote:

 Hi Philipp,

 I agree with you that the boxes may need tuning, but thats not the 
 point

 develop:~$ ulimit -u
 7168
 develop:~$

 www01:~# ulimit -u
 256
 www01:~#


 On both boxes

 /etc/sysctl.conf are empty

 www01:~# diff login.defs.develop /etc/login.defs
 www01:~#

 www01:~# diff limits.conf.develop /etc/security/limits.conf
 www01:~#

 Any other ideas where the problem could be?

bastille change the ulimit

ciao
cate


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





Tom Proue

2004-05-18 Thread Michael Robokoff
Tom's dad suffered a small stroke this morning.
Please pray for them.
--Mike



[no subject]

2004-05-18 Thread Fisher P .
How are you?

I sent you an email 2 days ago and I want to confirm things. We have decided to 
accept your mórtgage applicatíon. Your Past crédit is not a factor with us.

We are willing to give you a $380,590 loan with a $244/month payment. Your 
Approval is determined within 1 minute.

To Take Advanatge of this Great Opportunity
Visit the Link Below and Complete the Short Form:

http://rd.yahoo.com/M=893835.3414699.6673611.0765141/D=yahoo_top/S=4012834:LCC/A=1933032/R=0/*http://esecurefinance.com/?partid=ccnet

Talk to You Soon
Fisher P.













http://rd.yahoo.com/M=827308.1071663.3765177.0207928/D=yahoo_top/S=7268412:LCC/A=8223587/R=0/*http://letsrefinance.net/st.html
-m_A-k_E-_i-T__s-T-o_P


Re: [mailinglists] Ulimit and max processes

2004-05-18 Thread Hector Gonzalez
are you using the same kernel on both boxes?  2.4.x gives the 7168 
limit, 2.6.x gives unlimited and 2.2.x gives 256 by default.

Andrew Miehs wrote:
Hi Philipp,
I agree with you that the boxes may need tuning, but thats not the 
point

develop:~$ ulimit -u
7168
develop:~$
www01:~# ulimit -u
256
www01:~#
On both boxes



Re: You can start saving now

2004-05-18 Thread Lucas Albers
 Install spamassassin 2.63 which had filtered last
 night around 480 SPAMS from 78 Mailinglists...

and then enable surbl, and set it to score at 6.0.
Then submit 1-10 spam's that slip by per day to spamcop.
I just enabled surbl on my external debian mail relay, and it is grabbing
around 30% more spam with that surbl enabled.
I'll have to watch the logs to authoritavially state surbl is grabbing a
larger percentage of spam.

I just wish the 2.53 Debian SA had surbl as part of it.
I have to install sa, and then do a make install on surbl.
I tried to make the surbl package as a deb file but it conflicted with sa
files.
Obviously, because they provide the same files.


-- 
--Luke CS Sysadmin, Montana State University-Bozeman




Re: You can start saving now

2004-05-18 Thread Lucas Albers

Rod Rodolico said:
 2) spamassassin uses some processing power, so I am only running it
 against unknown senders

What is your mail volume?
You really need a serious amount of mail for SA to bog down.
As you all realized, mail volume is relative.
From what I've seen you can handle 100-200K messages per day on a single
2-3GHZ mimedefang+sa box with no problem.
Then throw in greylisting if sa is slowing you down.
That should work well at reducing the number of messags you need to run
content-analysis on with sa.

Greylisting has worked well at blocking drive by spammers from one shot ip
addresses.
I've used it on my production servers with never a complaint.


-- 
--Luke CS Sysadmin, Montana State University-Bozeman




Re: You can start saving now

2004-05-18 Thread Michael Loftis

--On Tuesday, May 18, 2004 14:06 -0600 Lucas Albers 
[EMAIL PROTECTED] wrote:

I just wish the 2.53 Debian SA had surbl as part of it.
I have to install sa, and then do a make install on surbl.
I tried to make the surbl package as a deb file but it conflicted with sa
files.
Obviously, because they provide the same files.
dpkg-divert is your friend.  for an example try postfix, postfix-tls...
--
Michael Loftis
Modwest Sr. Systems Administrator
Powerful, Affordable Web Hosting
GPG/PGP -- 0xE736BD7E 5144 6A2D 977A 6651 DFBE 1462 E351 88B9 E736 BD7E 




Re: [mailinglists] Ulimit and max processes

2004-05-18 Thread Andrew Miehs
I have installed the SAME packages with dpkg --set-selections on two boxes
with a self compiled kernel 2.4.25-p4smp.

One has 256, one has 7168

WHERE is the 256 coming from - I have looked everywhere - even compared
etc, lib dirs etc... I just dont understand!!!
Thanks

Andrew


 are you using the same kernel on both boxes?  2.4.x gives the 7168
 limit, 2.6.x gives unlimited and 2.2.x gives 256 by default.


 Andrew Miehs wrote:
 Hi Philipp,

 I agree with you that the boxes may need tuning, but thats not the
 point

 develop:~$ ulimit -u
 7168
 develop:~$

 www01:~# ulimit -u
 256
 www01:~#


 On both boxes


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






Discover the Details about Money Debt. Use it for your benefit

2004-05-18 Thread walker murray


  
Say
good riddance to your card balances. 
  


  

  End the
bothersome worry of those calls and letters.
  
 


  

  No
injury will happen to your payment history.
  
 


  

  
  
  
  To learn more

  


  

  
  
press to stop receiving or not send to postal center slot 1200 b, Or anje
stad, 
A ruba



But your unusual powers caused more astonishment and consternation than
you, perhaps, imagined; for many saw you whom you were too busy to notice
As a result several able electricians are now thinking new thoughts along
new lines, and some of them may soon give these or similar inventions to the
world





Re: Adjusting MTU

2004-05-18 Thread Craig Sanders
On Wed, May 12, 2004 at 02:40:10PM -0400, Ryan Tucker wrote:
 I'm trying to find the Debian Way to adjust the MTU on an interface...
 basically, we have a box behind a firewall which is blocking the ICMP Can't
 Fragment packets, and we're sending fairly large data packets through, and,
 well, the obvious problem occurs.  They can put a little firewall on the LAN
 which has an MTU adjustment (and sends the packets back), which fixes the
 problem nicely, but that's kinda a hack.

the correct solution is to throw out the broken firewall and replace it
with something that wasn't made by brain-damaged cretins.


if you need some proof to get management to throw away the firewall that they
wisely decided to waste lots of money on, then see the Blocking ICMP
section of the Common ISP Mistakes document:

http://www.freelabs.com/~whitis/isp_mistakes.html

this document is fairly old now but is still very relevant - it should be
required reading for all ISP tech and management staff.
 


See also Broken PMTU causes slow networks:

http://www.burgettsys.com/stories/56239/

and PMTU Discovery:

http://www.netheaven.com/pmtu.html


craig

-- 
craig sanders [EMAIL PROTECTED]

The next time you vote, remember that Regime change begins at home




Re: help with PHP/SQL

2004-05-18 Thread Craig Sanders
On Thu, May 13, 2004 at 09:58:35PM -0400, ziada Mrisho wrote:
 I got your e-mail address from a forum thread on SQL Help. I desperately need
 help for my class project. I need to know how to insert an image in a
 database table. When I issue a CREATE table command, what attribute
 represents an image file? eg:
 
 CREATE TABLE SClassTable (
   ?image _? NOT NULL,
   description VARCHAR (64) DEFAULT NULL,
   reference INT (5) DEFAULT NULL,
   price VARCHAR(15),
   PRIMARY KEY (reference),
   KEY (description)

it's not a good idea to store images in databases.  you're much better off
storing the image in the filesystem and using the database to store metadata
about the image, including description, title, copyright details, and
especially the path and/or URL to the image.

craig

-- 
craig sanders [EMAIL PROTECTED]

The next time you vote, remember that Regime change begins at home




Re: [mailinglists] Ulimit and max processes

2004-05-18 Thread Andreas John
Hector Gonzalez wrote:
are you using the same kernel on both boxes?  2.4.x gives the 7168 
limit, 2.6.x gives unlimited and 2.2.x gives 256 by default.
Together with andrews information (--get-selections say: same pachages 
installed) I would assume that on of the boxes had a 2.2.x before an for 
some weired reason there is d #define in the kernel source of 2.2.series 
that made it into Andrew's special 2.4.x.

Andrew: Did you upgrade the 256er-boxen from 2.2? Did you use make 
oldconfig or took you parts (patches) from the kernel before?

rgds,
Andreas
--
Andreas John
net-lab GmbH
Luisenstrasse 30b
63067 Offenbach
Tel: +49 69 85700331
http://www.net-lab.net



Re: Using Debian as a HotSpot??

2004-05-18 Thread Robin Millette
Pebble is a debian based smallish distro: http://www.nycwireless.net/pebble/
île sans fil ( http://www.ilesansfil.org/ ) has succesfully deployed it in a few
venues in Montreal.
Check our wiki for more details: http://www.ilesansfil.org/wiki/

-- 
Robin Millette (aka Lord D. Nattor)
Dors-je? http://rym.waglo.com/wordpress/?cat=33


signature.asc
Description: OpenPGP digital signature


Re: You can start saving now

2004-05-18 Thread Rod Rodolico
Sorry, now that i re-read it I see that I made it sound like SA was a hog. It 
has never
impacted my server that I've seen. But, I only have it on a few accounts (it is 
opt-in for my
clients, as is sanitizer), so I really don't know the impact. I just have noted 
that, even
with spamd, it jumps to the top of the top list occasionally. But, like I 
said, I have never
noticed the server slowing because of it, and it is a pretty crummy server.




 Rod Rodolico said:
 2) spamassassin uses some processing power, so I am only running it
 against unknown senders

 What is your mail volume?
 You really need a serious amount of mail for SA to bog down.
 As you all realized, mail volume is relative.
From what I've seen you can handle 100-200K messages per day on a single
 2-3GHZ mimedefang+sa box with no problem.
 Then throw in greylisting if sa is slowing you down.
 That should work well at reducing the number of messags you need to run
 content-analysis on with sa.

 Greylisting has worked well at blocking drive by spammers from one shot ip
 addresses.
 I've used it on my production servers with never a complaint.


 --
 --Luke CS Sysadmin, Montana State University-Bozeman


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