Ace
May 16 2005, 10:12 PM
OK...
When I received my 128MB (cheapest) VPS from EV1, oomguarpages used were over 20,000 of 26,112. I was also getting red zone warning from the fresh default install. After noticing that that SpamAssassin and DrWeb were running, but not usable, I gleaned the following from around the web to remove them:
rpm -qa | grep "drweb" | xargs rpm -e
rpm -qa | grep "spamassassin" | xargs rpm -e
After a reboot, I was using a whopping 2,900 of 26,112 oomguarpages!!! :eek: Removing these unusable programs saved over half of my available RAM...
The system seems stable, and works fine now -- although I am still testing.
Has anyone else had a similar experience? Am I missing something?
(Why is this the default installation, when it is so unusable? Is there anything I should watch out for?)
Thanks!
~Ace
spytrdr
May 17 2005, 01:34 AM
thanks for the tip...
i just removed both things, rebooted the VPS, and now resource usage is much lower and there is a very noticeable increase in responsiveness.
Gary Simat
May 17 2005, 07:45 AM
Yea on my vps's i dont install those packages by default, ive noticed all my clients who install them submit a trouble ticket for resource issues and in the end its the same result of removing them.
spytrdr
May 18 2005, 05:32 PM
i'd like to remove PostgreSQL now...
paulius
May 18 2005, 05:45 PM
QUOTE (spytrdr)
i'd like to remove PostgreSQL now...
I don't even think that it's installed by default! There is support for it... But now installed.
Simon
Jul 11 2005, 02:43 PM
This worked perfectly. I reduced the system load from 56000 to 4792...
Do you think that programs are needed to run the server? I´m referring to spamassassin and drweb. What are their function?
Ty Simon.
Gary Simat
Jul 11 2005, 02:46 PM
spamassasin is a spam scanner for your mail server and drweb scans for viruses, both are not needed and throw load way up.
spytrdr
Jul 11 2005, 04:22 PM
Is there a safe way to remove PostgreSQL? I only use MySQL and don't need it.
Ravean
Jul 25 2005, 12:45 PM
Just ran the:
rpm -qa | grep "drweb" | xargs rpm -e
and
rpm -qa | grep "spamassassin" | xargs rpm -e
First one worked perfectly, the second command returned this messages for each e-mail address (e-mail address changed):
Delete spamassassin preferences from .qmail files for mailnames
Delete for "bob@bob.com"
Can't locate Mail/SpamAssassin.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/CmdManage.pm line 12.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/CmdManage.pm line 12.
Compilation failed in require at /usr/local/psa/admin/sbin/spammng line 45.
Is that ok?
paulius
Jul 25 2005, 10:57 PM
QUOTE (spytrdr)
Is there a safe way to remove PostgreSQL? I only use MySQL and don't need it.
Yes. Simply use the same RPM command to find the package for Postegre.
spytrdr
Aug 3 2005, 04:13 AM
paulius,
just tried but failed, there are dependencies:
error: Failed dependencies:
libpq.so.3 is needed by (installed) perl-DBD-Pg-1.21-2
libpq.so.3 is needed by (installed) php-pgsql-4.3.2-24.ent
StevensOnln1
Aug 6 2005, 10:47 AM
Just remove the dependencies. Those are only the PostgreSQL packages for perl and PHP, so you don't need them if you don't want PostgreSQL installed.
spytrdr
Aug 8 2005, 01:01 PM
cool, that did the trick
pedrodj
Sep 25 2006, 12:15 PM
QUOTE (StevensOnln1)
Just remove the dependencies. Those are only the PostgreSQL packages for perl and PHP, so you don't need them if you don't want PostgreSQL installed.

how can i remove dependencies ?
[root@plesk ~]# rpm -qa | grep "postgres" | xargs rpm -e
error: Failed dependencies:
libpq.so.3 is needed by (installed) php-pgsql-4.3.9-3.18.i386
thank you
markcausa
Sep 26 2006, 08:38 AM
Actually, Spam Assassin was exactly what forced me to double my RAM on my cPanel server!
It's a freakin' hog of RAM. I'm using 1GB now, and there have been no problems anymore.
My server was just running out of RAM before. :eek:
markcausa
Sep 29 2006, 01:51 AM
There's a way to do it right in WHM.
Two steps, actually:
1) Tweak Settings > Uncheck the following
- SpamAssassin Spam Filter
- SpamAssassin Spam Box delivery for messages marked as spam (user configurable)
2) Service Manager > Uncheck the following
-
spamd SpamAssasin Server (if you choose to disable this, you should disable SpamAssasin in tweak settings as well) <-- Which we just did.
These are good instructions for people who prefer the not so scary GUI, instead of SSH.
spytrdr
Sep 29 2006, 02:00 AM
Another option would be to use Google Apps for your Domain, and use Gmail -and its excellent spam filter- with your own domain name instead of *@gmail.com
https://www.google.com/a/
I am seriously considering this.
Paris
Sep 29 2006, 03:34 AM
Many thanks for the advice!
Hector
Sep 29 2006, 09:04 AM
We removed DrWeb and now Qmail doesn't restart.
markcausa
Sep 29 2006, 12:12 PM
Yeah, I did that here:
http://phireme.com
Works great, but I need the whole webmail and pop3 thing going on with custom addresses.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.