Hi

I check some information on my system:

vmstat -m

Name        Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg
Idle
...
pfrktable   1240     5434    5     4434   334     0   334   334     0   334
0
...
The rest seems to be OK.

I try to increase the memory for the table in pf.conf
set limit tables          10000 # default   1000

But nothing is changed.

By doing a pfctl -F rules -f /etc/pf.conf the rules are implemented.

Which value do I need to change so that it can work without problems ?

Regards


> -----Message d'origine-----
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> De la part de Christophe Rioux
> Envoyi : mardi 16 septembre 2008 17:33
> @ : [email protected]
> Objet : OpenBSD 3.9 -> 4.3: pfctl Cannot allocate memory
>
> Hi,
>
> During a manual migration (installation with 4.3 CD, and renew the
> configuration manually), I get this error message:
>
> # pfctl -f pf.conf
> pfctl: failed to create table __automatic_e11ee055_282 in :
> Cannot allocate
> memory
> pfctl in free(): error: chunk is already free
> Abort trap (core dumped)
>
> I check some informations:
>
> New system:
> pfctl -sm
> states        hard limit    10000
> src-nodes     hard limit    10000
> frags         hard limit     5000
> tables        hard limit     1000
> table-entries hard limit   200000
> Top:
> 27 processes:  26 idle, 1 on processor
> CPU states:  2.7% user,  0.0% nice,  0.1% system,  0.1%
> interrupt, 97.1%
> idle
> Memory: Real: 19M/95M act/tot  Free: 401M  Swap: 0K/518M used/tot
>
> Old system:
> pfctl -sm
> states        hard limit    10000
> src-nodes     hard limit    10000
> frags         hard limit     5000
> tables        hard limit     1000
> table-entries hard limit   100000
> Top:
> 31 processes:  1 running, 29 idle, 1 on processor
> CPU states:  0.0% user,  0.0% nice,  100% system,  0.0%
> interrupt,  0.0%
> idle
> Memory: Real: 16M/67M act/tot  Free: 179M  Swap: 0K/2002M used/tot
>
> Somebody an idea ?
>
> As next, I found another issue. I try to send mail from the
> new serveur: I
> get the error message (in /var/spool/clientmqueue). Actually
> pf is disable.
> T1221580802
> K1221580802
> N1
> P31471
> I0/0/130550
> MDeferred: [127.0.0.1]: Network is unreachable
> Frs
> $_localhost
> $r
> $slocalhost
> ${daemon_flags}c u
> SMAILER-DAEMON
> MDeferred: [127.0.0.1]: Network is unreachable
> C:root
>
> Thanks for help
> Christophe

Reply via email to