Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 11:28:21 +0100
From:      David Holm <david@realityrift.com>
To:        stable@FreeBSD.ORG
Subject:   serious perl issue
Message-ID:  <20030226112821.47bb339c.david@realityrift.com>

next in thread | raw e-mail | index | archive | help
Hi,
I installed FreeBSD 4.7 on my SMP machine (2xP3) a couple of weeks ago.
The problem I'm having is that something is spawning alot of perl processes that never die.
After having the machine running for 10 hours almost all of my ram and about 50% of the swap is
filled with perl processes that never seem to die. After about two days the machine is totally
useless and my vnc session dies as soon as I log in to it (I'm assuming it's because there is no
ram and the swap is full).
I have upgraded to the latest world and kernel from RELENG_4 and all installed applications are
up to date. I have tried using both perl 5.6 from ports and the one that comes with 4.7 and I
still have the same problem.
I'm totally stuck here as I have no idea what is causing this, I never had this problem on my
newer P3 with 4.7 on.
This is what top looks like after 9hours (sorted by reserved mem size):

last pid: 45833;  load averages:  0.51,  0.51,  0.42    up 6+01:05:36  11:27:00
146 processes: 1 running, 144 sleeping, 1 stopped
CPU states:  7.4% user,  0.0% nice, 11.7% system,  1.9% interrupt, 79.0% idle
Mem: 108M Active, 18M Inact, 53M Wired, 6888K Cache, 29M Buf, 572K Free
Swap: 368M Total, 161M Used, 208M Free, 43% Inuse, 8K In

  PID USERNAME PRI NICE  SIZE    RES STATE  C   TIME   WCPU    CPU COMMAND
55649 avatar     2   0 26468K 14228K select 1 369:36 12.79% 12.79% Xvnc
45444 avatar     2   0 32700K 13296K poll   1   0:14  0.00%  0.00% konqueror
45460 avatar     2   0 19392K  7368K poll   0   0:27  2.00%  2.00% kdeinit
45458 avatar     2   0 17768K  6512K poll   0   0:00  0.00%  0.00% kdeinit
45464 avatar     2   0 17300K  6344K poll   0   0:00  0.00%  0.00% kdeinit
55821 avatar     2   0 13568K  6344K poll   0   6:58  0.00%  0.00% sylpheed-cla
55724 avatar     2   0 20492K  6028K poll   1  18:57  0.00%  0.00% sim
45454 avatar     2   0 17268K  5920K poll   0   0:00  0.00%  0.00% kdeinit
45451 avatar     2   0 17140K  5904K poll   0   0:00  0.00%  0.00% kdeinit
45801 root      10   0  4096K  3540K nanslp 0   0:00  0.00%  0.00% perl
45568 root      10   0  4096K  3436K nanslp 0   0:00  0.00%  0.00% perl
55702 avatar     2   0  6048K  1944K poll   1   7:13  0.00%  0.00% irssi
45332 root      10   0  4096K  1884K nanslp 1   0:00  0.00%  0.00% perl
55664 avatar     2   0 15840K  1840K poll   1 301:59  6.45%  6.45% gkrellm
39600 root      10   0  4096K  1732K nanslp 1   0:03  0.00%  0.00% perl
39708 root      10   0  4096K  1732K nanslp 0   0:03  0.00%  0.00% perl
39810 root      10   0  4096K  1732K nanslp 0   0:03  0.00%  0.00% perl
40015 root      10   0  4096K  1732K nanslp 0   0:03  0.00%  0.00% perl
40114 root      10   0  4096K  1732K nanslp 0   0:02  0.00%  0.00% perl
38641 root      10   0  4096K  1728K nanslp 0   0:04  0.00%  0.00% perl
38695 root      10   0  4096K  1728K nanslp 1   0:04  0.00%  0.00% perl
38874 root      10   0  4096K  1728K nanslp 1   0:03  0.00%  0.00% perl
38941 root      10   0  4096K  1728K nanslp 0   0:03  0.00%  0.00% perl
39013 root      10   0  4096K  1728K nanslp 1   0:03  0.00%  0.00% perl
41659 root      10   0  4096K  1728K nanslp 0   0:02  0.00%  0.00% perl
41815 root      10   0  4096K  1728K nanslp 1   0:02  0.00%  0.00% perl
42493 root      10   0  4096K  1728K nanslp 0   0:01  0.00%  0.00% perl
43237 root      10   0  4096K  1728K nanslp 1   0:01  0.00%  0.00% perl
43428 root      10   0  4096K  1728K nanslp 1   0:01  0.00%  0.00% perl
44062 root      10   0  4096K  1728K nanslp 0   0:01  0.00%  0.00% perl
44265 root      10   0  4096K  1728K nanslp 0   0:01  0.00%  0.00% perl
44663 root      10   0  4096K  1728K nanslp 1   0:00  0.00%  0.00% perl
44893 root      10   0  4096K  1728K nanslp 0   0:00  0.00%  0.00% perl
45118 root      10   0  4096K  1728K nanslp 1   0:00  0.00%  0.00% perl
54613 root      10   0  4096K  1724K nanslp 0   0:04  0.00%  0.00% perl
39246 root      10   0  4096K  1724K nanslp 1   0:03  0.00%  0.00% perl

//David Holm

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030226112821.47bb339c.david>