DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th June 2008
ccc ccc is offline
Shell Scout
 
Join Date: May 2008
Posts: 97
Thanked 0 Times in 1 Post
Default Approaching the limit on PV entries

hi

I have freeBSD 7.0 and get a lot of these messages:
Code:
Jun 12 01:00:01 bsd kernel: Approaching the limit on PV entries, 
consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
howto solve this problem ?
Reply With Quote
  #2   (View Single Post)  
Old 11th June 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,245
Thanked 182 Times in 149 Posts
Default

What is the output of
Code:
# sysctl vm.pmap.shpgperproc
# sysctl vm.pmap.pv_entry_max
You could set these to a higher value. There probably are also sysctl variables which tell you how much of these maximum values you are using now.

I don't have access to a FBSD box at the moment so this is all the help I can give you at this moment
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 11th June 2008
ccc ccc is offline
Shell Scout
 
Join Date: May 2008
Posts: 97
Thanked 0 Times in 1 Post
Default

Code:
# sysctl vm.pmap.shpgperproc
vm.pmap.shpgperproc: 200
# sysctl vm.pmap.pv_entry_max
vm.pmap.pv_entry_max: 448896
how can I change this ?
Reply With Quote
  #4   (View Single Post)  
Old 12th June 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,245
Thanked 182 Times in 149 Posts
Default

See the man pages for sysctl and syscontrol.conf
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #5   (View Single Post)  
Old 13th June 2008
ccc ccc is offline
Shell Scout
 
Join Date: May 2008
Posts: 97
Thanked 0 Times in 1 Post
Default

i tried to set:
Code:
# sysctl kern.ipc.shm_use_phys=1
but it doesn't help.
Reply With Quote
  #6   (View Single Post)  
Old 13th June 2008
ccc ccc is offline
Shell Scout
 
Join Date: May 2008
Posts: 97
Thanked 0 Times in 1 Post
Default

Quote:
Originally Posted by J65nko View Post
What is the output of
Code:
# sysctl vm.pmap.shpgperproc
# sysctl vm.pmap.pv_entry_max
You could set these to a higher value. There probably are also sysctl variables which tell you how much of these maximum values you are using now.

I don't have access to a FBSD box at the moment so this is all the help I can give you at this moment

I tried to change, but it doesn't work:
Code:
# sysctl -a | grep vm.pmap.shpgperproc
vm.pmap.shpgperproc: 200
# sysctl -a | grep vm.pmap.pv_entry_max
vm.pmap.pv_entry_max: 448896

# sysctl vm.pmap.shpgperproc=400
sysctl: oid 'vm.pmap.shpgperproc' is read only
# sysctl vm.pmap.pv_entry_max=8000000
sysctl: oid 'vm.pmap.pv_entry_max' is read only
Reply With Quote
  #7   (View Single Post)  
Old 14th June 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,245
Thanked 182 Times in 149 Posts
Default

Maybe the securelevel is preventing you from setting these. But because of a house move, I don't have a FreeBSD system available to give you further assistance on this.

I suggest you google at http://google.com/bsd for vm.pmap.shpgperproc
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Limit Bandwidth (not throughput) plexter OpenBSD Security 5 9th October 2008 05:10 PM
limit use memory by Apache mfaridi FreeBSD Security 4 8th July 2008 05:59 PM
Apache data transfer limit cajunman4life General software and network 5 7th June 2008 05:13 PM
Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperp yurtesen FreeBSD General 14 18th May 2008 09:00 AM


All times are GMT. The time now is 07:14 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick