[vchkpw] ramdisk with ext2 or tmpfs, vpopmail mysql - heap table : performance - too big disk load

2005-11-03 Thread Szeki - Inc



Hi,

It is a good idea to 
use heap tables for vpopmail query-s ? MyISAM tables for UPDATES, and HEAP for 
selects (they will be created from MyISAM)? I wanna to minimalize the disk 
subsystem impact. System is always waiting for disks(big load, can even reach 
20-25). What is the ideal maximum concurrent conncetion limit with mysql 
?

I want to put the 
temp directories (spamassasin, clamd, other scanners) to ramdisk. What to 
use:

1. ramdisk, fixed 
size (set with kernel parameter), with ext2, looks like a "real" disk, with real 
filesystem
2. tmpfs, with 
maximized ramsize, eating always as many ram what is needed. cons ? What is the 
price for this "freedom" ? 
(can I use tmpfs on 
a debian server for the main /tmp ?) I can spend 512 or even 1024 Mb 
ram for ramdrives, or tmpfs.

I need every idea, 
or solution, how can I reduce the disk usage on the system. I want to keep only 
what is necessery. I will turn of mail logging via syslog (deamontools is 
doinga great job logging mails, why waste the needed disk i/o power for 
syslog), other things ?

What if I put qmails 
queue to ramdisk (or tmpfs ramdisk) ? (memory cards ? are good enough 
?)

Peter


Re: [vchkpw] qmail+vpopmail on redhat 7.3 server gets very busy

2005-11-03 Thread Sam

I noticed that one local user which I created when I installed qmail and
before installing vpopmail, was getting lots of messages from qmail under
/home/user/Maildir.


what do your logs say about this? (Hint: if you had some of those messages 
you

recently deleted around, they would certainly help ;)


The directory was  /home/user/Maildir/new  was full of thousands of messages 
in this format:

12345678999.16207.qmail ,S=14766
When I tried to go in the directory to read one of the messages, the 
computer would hang.

That is why I decided to delete the directory.
Now my qmail log shows:
@4000436ab0a416ec08cc new msg 116203

@4000436ab0a416ee27c4 info msg 116203: bytes 2061 from [EMAIL PROTECTED] qp 20944 
uid 507


@4000436ab0a41733b08c starting delivery 194354: msg 116203 to local 
[EMAIL PROTECTED]


@4000436ab0a41734fc94 status: local 1/10 remote 14/20

@4000436ab0a417e397cc new msg 116176

@4000436ab0a417e5a724 info msg 116176: bytes 2174 from [EMAIL PROTECTED] qp 20947 
uid 501


@4000436ab0a41821c9ac starting delivery 194355: msg 116176 to local 
[EMAIL PROTECTED]


@4000436ab0a418232554 status: local 2/10 remote 14/20

@4000436ab0a41824e68c delivery 194354: success: did_0+1+0/qp_20947/

@4000436ab0a418278a54 status: local 1/10 remote 14/20

@4000436ab0a4182a7854 end msg 116203

I do not know what the messages are about and where they are going .
/var/spool/mail  has nothing in it.
Under vpopmail I have [EMAIL PROTECTED]
The qmail.domain.com is the local machine

It took the system more than one hour to delete the 
/home/user/Maildir/new

directory and /home/user/Maildir/tmp and left /home/user/Maildir/cur.
Now the server is working fine, but qmail did not recreate the new and
tmp directories again.



it's not supposed to.
-Jeremy


Ok, but why qmail was writing to that directory?
Thank you All for your help.
Sam

- Original Message - 
From: Jeremy Kitchen [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Wednesday, November 02, 2005 10:31 PM
Subject: Re: [vchkpw] qmail+vpopmail on redhat 7.3 server gets very busy




Re: [vchkpw] qmail+vpopmail on redhat 7.3 server gets very busy

2005-11-03 Thread Tom Collins

On Nov 3, 2005, at 7:38 PM, Sam wrote:
@4000436ab0a417e5a724 info msg 116176: bytes 2174 from [EMAIL PROTECTED] qp 
20947 uid 501


Looks like doublebounce messages.  What do you have in 
/var/qmail/control/doublebounceto?


I've set my server to have doublebounce in that file, and then put 
# in /var/qmail/alias/.qmail-doublebounce.  That way doublebounces 
are just deleted -- 99.9% of them are crap and not worth looking at 
(e.g., spam from forged return addresses).


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com