best way to debug intermittent system freezes?

2009-01-09 Thread Steve Franks
I've got me a laptop with a very clean, updated 7.1 (stable) install. Started at 7.0. Only problem is about every 2-4 hours it locks up solid - no disk, no keyboard, console frozen (not running X yet, although it's installed and does boot from startx). How do I even go about poking into this?

System freezes on install

2007-03-07 Thread s.moyzis
I have a copy of FreeBSD 4.4, when I try to install from the boot CD, or the 2 floppies, the keyboard/system freezes on Kernal Configuration Menu. I also have 2 HD's, an internal 80 Gb for Windows XP, and a 250 Gb external HD for C; backup and a partition for FreeBSD. It's a one year old

Re: System freezes on install

2007-03-07 Thread Joe Holden
s.moyzis wrote: I have a copy of FreeBSD 4.4, when I try to install from the boot CD, or the 2 floppies, the keyboard/system freezes on Kernal Configuration Menu. I also have 2 HD's, an internal 80 Gb for Windows XP, and a 250 Gb external HD for C; backup and a partition for FreeBSD. It's

Re: System freezes on install

2007-03-07 Thread Paulette McGee
--- s.moyzis [EMAIL PROTECTED] wrote: I have a copy of FreeBSD 4.4, when I try to install from the boot CD, or the 2 floppies, the keyboard/system freezes on Kernal Configuration Menu. I also have 2 HD's, an internal 80 Gb for Windows XP, and a 250 Gb external HD for C; backup

system freezes.

2006-05-22 Thread Brent Rieck
Hello, I've been having some freeze problems with my managed freebsd server that my host has been less than helpful with; I hope that this is the right place to ask the questions I have. os: freebsd 4.8-stable major applications: apache 1.3.29 + php 4.3.10 , mysql 4.1.18-log, dirvish,

Re: system freezes.

2006-05-22 Thread Derek Ragona
Since you say the hardware is all replaced, you should still run hardware diagnostics to verify the new hardware is not also problematic. Also the version of FreeBSD you are running is quite old and beyond its end of life. I would at least update the base OS to 4.11. A freeze like you are

Re: system freezes.

2006-05-22 Thread Chad Leigh -- Shire.Net LLC
At 10:56 AM 5/22/2006, Brent Rieck wrote: Hello, I've been having some freeze problems with my managed freebsd server that my host has been less than helpful with; I hope that this is the right place to ask the questions I have. os: freebsd 4.8-stable major applications: apache 1.3.29 +

Re: system freezes

2006-02-07 Thread Lowell Gilbert
can check the usual culprits for hardware failure, but obviously if it's working okay at the moment, it can be extremely difficult to figure out where the blame lies. If you can figure out whether there are any patterns to when the system freezes, and even what it was doing at the time, you will have

system freezes

2006-02-06 Thread ashas
I'm using freebsd 6.0. After some time my system (router+nfs+ftp) freezes. After 10days I noticed that I cant ping my system. The monitor was kept shutdown so I got no message to screen and pushing any buttons didnt help out to wake up monitor. After reboot I haven't fount anything strange in

Re: maxusers and random system freezes

