List Info

Thread: How many processes & no responce on telnet port 25




How many processes & no responce on telnet port 25
user name
2006-12-21 16:13:45
>top - 09:09:34 up 2 days, 12:59,  5 users,  load
average: 3.60, 2.65, 2.25
>Tasks: 228 total,   2 running, 226 sleeping,   0
stopped,   0 zombie
>Cpu(s): 60.8%us,  8.4%sy,  0.0%ni, 14.6%id, 12.6%wa, 
0.0%hi,  3.6%si,
>0.0%st
>Mem:   2068124k total,  1925684k used,   142440k free,  
 40744k buffers
>Swap:  1558264k total,      108k used,  1558156k free,  
336532k cached
>
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM   
TIME+  COMMAND
>  2768 mysql     15   0  586m 451m 4668 S  9.0 22.4 
72:55.20 mysqld
>  3965 root      15   0 22012  10m 8784 S  9.0  0.5 
40:31.97 vino-server
>  3024 root      15   0  151m  16m  10m S  8.1  0.8 
18:34.22 X
>23316 vscan     16   0 87184  79m 3188 S  6.5  3.9  
0:03.67 amavisd
>23177 vscan     15   0 82052  74m 3168 S  6.1  3.7  
0:01.36 amavisd
>23146 vscan     17   0 84492  76m 3224 S  5.2  3.8  
0:04.59 amavisd
>23214 vscan     17   0 84176  76m 3184 S  4.5  3.8  
0:02.57 amavisd
>23301 vscan     15   0 86196  78m 3196 S  3.6  3.9  
0:02.76 amavisd
>23120 vscan     16   0 84652  77m 3240 S  2.9  3.8  
0:04.84 amavisd
>23132 vscan     16   0 85828  78m 3228 S  2.6  3.9  
0:04.92 amavisd
>  2661 vscan     16   0 72372  35m 1472 S  1.6  1.8 
23:33.27 clamd
>  1971 root      15   0  1900  796  588 S  1.0  0.0  
4:36.40 syslog-ng
>  4044 vscan     16   0 17524  14m 2776 S  1.0  0.7 
17:49.58 postgrey
>23199 postfix   15   0  5356 2324 1836 S  0.6  0.1  
0:00.14 smtpd
>22924 postfix   15   0  5208 2220 1724 S  0.3  0.1  
0:00.35 qmgr
>23114 vscan     15   0 85356  77m 3240 S  0.3  3.8  
0:05.98 amavisd
>23220 postfix   15   0  5396 2472 1924 S  0.3  0.1  
0:00.06 smtpd

Memory looks good but this server is working very very hard.

A couple things that may help Postfix somewhat.

smtpd_hard_error_limit = 7
smtpd_soft_error_limit = 5

This gets rid of bad clients faster.

This will limit how many connections one client is allowed
to make at one 
time (changed from a default of 50 to 25):

smtp      inet  n       -       n       -       200      
smtpd
   -o content_filter=smtp-amavis:[127.0.0.1]:10024
   -o smtpd_client_connection_count_limit=25

>Dec 21 06:15:11 gateway1 amavis[18558]: (18558-06) WARN:
MIME::Parser 
>error:
>part did not end with expected boundary
>Dec 21 06:15:11 gateway1 amavis[18558]: (18558-06)
providing full original
>message to scanners as
>/var/spool/amavis/tmp/amavis-20061221T060509-18558/parts
/p004, MIME error:
>error: part did not end with expected boundary

As this post says:
http://www.ma
il-archive.com/amavis-userlists.sourceforge.net/msg07019.html
it may be a result of trying to decode a bounce that
contains a truncated 
portion of the original message, so I'm not sure it's a show
stopper.

Now if you could temporarily raise $log_level to 3 and get
some TIMING info, 
we can see how long it takes amavisd-maia to scan a message,
and where is 
spends all of its time. These links may be interesting
reading too:

htt
p://www200.pair.com/mecham/spam/mysqlspeed.txt
http://www.mysqlp
erformanceblog.com/2006/09/29/what-to-tune-in-mysql-server-a
fter-installation/
http://www.mysql.com/news-and-events/new
sletter/2003-11/a0000000269.html

It looks like your system is so busy right now your
processor can't keep up. 
It appears either the load needs to be reduced somehow, or
you need a bigger 
boat (more powerful machine).

Gary V

____________________________________________________________
_____
Type your favorite song.  Get a customized station.  Try MSN
Radio powered 
by Pandora. http://rad
io.msn.com/?icid=T002MSN03A07001

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
How many processes & no responce on telnet port 25
user name
2006-12-21 16:20:46
This is kind of how my server would look under heavy load
before I got mySQL
tuned properly. The one thing that made the biggest
difference for me was:
innodb_buffer_pool_size=384M. This wasn't set before so the
default value is
something like 8M or 32M, something small, causing needless
disk thrashing
and slowing everything way down whenever load increased.

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )