This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

mdw_daemon.pl

Hello,
i'm having the mdw_daemon.pl eating many many CPU and RAM. Yesterday i put another 256 mb ram on the machine because my swap space was too big and there was lot of swap I/O operations. I report a 'top' snapshot'. I Searched this group for similar problem and i found this but no solutions...


top - 09:51:31 up 14:31,  1 user,  load average: 1.58, 1.24, 0.74
Tasks: 103 total,   4 running,  98 sleeping,   0 stopped,   1 zombie
Cpu(s):  94.8% user,   5.2% system,   0.0% nice,   0.0% idle
Mem:    515532k total,   500100k used,    15432k free,    48932k buffers
Swap:  1052248k total,    60908k used,   991340k free,    39060k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
  597 root      25   0  164m 164m 2976 R 88.2 32.6  38:02.82 mdw_daemon.pl
 1076 root      15   0 49348  44m  668 S  4.3  8.9   2:04.84 snort_inline
 1307 root      15   0   432  404  104 S  1.6  0.1   0:36.63 nacctd
  628 root      15   0  7440 7440 2324 S  1.3  1.4   7:00.32 selfmonng.pl
12165 root      15   0   960  960  720 R  1.3  0.2   0:00.24 top
 1198 root      15   0  2168 1628  740 R  1.0  0.3   0:33.61 hyperdyper
  390 root      15   0  2536 2404 2052 S  0.7  0.5   0:13.22 alicd
 2421 chroot    15   0   848  736  604 S  0.7  0.1   0:10.82 sockd
  214 root      15   0   892  880  520 S  0.3  0.2   0:29.03 syslog-ng
 1271 chroot    15   0 37212  34m  13m S  0.3  6.9   0:54.12 squidf
12069 loginuse  15   0  1928 1864 1704 R  0.3  0.4   0:00.09 sshd
    1 root      15   0   228  228  188 S  0.0  0.0   0:05.25 init
    2 root      15   0     0    0    0 S  0.0  0.0   0:00.00 keventd
    3 root      34  19     0    0    0 S  0.0  0.0   0:01.02 ksoftirqd_CPU0
    4 root      15   0     0    0    0 S  0.0  0.0   0:01.06 kswapd
    5 root      16   0     0    0    0 S  0.0  0.0   0:00.02 bdflush


This thread was automatically locked due to age.
Parents
  • Hi,

    mdw is the middleware process. But it souldnt use that amount of resources. There should be a log file under /var/log/mdw.log. Maybe there is a trace to the problem in the log.

    Chris
  • I found some error like this but the log file isn't too big... (about 43k)


    2005:06:30-16:08:16 (none) middleware[597]: =========================================================================
    2005:06:30-16:08:16 (none) middleware[597]: modules::IPRoute::ip_route_cmd() => Failed: /sbin/ip route add 62.94.184.56/29 dev eth1
    2005:06:30-16:08:16 (none) middleware[597]: modules::IPRoute at /PerlApp/modules/IPRoute.pm line 520.
    2005:06:30-16:08:16 (none) middleware[597]:
    2005:06:30-16:08:16 (none) middleware[597]: modules::Error::Error
    2005:06:30-16:08:16 (none) middleware[597]: modules::IPRoute::ip_route_cmd
    2005:06:30-16:08:16 (none) middleware[597]: modules::IPRoute::ip_route_add
    2005:06:30-16:08:16 (none) middleware[597]: modules::routes::setAll
    2005:06:30-16:08:16 (none) middleware[597]: modules::Config::load
    2005:06:30-16:08:16 (none) middleware[597]:
    2005:06:30-16:08:16 (none) middleware[597]: =========================================================================
Reply
  • I found some error like this but the log file isn't too big... (about 43k)


    2005:06:30-16:08:16 (none) middleware[597]: =========================================================================
    2005:06:30-16:08:16 (none) middleware[597]: modules::IPRoute::ip_route_cmd() => Failed: /sbin/ip route add 62.94.184.56/29 dev eth1
    2005:06:30-16:08:16 (none) middleware[597]: modules::IPRoute at /PerlApp/modules/IPRoute.pm line 520.
    2005:06:30-16:08:16 (none) middleware[597]:
    2005:06:30-16:08:16 (none) middleware[597]: modules::Error::Error
    2005:06:30-16:08:16 (none) middleware[597]: modules::IPRoute::ip_route_cmd
    2005:06:30-16:08:16 (none) middleware[597]: modules::IPRoute::ip_route_add
    2005:06:30-16:08:16 (none) middleware[597]: modules::routes::setAll
    2005:06:30-16:08:16 (none) middleware[597]: modules::Config::load
    2005:06:30-16:08:16 (none) middleware[597]:
    2005:06:30-16:08:16 (none) middleware[597]: =========================================================================
Children
No Data