RELENG_8 pf stack issue (state count spiraling out of control)

Daniel Hartmeier daniel at benzedrine.cx
Tue May 3 08:48:02 UTC 2011


On Mon, May 02, 2011 at 06:58:54PM -0700, Jeremy Chadwick wrote:

> Status: Enabled for 76 days 06:49:10          Debug: Urgent

> The "pf uptime" shown above, by the way, matches system uptime.

> ps -axl
> 
>   UID   PID  PPID CPU PRI NI   VSZ   RSS MWCHAN STAT  TT       TIME COMMAND
>     0   422     0   0 -16  0     0     0 pftm   DL    ??  1362773081:04.00 [pfpurge]

This looks weird, too. 1362773081 minutes would be >2500 years.

Usually, you should see [idle] with almost uptime in minutes, and
[pfpurge] with much less, like in

  # uptime
  10:22AM  up 87 days, 19:36, 1 user, load averages: 0.00, 0.03, 0.05
  # echo "((87*24)+19)*60+36" | bc
  126456

  # ps -axl
  UID   PID  PPID CPU PRI NI   VSZ   RSS MWCHAN STAT  TT       TIME COMMAND
    0     7     0   0  44  0     0     8 pftm   DL    ??    0:13.16 [pfpurge]
    0    11     0   0 171  0     0     8 -      RL    ??  124311:23.04 [idle]

How is time handled on your machine? ntpdate on boot and then ntpd?
Any manual time changes since the last boot?

Daniel


More information about the freebsd-pf mailing list