Kmem_malloc freeze me.

Status
Not open for further replies.

BenGonGon

Dabbler
Joined
Jun 23, 2011
Messages
38
Hello,
I have a problem.
Freenas freeze and give few line before :
panic Kmem_malloc (131072) . Kmem_map too small 334520320 allocated.
CPUID = 0
Uptime 13h8m36s
Cannot dump. Device not defined or unavailable.
Automatic reboot in 15 seconds - press a key on the console to abort.
I was previously understanding in reading forum, it is a ram problem.
I have put 8Gb ram and I have always the problem.
Please, who can help?
 

torrin

Moderator
Joined
May 30, 2011
Messages
32
Hello,
I have a problem.
Freenas freeze and give few line before :
I was previously understanding in reading forum, it is a ram problem.
I have put 8Gb ram and I have always the problem.
Please, who can help?

What version are you running (32bit vs 64bit, 8.0R vs 8.01b1/2/3)
 

BenGonGon

Dabbler
Joined
Jun 23, 2011
Messages
38
in system, I have this:
OS Version: FreeBSD 8.2-RELEASE-p1
Platform: Intel(R) Pentium(R) D CPU 3.00GHz
System Time: Thu Jun 23 12:53:34 PDT 2011
Uptime: 12:53PM up 2:07, 0 users
Load Average: 0.05, 0.01, 0.00]
FreeNAS Build: FreeNAS-8.0-RELEASE-i386
and in process :
last pid: 3953; load averages: 0.03, 0.02, 0.00 up 0+02:09:09 12:55:58
32 processes: 1 running, 31 sleeping

Mem: 50M Active, 24M Inact, 117M Wired, 3348K Cache, 95M Buf, 3024M Free
Swap: 10G Total, 10G Free


PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
1463 root 6 44 0 48564K 30352K uwait 0 0:04 0.00% python
1565 root 7 44 0 15820K 7768K ucond 1 0:03 0.00% collectd
1853 www 1 44 0 6292K 3192K kqread 0 0:00 0.00% lighttpd
1944 root 1 76 0 16792K 14228K ttyin 1 0:00 0.00% python
1183 root 1 44 0 10660K 4884K select 0 0:00 0.00% nmbd
1314 root 1 44 0 4744K 2240K select 0 0:00 0.00% ntpd
1618 root 1 76 0 3260K 1284K nanslp 1 0:00 0.00% cron
1417 root 1 44 0 7116K 3736K select 0 0:00 0.00% proftpd
973 root 1 44 0 3232K 1228K select 0 0:00 0.00% syslogd
1187 root 1 44 0 17184K 7348K select 1 0:00 0.00% smbd
1142 root 1 44 0 4480K 2556K nanslp 0 0:00 0.00% smartd
712 root 1 76 0 1888K 584K select 1 0:00 0.00% devd
1947 root 1 76 0 3232K 1080K ttyin 1 0:00 0.00% getty
1948 root 1 76 0 3232K 1080K ttyin 1 0:00 0.00% getty
1946 root 1 76 0 3232K 1080K ttyin 1 0:00 0.00% getty
1950 root 1 76 0 3232K 1080K ttyin 1 0:00 0.00% getty
1951 root 1 76 0 3232K 1080K ttyin 1 0:00 0.00% getty
1945 root 1 76 0 3232K 1080K ttyin 1 0:00 0.00% getty
Can you tell me where I can have this information, please?
 

ohnename

Explorer
Joined
May 26, 2011
Messages
88
You are using the 32bit version so upgrading to 8GB has no effect, on a 32bit system (independent from the OS) you will get only 3.xx GB RAM max.
The Pentium 4 D (socket 775) is able to run a 64bit OS (recommended for FN8), maybe that will solve your problem.
 

BenGonGon

Dabbler
Joined
Jun 23, 2011
Messages
38

ohnename

Explorer
Joined
May 26, 2011
Messages
88
They should change the name, you are not the first one who was thinking AMD64 is AMD only :)
AMD64 means 64bit, this include Intel CPUs with EMT64.
If your CPU is really this one:
Platform: Intel(R) Pentium(R) D CPU 3.00GHz
A Pentium 4 dualcore Socket 775 then you can use the 64bit version
 

BenGonGon

Dabbler
Joined
Jun 23, 2011
Messages
38

Tekkie

Patron
Joined
May 31, 2011
Messages
353
If you don't know that AMD64 means x86-64bit then you probably should not be toying around and building your own NAS, go and buy a COTS NAS device as you will safe yourself a lot of headache. ;)
 

BenGonGon

Dabbler
Joined
Jun 23, 2011
Messages
38
thanks for your comment Tekkie but it is not useful here.

OhneName, I have follow your link and I have see variables to modify.
vm.kmem_size="512M"
vm.kmem_size_max="512M"
vfs.zfs.prefetch_disable="0"
Who can explain me the utility of this variable?
 

Tekkie

Patron
Joined
May 31, 2011
Messages
353
thanks for your comment Tekkie but it is not useful here.
Its actually very useful, building a system like a NAS that uses FreeBSD which is an OS more exotic than Linux requires experience, your comment about AMD64 let me to believe that you are not somebody who 'plays' around with hardware/OS on a regular basis, if that assumption was wrong then please disregard my posting and the rest of this posting and I apologies.

But if my assumption is right then please be careful especially when you start tinkering with kernel parameters because you can loose your music, movies, pictures etc. when things go bad.
 

torrin

Moderator
Joined
May 30, 2011
Messages
32
If you don't know that AMD64 means x86-64bit then you probably should not be toying around and building your own NAS, go and buy a COTS NAS device as you will safe yourself a lot of headache. ;)

Seriously? It fricken says AMD. I have been coding, network engineering, and building computers since before IBM PC's came out and I downloaded the i386 first. If it is a 64bit release it should say 64bit without the AMD. The entire point of FreeNAS is to give folks an EASY way to build a NAS. That was kind of a d-bag comment.
 

BenGonGon

Dabbler
Joined
Jun 23, 2011
Messages
38
Tekkie, I hope I have not hurt you. If yes, I apologise me.

Torrin, thank you, I feel me less alone and ashamed.

I have not habit of linux but I am system administrator of ~50 workstation, 6 blades, 1 cluster and ~10 server in virtual machine. before that, I was in freelance in compter services.

I have choice freenas system for make me a monstruous private storage.
I wish centralise all my data at home.

8GB Ram and 5 x 3 TB HDD in Raidz1

Now we can return in principal subject.

I download and install the 64 bits version, now.
I give you feedback as soon as possible.
 

torrin

Moderator
Joined
May 30, 2011
Messages
32
Tekkie, I hope I have not hurt you. If yes, I apologise me.

Torrin, thank you, I feel me less alone and ashamed.

I have not habit of linux but I am system administrator of ~50 workstation, 6 blades, 1 cluster and ~10 server in virtual machine. before that, I was in freelance in compter services.

I have choice freenas system for make me a monstruous private storage.
I wish centralise all my data at home.

8GB Ram and 5 x 3 TB HDD in Raidz1

Now we can return in principal subject.

I download and install the 64 bits version, now.
I give you feedback as soon as possible.

Good luck. I am running 8GB + 6x1.5TB RaidZ2 here, and with R8.01Beta2, my system is humming along well.
 
Status
Not open for further replies.
Top