2002-12-19 Thread Varshavchick Alexander
[EMAIL PROTECTED], Terry Lambert [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: maxusers and random system freezes On Mon, 9 Dec 2002, Varshavchick Alexander wrote: VA the server went to a swap, because it occurs practically instantly, and VA this state

Re: maxusers and random system freezes

2002-12-19 Thread Varshavchick Alexander
[EMAIL PROTECTED] Cc: David Schultz [EMAIL PROTECTED], Terry Lambert [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: maxusers and random system freezes Hi, Despite the increased KVA space (2G now) and the perfect patch of the pthreads mechanism made by David

Re: maxusers and random system freezes

2002-12-13 Thread Terry Lambert
Nate Lawson wrote: On Wed, 4 Dec 2002, Terry Lambert wrote: useful documentation; otherwise, I would have published what I wrote in Pentad Embedded Systems Journal already (example: the ^^^ I appreciate some of the info you give. But every time you

Re: maxusers and random system freezes

2002-12-09 Thread Varshavchick Alexander
[EMAIL PROTECTED] To: Varshavchick Alexander [EMAIL PROTECTED] Cc: Terry Lambert [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: maxusers and random system freezes Thus spake Varshavchick Alexander [EMAIL PROTECTED]: On Fri, 6 Dec 2002, David Schultz wrote: Thus

Re: maxusers and random system freezes

2002-12-09 Thread Dmitry Morozovsky
On Mon, 9 Dec 2002, Varshavchick Alexander wrote: VA the server went to a swap, because it occurs practically instantly, and VA this state goes for hours. The system is lacking some resources, or may be VA a bug somewhere, can you give any hints to it? Hmm, what about logging

Re: maxusers and random system freezes

2002-12-06 Thread Varshavchick Alexander
On Thu, 5 Dec 2002, David Schultz wrote: In FreeBSD, each process has a unique 4G virtual address space associated with it. Not every virtual page in every address space has to be associated with real memory. Most pages can be pushed out to disk when there isn't enough free RAM, and

Re: maxusers and random system freezes

2002-12-06 Thread Varshavchick Alexander
On Thu, 5 Dec 2002, Terry Lambert wrote: ... Are you talking primarily about SHMMAXPGS=262144 option here? Then may be it'll be oevrall better to reduce it and make KVA space 2G, to leave more room for user address space? That's the one I was referring to, yes, but you didn't post your

Re: maxusers and random system freezes

2002-12-06 Thread David Schultz
Thus spake Varshavchick Alexander [EMAIL PROTECTED]: Thank you David for such an excellent explanation. So if sysctl reports vm.zone_kmem_pages: 5413 vm.zone_kmem_kvaspace: 218808320 vm.kvm_size: 1065353216 vm.kvm_free: 58720256 does it mean that total KVA reservation is 1065353216 bytes

Re: maxusers and random system freezes

2002-12-06 Thread Varshavchick Alexander
On Fri, 6 Dec 2002, David Schultz wrote: vm.zone_kmem_pages: 5413 vm.zone_kmem_kvaspace: 218808320 vm.kvm_size: 1065353216 vm.kvm_free: 58720256 does it mean that total KVA reservation is 1065353216 bytes (1G) and almost all of it is really mapped to physical memory because only

Re: maxusers and random system freezes

2002-12-06 Thread David Schultz
Thus spake Varshavchick Alexander [EMAIL PROTECTED]: Well, now I made KVA space 2G, we'll see later on if it helps to get rid of the sudden system halts, but for some reason a side-effect has appeared: pthread_create function returns EAGAIN error now, so I had to recompile the software using

Re: maxusers and random system freezes

2002-12-06 Thread Varshavchick Alexander
On Fri, 6 Dec 2002, David Schultz wrote: Thus spake Varshavchick Alexander [EMAIL PROTECTED]: Well, now I made KVA space 2G, we'll see later on if it helps to get rid of the sudden system halts, but for some reason a side-effect has appeared: pthread_create function returns EAGAIN error

Re: maxusers and random system freezes

2002-12-06 Thread David Schultz
Thus spake Varshavchick Alexander [EMAIL PROTECTED]: On Fri, 6 Dec 2002, David Schultz wrote: Thus spake Varshavchick Alexander [EMAIL PROTECTED]: Well, now I made KVA space 2G, we'll see later on if it helps to get rid of the sudden system halts, but for some reason a side-effect has

Re: maxusers and random system freezes

2002-12-06 Thread Varshavchick Alexander
On Fri, 6 Dec 2002, David Schultz wrote: ... Yes this makes sense, however this call to pthread_create didn't specify any special addresses for the new thread. The pthread_create was called with the NULL attribute which means that the system defaults were being used. Something in the

Re: maxusers and random system freezes

2002-12-05 Thread Varshavchick Alexander
On Wed, 4 Dec 2002, Terry Lambert wrote: grep -B 7 KVA_ /sys/i386/conf/LINT -- Terry Thanks a lot Terry, and will you please correct me if I'm wrong, so I don't mess anything up on a production server? The kernel option in question is KVA_PAGES, correct? Because it's not defined in the

Re: maxusers and random system freezes

2002-12-05 Thread Terry Lambert
Varshavchick Alexander wrote: On Wed, 4 Dec 2002, Terry Lambert wrote: grep -B 7 KVA_ /sys/i386/conf/LINT Thanks a lot Terry, and will you please correct me if I'm wrong, so I don't mess anything up on a production server? The kernel option in question is KVA_PAGES, correct? Yes.

Re: maxusers and random system freezes

2002-12-05 Thread Varshavchick Alexander
On Thu, 5 Dec 2002, Terry Lambert wrote: ... Because it's not defined in the custom server's kernel then it's value default to 256 (FreeBSD 4.5-STABLE), which makes the KVA space to occupy 1G. Then if I make KVA_PAGES=512 (KVA space 2G), will it solve the problem for this particular

Re: maxusers and random system freezes

2002-12-05 Thread Terry Lambert
Varshavchick Alexander wrote: So: 2G might be OK, 3G would be more certain, given you are cranking some things up, in the config you posted, that make me think you will be eating more physical memory. Are you talking primarily about SHMMAXPGS=262144 option here? Then may be it'll be

Re: maxusers and random system freezes

2002-12-05 Thread Varshavchick Alexander
On Thu, 5 Dec 2002, Terry Lambert wrote: IMO, KVA need to be more than half of physical memory. But I tend to use a lot of mbufs and mbuf clusters in products I work on lately (mostly networking stuff). If you don't tune kernel memory usage up, then you may be able to get away with 2G. A

Re: maxusers and random system freezes

2002-12-05 Thread David Schultz
Thus spake Varshavchick Alexander [EMAIL PROTECTED]: A question arises. The value 256 (1G KVA space) acts as a default for any system installation, not depending of real phisical memory size. So for any server with RAM less than 2G (which is a majority I presume) the KVA space occupies more

Re: maxusers and random system freezes

2002-12-05 Thread Jan Grant
On Thu, 5 Dec 2002, Varshavchick Alexander wrote: On Thu, 5 Dec 2002, Terry Lambert wrote: IMO, KVA need to be more than half of physical memory. But I tend to use a lot of mbufs and mbuf clusters in products I work on lately (mostly networking stuff). If you don't tune kernel memory

Re: maxusers and random system freezes

2002-12-05 Thread Varshavchick Alexander
On Thu, 5 Dec 2002, David Schultz wrote: In FreeBSD, each process has a unique 4G virtual address space associated with it. Not every virtual page in every address space has to be associated with real memory. Most pages can be pushed out to disk when there isn't enough free RAM, and

Re: maxusers and random system freezes

2002-12-05 Thread Nate Lawson
On Wed, 4 Dec 2002, Terry Lambert wrote: Marc Recht wrote: Every now and this I hear people saying (mostly you :)) that some problems are KVA related or that the KVA must be increased. This makes me a bit curious, since I've never seen problems like that on Linux. It sounds for me, the

maxusers and random system freezes

2002-12-04 Thread Varshavchick Alexander
Hi people, Can it be so that kernel maxusers=768 value being more than 512 leads to spontaneous system freezes which can take up to several hours when the system is just sleeping (only replying to ping) and doing nothing else, not allowing to telnet or anything. The system is 4.5-STABLE with much

Re: maxusers and random system freezes

2002-12-04 Thread Terry Lambert
Varshavchick Alexander wrote: Can it be so that kernel maxusers=768 value being more than 512 leads to spontaneous system freezes which can take up to several hours when the system is just sleeping (only replying to ping) and doing nothing else, not allowing to telnet or anything. The system

Re: maxusers and random system freezes

2002-12-04 Thread Varshavchick Alexander
On Wed, 4 Dec 2002, Terry Lambert wrote: Varshavchick Alexander wrote: Can it be so that kernel maxusers=768 value being more than 512 leads to spontaneous system freezes which can take up to several hours when the system is just sleeping (only replying to ping) and doing nothing else

Re: maxusers and random system freezes

2002-12-04 Thread Terry Lambert
Varshavchick Alexander wrote: With these settings, and that much physical RAM, you should set your KVA space to 3G (the default is 2G); have you? Most likely, you are running out of KVA space for mappings. No, I didn't do it, and I'm not sure how to perform it, can you please advise?

Re: maxusers and random system freezes

2002-12-04 Thread Marc Recht
With these settings, and that much physical RAM, you should set your KVA space to 3G (the default is 2G); have you? Most likely, you are running out of KVA space for mappings. Every now and this I hear people saying (mostly you :)) that some problems are KVA related or that the KVA must be

Re: maxusers and random system freezes

2002-12-04 Thread Terry Lambert
Marc Recht wrote: Every now and this I hear people saying (mostly you :)) that some problems are KVA related or that the KVA must be increased. This makes me a bit curious, since I've never seen problems like that on Linux. It sounds for me, the not kernel hacker, a bit like something which