how to diagnose server freeze with ddb?

2011-05-11 Thread cronfy
advance! -- // cronfy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

7.3 - optimizing filesystem - cache all metadata

2011-04-19 Thread cronfy
Hello! I have FreeBSD 7.3 server that is used for web sites. It performs many filesystem operations, so filesystem performance is very important. I am looking how can it be improved. I already use vfs.lookup shared=1, it helped me some time ago to decrease CPU time usage on filesystem operations.

memoryuse vs vmemoryuse

2010-12-06 Thread cronfy
Hello! I am trying to set user limits in login.conf, and I see there are 'memoryuse' and 'vmemoryuse'. Handbook describes only the former.. What is the difference between them? -- // cronfy ___ freebsd-questions@freebsd.o

Rescan hard drives

2010-11-23 Thread cronfy
camcontrol: couldn't open /dev/xpt0: No such file or directory They do not work :( Would be appreciated for any hint. -- // cronfy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubs

Re: zfs on 7.3 with 7.2 world

2010-11-15 Thread cronfy
ld. (I would suggest using 8.1 though.) > > If it would be my own desktop I surely did upgrade it as described and switched to 8.1 too. But this is a production server, so I am trying to keep changes as minimal as possible and only if changes are required indeed. -- // cronfy ___

zfs on 7.3 with 7.2 world

2010-11-14 Thread cronfy
? Thanks. -- // cronfy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

fsck reports errors on clean filesystem (mounted rw)

2010-09-10 Thread cronfy
, 7.2/world. Thanks in advance. -- // cronfy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

quotaon stucked in 'syncer' state

2010-05-08 Thread cronfy
5 0:00 0.00% quotaon Is there any way to finish these stucked processes without reboot? -- // cronfy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any

Re: User cpu time VS system cpu time

2010-05-06 Thread cronfy
ot. System is getting back to normal after Apache restart (I think this is related to Apache shared memory somehow, but not sure). This makes me suspect that system time in sa can not be relied on while measuring user system usage, because it notably varies under some circumstances for same ope

User cpu time VS system cpu time

2010-05-03 Thread cronfy
this process performs many waits for, say, I/O operations? Thanks in advance! -- // cronfy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-ques

Unique process id (not pid) and accounting daemon

2010-01-24 Thread cronfy
ting file after it finishes. Am I looking in a right direction or should I try some other way? Thanks in advance. -- // cronfy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, s

Unique id of a process (not pid)

2010-01-21 Thread cronfy
track these shifts too, but it looks to be too complex. Is there any simpler way to identify a process? Thanks in advance. -- // cronfy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe

Re: Max kernel dump size

2009-12-28 Thread cronfy
memory used and assume that kernel dump will not get larger than, say, Active memory + 50%? -- // cronfy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Max kernel dump size

2009-12-26 Thread cronfy
Hello everybody. How can I calculate max kernel dump size? I want to create my swap partition as small as possible, just to fit kernel dump needs. Thanks. -- // cronfy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: FreeBSD is too filesystem errors sensitive

2009-12-21 Thread cronfy
pdates + Write cache. Probably, someone have done this already? -- // cronfy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: FreeBSD is too filesystem errors sensitive

2009-12-08 Thread cronfy
panics like 'freeing free block' or 'ffs_valloc: dup alloc' Is there a way to say "Dear kernel, don't panic, I'am holding your hand, keep working please-please-please?" If so, can it lead to complete filesystem corruption indeed or it is not so serious? Afaik you can't do this. And you sh

Re: FreeBSD is too filesystem errors sensitive

2009-12-08 Thread cronfy
... Is there a way to say "Dear kernel, don't panic, I'am holding your hand, keep working please-please-please?" If so, can it lead to complete filesystem corruption indeed or it is not so serious? Drop to DDB, fix it, and 'continue'? If I type 'continue' kernel says 'Dumping... rebo

Re: FreeBSD is too filesystem errors sensitive

2009-12-08 Thread cronfy
.. but the hell why is it required to panic and kill everything that would be working happily even if something very disasterous happen to /backup partition, in example? All those errors indicate file system corruption. To protect other data from getting corrupted (e.g. by invalid pointe

Re: FreeBSD is too filesystem errors sensitive

2009-12-08 Thread cronfy
Please forgive me for probably a very stupid question. But why is FreeBSD so sensitive to filesystem errors that it ends up with panics like 'freeing free block' or 'ffs_valloc: dup alloc'? I just can't get it. Failed to allocate vnode? Go allocate another one! Freeing free block? Leave it fr

FreeBSD is too filesystem errors sensitive

2009-12-07 Thread cronfy
Hello. Please forgive me for probably a very stupid question. But why is FreeBSD so sensitive to filesystem errors that it ends up with panics like 'freeing free block' or 'ffs_valloc: dup alloc'? I just can't get it. Failed to allocate vnode? Go allocate another one! Freeing free block? Leav

nice for disk I/O

2009-11-27 Thread cronfy
Hello. It is well known that nice allows to change CPU scheduling priority. But is there something that would tune disk I/O priority for a particular process? Thanks in advance. -- cronfy ___ freebsd-questions@freebsd.org mailing list http

2 processes reproducible read same file with different speed

2009-11-26 Thread cronfy
Hello. I've noticed a very weird behavior of 2 Apache processes that shold read the same file to process a request (they configured to read it on every request). One spends about 6ms to read the file, and second spends about 114ms (I used ktrace to find this out). Every time, on every request,

FreeBSD 7.2 Fatal trap 9 - general protection fault while in kernel mode

2009-11-20 Thread cronfy
Hello, I have Fatal trap 9: general protection fault while in kernel mode with FreeBSD 7.2 and kernel csup'ed and build on 22 Oct using standard-supfile. How can I find out what is the problem? Message: Fatal trap 9: general protection fault while in kernel mode cpuid = 11; apic id = 13 inst

Re: get accounting info for running process

2009-11-19 Thread cronfy
Is it possible to find out how much a process have used CPU user time/system time/IO operations for now by it's pid? Like in sa, but for running process. Dan, Mel, thanks for your answers. I examined 'ps' sources and decided to use kvm_getprocs() and rusage structure. I am trying to

get accounting info for running process

2009-11-18 Thread cronfy
Hello. Is it possible to find out how much a process have used CPU user time/system time/IO operations for now by it's pid? Like in sa, but for running process. Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.