Correction. In 1. d. I meant to say:
d. e2fsck -D /dev/sdb1 (or whatever you have) Best wishes, Edwin From: [email protected] To: [email protected] Date: Tue, 10 Feb 2015 22:53:23 +0800 Subject: RE: [qmailtoaster] qmailtoaster CPU 96.8% please help me That many users and that much email / spam coming in needs a special configuration to handle. That is a big amount of users for a 32 bit toaster. Here is what I would do: 1. Make sure your file system ext3 / ext4 is using the feature dir_index Turn off qmailtoaster a. open a terminal, unmount your /home or /home/vpopmail partition (if you have everything on root then you have to boot from a separate drive) b. tune2fs -O dir_index /dev/sdb1 (or whatever you have) c. updatedb d. e2fsck -D /dev/hdXY Mount your drive and run qmailtoaster Or restart if you feel like it. This will allow your filesystem to handle very large inboxes with 3,000++ emails. 2. Convert Courier IMAP to Dovecot... it is much faster and will take care of those very long list of files in most people's inboxes... when they reach 3,000 it's too hard for Courier. 3. Switch to CentOS 64 bit. And give more memory. Get a better CPU... i7-4770k, Xeon3, etc. 4. If you are on a Virtual Machine, get more CPU power, 2,3,4. 5. You need to separate the Anti-Spam and Anti-Virus processing to another machine, just feed your qmailtoaster cleansed emails. 6. Move out webmail to another machine or several machines. It will be fun. Best wishes, Edwin > From: [email protected] > Date: Tue, 10 Feb 2015 15:32:54 +0100 > To: [email protected] > Subject: Re: [qmailtoaster] qmailtoaster CPU 96.8% please help me > > hello, > thanks for your kind response. > I think I have between 400-600 members, but I would not know how to > find the exact number. > what should I do to prevent my server locks? > > > > > 2015-02-10 15:15 GMT+01:00 Edwin C <[email protected]>: > > How many users? > > > > 500 users? 1000 users? > > > > I will answer based on how many. > > > >> From: [email protected] > >> Date: Tue, 10 Feb 2015 14:12:53 +0100 > >> To: [email protected] > >> Subject: Re: [qmailtoaster] qmailtoaster CPU 96.8% please help me > > > >> > >> Hello Sebastian, > >> thanks for you replay. > >> > >> in my server, actually, there are many many users. > >> this overload problem manifests itself especially in the morning. > >> What should I do? I have already given more ram, 4GB (server is 32 > >> bit) and multiple cores. > >> > >> logs, apache I noticed that there are also several ip of foreign > >> countries and not only in my country. > >> > >> You could give me some guidance on what to check? > >> > >> > >> 2015-02-10 13:58 GMT+01:00 Sebastian Grewe <[email protected]>: > >> > Enable status module, enable extended status, then run apachectl > >> > fullstatus. Returns a list of all current and past connections to workers > >> > with their IP and the target URL. > >> > > >> > If you have a ton of users, this may be normal. If it suddenly spiked it > >> > may be a exploit scan or DOS? > >> > > >> > - Sebastian > >> > > >> >> On 10 Feb 2015, at 13:51, Giuseppe Perna <[email protected]> wrote: > >> >> > >> >> hello, > >> >> i have this problem whit my server: > >> >> the httpd process allocates many resources and blocks nearly the > >> >> server. > >> >> how can I see who stops me the server? > >> >> > >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
