Re: Problem sometimes Freebsd crash



You can edit kernel parameters in /etc/sysctl.conf and in
/boot/loader.conf. You typically enter setting changes in /boot/loader.conf
when the values can only be set at boot time or as the kernel is being
loaded. Things like setting shared memory sizes, nmbclusters, etc. are best
put in /boot/loader.conf and typically you'll receive a warning in
/var/log/messages if you place a setting change in /etc/sysctl.conf that
really belongs in /boot/loader.conf.

However, what I was wondering is if you used the kernel that comes with
bwmgr - the kernel that Emerging Technologies provides or if you kept the
GENERIC kernel that comes with the typical FreeBSD installation. It might
be best to use ET's kernel as it probably was compiled with the appropriate
mbuf settings and nmbclusters, etc.

One last consideration - if you adjust the size of nmbclusters in your
/boot/loader.conf file, sometimes you need to increase the size of some
other settings. What settings have you set in /etc/sysctl.conf and/or
/boot/loader.conf ?
D

On 3/31/06, Jorge Evangelista <netsecuredata@xxxxxxxxx> wrote:

Thank for your response, but I my license for support is expired :(
I have to solve this problem. Perhaps, I do not sure, but I believe
that I would edit kernel parameters in /etc/sysctl.conf
I have seen tunning with postgresql and freebsd, mysql and freebsd, I
have found examples about it.
Are there links about it? What are parameters corrects for edit memory
in sysctl.conf?


On 3/30/06, Derrick T. Woolworth <dwoolworth@xxxxxxxxx> wrote:
Jorge,

Are you using the kernel that comes with bwmgr or a custom one you
built?
What other options do you have set besides tweaking the mbufs - if
you're
using your's?

You may need to talk directly to Emerging Technologies - especially if
you're using their licensed version of the software and not the demo.
They'll probably be a lot better at helping you troubleshoot this
problem...

I'm thinking that since this isn't an open source thing it'll probably
be
difficult for the fellows within this community to help, but if ET
doesn't
help you out, reply with some additional information about your system
like
the hardware specs and your custom kernel config, if you built one.

Good Luck,

D




On 3/30/06, Jorge Evangelista <netsecuredata@xxxxxxxxx> wrote:

Hi friends,

My name is Jorge, i am from Peru, excuse me for my english, I have a
server with FreeBSD 4.11-RELEASE #2 and Bandwitdh Manager (bwmgrd),
but I have many problems with it, I have rise up mbuf clusters in my
server to 16384 (It I have made in the file /boot/loader.conf), before
It was configured to 12000. Now I do not have logs about

Mar 3 20:42:57 trafico /kernel: All mbuf clusters exhausted, please
see tuning(7).
Mar 3 20:46:49 trafico /kernel: All mbuf clusters exhausted, please
see tuning(7).
Mar 3 20:46:52 trafico /kernel: All mbuf clusters exhausted, please
see tuning(7).
Mar 9 20:31:24 trafico /kernel: All mbuf clusters exhausted, please
see tuning(7).
Mar 9 20:31:27 trafico /kernel: All mbuf clusters exhausted, please
see tuning(7).

However, sometimes my server still hang, crash. I have to reboot the
server for that I work again. If I have enough memory, why bwmgrd no
use it, I do not why it said 59 requests for memory denied




There are some logs

#netstat -m

1881/9050/16384 mbuf clusters in use (current/peak/max)
20364 Kbytes allocated to network (41% of mb_map in use)
59 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines


This is report of my server memory

# muse -m
Active: 34.305 MB
Inactive: 171.328 MB
Wired: 133.832 MB
Reserved: 1.949 MB
Cache: 0.000 MB
Kernel: 0.133 MB
Interrupt: 0.008 MB
Buffer: 137.203 MB

Total: 1252.453 MB
Free: 912.988 MB


ET/BWMGR Driver v3.25b

Thanks, for your help.

--
"The network is the computer"
_______________________________________________
freebsd-isp@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "
freebsd-isp-unsubscribe@xxxxxxxxxxx"




--
Derrick T. Woolworth, President
ServeTheWeb, LLC. http://www.ServeTheWeb.com


--
"The network is the computer"
_______________________________________________
freebsd-isp@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@xxxxxxxxxxx"




--
Derrick T. Woolworth, President
ServeTheWeb, LLC. http://www.ServeTheWeb.com
_______________________________________________
freebsd-isp@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: W23K-Terminalserver mit Qber_8GB_RAM_?=
    ... schreibst und somit auch bei Windows 2003 Enterprise Edition nur max. ... Wesentlich sinnvoller wären zwei kleinere Server gewesen, ... Jede Applikation bekommt seine eigenen 2 GB User Memory Space. ... Die anderen 2 GB Kernel Memory Space sind zwischen allen ...
    (microsoft.public.de.german.windows.terminaldienste)
  • [UNIX] Linux Kernel do_brk() Vulnerablility (Explained)
    ... Get your security news from a reliable source. ... A critical security bug has been found in the Linux kernel 2.4.22 (and ... earlier) memory management subsystem. ... for the code working at the lowest privilege level. ...
    (Securiteam)
  • Re: Cached memory never gets released
    ... Stock linux 2.4.26 kernel. ... Due to flash bug 3M of memory gets lost due to font memory getting lost ... The output of "free" cache number steadily grows. ... longer to exhaust all of system memory with the cache. ...
    (Linux-Kernel)
  • RE: CONFIG_DEBUG_SLAB_LEAK omits size-4096 and larger?
    ... of memory, ... Remind me what the most recent *bad* kernel was of those you tested? ... run a check under full load (800 + clients). ... So with that many clients all making requests to the server at once, ...
    (Linux-Kernel)
  • Re: inode state
    ... I can not use linuxthreads since my server is also multiplexing via ... If I remove one of the two disks 5.2 boots but the kernel traps as soon as ... >> The system stores most many statistics in memory which is flushed to ...
    (freebsd-questions)