Re:

2005-03-09 Thread Andreas Lindström
My specific problem is that my system wont boot because i get a
kmem_malloc error during startup sequence (loading of the kernel
device drivers and modules). The previous errors reported concerning
kmem_malloc problems have gotten a increase kernel virtual memory
size (VM_KMEM setting) and it should be fixed response... actually,
theres one that hasnt gotten an answer at all except upgrade the size
of your memory and thats the one i had referenced in my earlier
message.

And you have totally misunderstood my issue... my system doesnt boot,
and thus i cant run any commands. And the kmem_malloc error randomly
occurs during bootup time and never during the time its in usage.

And so far i dont run ANY services on the server... and the only
things there will be is MySQL, PHP, Apache, mail, X11 libraries and
some other random things. So far only the X11 libraries are installed,
however, i dont see what this has to do with anything since the error
occurs during startup time.

And the question i had is why ANY kernel would need 320 MB+ of memory
on a system like this? Something in the kernel has to be a resource
hog and i want to know which module it is and what i can do to limit
the memory usage (or remove it completely). FreeBSD 4.X runs prefectly
on the server however i do not like using the previous generation
since you never know when support will be killed.

What i want to do is limit the kernels resources so i can securely
boot it on a system with 128MB physical RAM and 256 MB swap, how can i
do this in FreeBSD 5.3? (i find it strange that FreeBSD 5.3 cannot do
this from start, but perhaps i am placing too high demands on a first
release after new technology status)

Greets
  Andreas


On Wed, 9 Mar 2005 01:41:35 -0500, Charles Swiger [EMAIL PROTECTED] wrote:
 On Mar 8, 2005, at 11:02 PM, Andreas Lindström wrote:
  It seems i have the same kmem_malloc problem as some others has had in
  their SMP computers that is running FreeBSD 5.3, however, it is also
  different... my problem doesnt occur after an extended period of
  running the server, it occurs randomly at bootup. Another difference
  is that it is not a 2GB memory machine, it runs at 128MB.
 
 Could you be more specific about the problem you have?
 
  Now, since the previous fixes all said to increase the VM_KMEM
  settings im guessing this wont work for me since i have 128MB physical
  memory and 256MB swap (actually, ive tested it as well, doesnt work).
 [ ... ] say this module is using one hell of
  alot of memory so remove it and decrease the VM_KMEM and it should
  work... seriously, why does the kernel use 320MB+ of memory?
  Something to do with the SMP code?
 
 Which module?
 
 I am almost certain that your kernel is not trying to use 320+ MB of 
 RAM on a machine with 128 MB of physical memory available, so it is 
 likely that you are misunderstanding something.  When you run top, the 
 size of the kernel is best reflected by the wired category.
 
 Speaking of which, what does top or vmstat -s say?
 
  And, if i have to get more memory... how much more should i get? Would
  256MB be enough, or does FreeBSD 5.3 only run on 2GB+ machines now?
 
 What tasks are you running on the machine?  FreeBSD will quite happily 
 work as a mail server, router, firewall, stuff like that in 128MB, but 
 if you are running X11 and a bunch of graphical apps, more RAM would 
 certainly help.
 
 [ If you avoid running a dozen or so virus scanner/antispam perl 
 thingies like SpamAssassin or amavisd with 30MB RSS each, you can run a 
 lightweight mail server fine in 32MB, although FreeBSD 4.x or NetBSD 
 would be better suited for a low-memory environment than FreeBSD 5.x 
 is... ]
 
 -- 
 -Chuck
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re:

2005-03-09 Thread Andreas Lindström
lol, if a kernel not booting on a system with 128MB RAM is trolling
then please make sure the developers add to the hardware requirements:

Oh, and please make sure your system has at least 256MB RAM
(preferrably 512 MB) since we are too 1337 to support older machines
with only 128MB RAM.

And as for those that might be even the slightest interested in
finding a reason behind my random failures to boot (so they can be
fixed, if there is an error), heres the error messages i get:

panic: kmem_malloc(812859392): kmem_map too small: 1392640 total allocated
cpu id = 0
boot() called on cpu#0

And it always occurs just before mounting the root partiton. I have
yet to be able to replicate it reliably so i really dont know what
causes it, i have decided to try and increase the SCSI reset wait time
in hopes that it might be the SCSI cd that causes these problems. (the
cd is the last thing that initializes just before the mount of root)

Any other suggestions are welcome, and i will give status updates.
And... i cannot switch to other linux distros since they do not
support the Mylex raid card and bios version i have, so... if i cant
get this to work im screwed. And windows on a server system... no way
in hell.

Thanks again
  Andreas


On Wed, 9 Mar 2005 07:00:09 -0500, Charles Swiger [EMAIL PROTECTED] wrote:
 On Mar 9, 2005, at 6:49 AM, Andreas Lindström wrote:
 [ ... ]
 
 I hope you find a solution to your problems, but if would help if you 
 provided real error messages, and frankly, a lot of your complaints 
 sound too much like trolling to bother with.  If FreeBSD-4 works fine, 
 use that, or switch to Linux or Windows if they please you better.
 
 -- 
 -Chuck
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[no subject]

2005-03-08 Thread Andreas Lindström
Hi.

It seems i have the same kmem_malloc problem as some others has had in
their SMP computers that is running FreeBSD 5.3, however, it is also
different... my problem doesnt occur after an extended period of
running the server, it occurs randomly at bootup. Another difference
is that it is not a 2GB memory machine, it runs at 128MB.

Now, since the previous fixes all said to increase the VM_KMEM
settings im guessing this wont work for me since i have 128MB physical
memory and 256MB swap (actually, ive tested it as well, doesnt work).
And yes, i have checked all previous bug reports containing the word
kmem, the closest one ive found is this kern/75510. In that report
there still is some unanswered questions though.

So... could anyone think of a way for me to fix this? And please dont
say get more memory, rather, say this module is using one hell of
alot of memory so remove it and decrease the VM_KMEM and it should
work... seriously, why does the kernel use 320MB+ of memory?
Something to do with the SMP code?

And, if i have to get more memory... how much more should i get? Would
256MB be enough, or does FreeBSD 5.3 only run on 2GB+ machines now?

Thanks in advance
  Andreas Lindström
  Sweden
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]