Mail scanner locks server

Locked
dasonix
Junior Member
Posts: 3
Joined: 18 May 2007, 21:31

Mail scanner locks server

Post by dasonix »

Hi there,

I have started having a problem where it seems mailscanner is locking the server.

after a reboot all is well then the problem re manifests itself. as below

A child process starts. > CPU goes nuts over 3.00, process is hogging all CPU time this goes on until I notice that its happenign or until for some strange reason MYSQL crashes ???

All the settings were the same since it was installed for me by Chirpy's company, i have lowered max child processes to 1 now but it still happens :( I have currently disabled it in the FE until I can work out the exact problem.

I upgraded to the latest version of all chirpy's scripts today but its still happening.

To be honest I cant say 100% that this is a mailscanner bug but it is always there hogging the CPU when sql crashes and then I have to reboot.

Any advice on which logs to look in to find the reason for this happening?

TY
dasonix
Junior Member
Posts: 3
Joined: 18 May 2007, 21:31

Post by dasonix »

sorry just seen that I ut this in the wrong section :( sorry
dasonix
Junior Member
Posts: 3
Joined: 18 May 2007, 21:31

Post by dasonix »

her eis mor einfo fo ryou

login as: root
root@72.232.42.68's password:
Last login: Fri May 18 20:27:50 2007 from i-195-137-90-94.freedom2surf.net
ALERT! You are entering a secured area! Your IP and login information
have been recorded. System administration has been notified.

This system is restricted to authorized access only. All activities on
this system are recorded and logged. Unauthorized access will be fully
investigated and reported to the appropriate law enforcement agencies.
/tmp/RsvLtSsd: Read-only file system
root@beta [~]# top
top - 21:53:01 up 17 min, 0 users, load average: 1.79, 1.73, 1.01
Tasks: 42 total, 3 running, 39 sleeping, 0 stopped, 0 zombie
Cpu(s): 99.0%us, 1.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1019192k total, 364004k used, 655188k free, 12640k buffers
Swap: 2040244k total, 0k used, 2040244k free, 165036k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2284 mailnull 25 0 92924 82m 3400 R 49.8 8.3 0:13.98 MailScanner: starting child
2286 mailnull 25 0 94520 83m 3560 R 49.8 8.4 0:13.77 MailWatch SQL
1 root 15 0 2008 676 588 S 0.0 0.1 0:00.57 init [3]
2 root 34 19 0 0 0 S 0.0 0.0 0:00.00 [ksoftirqd/0]
3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 [watchdog/0]
4 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 [events/0]
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 [khelper]
6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 [kthread]
9 root 14 -5 0 0 0 S 0.0 0.0 0:00.00 [kblockd/0]
10 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 [kacpid]
75 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 [cqueue/0]
78 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 [khubd]
80 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 [kseriod]
141 root 25 0 0 0 0 S 0.0 0.0 0:00.00 [pdflush]
142 root 15 0 0 0 0 S 0.0 0.0 0:00.00 [pdflush]
143 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 [kswapd0]
144 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 [aio/0]
293 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 [kpsmoused]
310 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 [ata/0]
311 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 [ata_aux]
315 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 [scsi_eh_0]
316 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 [scsi_eh_1]
335 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 [kjournald]
373 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 [kauditd]
398 root 21 -4 2088 600 388 S 0.0 0.1 0:00.28 /sbin/udevd -d
897 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 [kmirrord]
1438 root 15 0 1816 476 404 S 0.0 0.0 0:00.00 /usr/bin/hidd --server
1470 root 22 0 1956 496 276 S 0.0 0.0 0:00.00 /usr/sbin/smartd -q never
1488 root 18 0 4992 1108 796 S 0.0 0.1 0:00.00 /usr/sbin/sshd
1722 root 15 0 3960 1232 644 S 0.0 0.1 0:00.00 antirelayd
1803 mailnull 15 0 25264 18m 1128 S 0.0 1.9 0:00.14 MailScanner: starting child
1979 root 17 0 17032 9448 328 S 0.0 0.9 0:00.00 cpdavd - accepting connections on 2077 and 2078
1990 root 34 19 10156 6668 1796 S 0.0 0.7 0:00.06 cpanellogd - sleeping for logs
2068 root 18 0 1584 412 356 S 0.0 0.0 0:00.00 /sbin/mingetty tty1
2069 root 18 0 1588 412 356 S 0.0 0.0 0:00.00 /sbin/mingetty tty2
2080 root 18 0 1588 452 388 S 0.0 0.0 0:00.00 /sbin/mingetty tty3
2083 root 18 0 1584 412 356 S 0.0 0.0 0:00.00 /sbin/mingetty tty4
2086 root 18 0 1584 412 356 S 0.0 0.0 0:00.00 /sbin/mingetty tty5
2089 root 18 0 1584 412 356 S 0.0 0.0 0:00.00 /sbin/mingetty tty6
2221 root 15 0 7684 2112 1732 S 0.0 0.2 0:00.05 sshd: root@pts/0
2223 root 15 0 4576 1476 1212 S 0.0 0.1 0:00.02 -bash
2280 root 18 0 2156 968 788 R 0.0 0.1 0:00.16 top

its early days after a reboot and most services are switched off on the server.
but as you can see mailscanner and mailSQL are hoggin the CPU
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

You're posting in a forum that's for the discussion of our cmq script. We don't have a public forum for MailScanner.
Locked