Re: Unable to stop a jail

2006-12-04 Thread Alex Lyashkov
Sorry for later response, this not are corruption - in difference with jail, jail2 need to be call jctl --ctx $id --destroy for destroy kernel context. В Птн, 01.12.2006, в 12:43, Steven Hartland пишет: We've got a jail here which we cant stop with either killall jexec or jkill all return

Re: Unable to stop a jail

2006-12-04 Thread Alex Lyashkov
At jail2 homepage has link to jail2 tools. http://docs.freevps.com/doku.php?id=freebsd:index link to http://docs.freevps.com/doku.php?id=freebsd:tools Tools allow some resource control. В Пнд, 04.12.2006, в 15:11, Steven Hartland пишет: Alex Lyashkov wrote: Sorry for later response

Re: [PATCH] Jail Memory Limits

2006-08-06 Thread Alex Lyashkov
I read you patch and see you start N kernel threads for control memory/CPU usage, when each thread in loop count total memory usage. What are reason why not create memory limit similar limit(1)? for this need add pointer to prison structure at each VMA struct and add few checks at same points when

Re: TLS (thread local storage) - where/how

2006-06-18 Thread Alex Lyashkov
В Вск, 18.06.2006, в 10:55, Divacky Roman пишет: hi I am working on SoC project extending the linuxolator and it now seems that I have to implement TLS. So I'd love to collect as many information as possible. pls can you tell me about any documents, articles etc. about the topic? or point

Re: Jail-Aware Scheduling

2006-06-11 Thread Alex Lyashkov
В Вск, 11.06.2006, в 08:51, Chris Jones пишет: Hi, folks --- as some of you might know, FreeBSD has a Summer of Code project to bring resource limits to jails, and one part of that is to permit an administrator to put limits on a jail's CPU usage. That's where I come in: I'm the guy

Re: Is there compressed fs?

2006-04-20 Thread Alex Lyashkov
look into mkuzip and geom_uzip. В Чтв, 20.04.2006, в 05:59, Yoshihiro Ota пишет: Is there a compressed file system available in FreeBSD? I tried mdconfig -ocompress but it doesn't seem saving any spaces. Does anyone know what is the status of this, if it works, and if so, how it works?

0xdeadc0de

2005-06-16 Thread Alex Lyashkov
: ...| 0020 de 60 9b 5c c0 de c0 ad de de c0 ad de de c0 ad |.`.\| 0030 de 60 9b 5c c0 0a |.`.\..| 0036 how can be found what are cause of trouble? how can be found who last freed memory? -- Alex Lyashkov [EMAIL PROTECTED] Positive

Re: Network interface RUNNING and UP flags

2004-08-07 Thread Alex Lyashkov
; + tp-tap_if.if_flags |= IFF_RUNNING; + tp-tap_if.if_flags = ~IFF_OACTIVE; mtx_unlock(tp-tap_mtx); not better move this under tp-tap_mtx mutex without using splX functions? -- Alex Lyashkov [EMAIL PROTECTED] PSoft ___ [EMAIL PROTECTED

Re: [patch] attach ipfw rules to jails

2004-07-05 Thread Alex Lyashkov
vimage project to -current ? separated network stack and firewall rules more and more faster then this... If system not have jails vimage not add observable overhead to system.. -- Alex Lyashkov [EMAIL PROTECTED] PSoft ___ [EMAIL PROTECTED] mailing list

Re: [patch] attach ipfw rules to jails

2004-07-05 Thread Alex Lyashkov
prison structure to module data. And add 2 callback`s - init/destroy prison context. Or other way - add to prison array where each modules been registered pointer to data associated with this module at this prison context. I use similar way where add per vps ipsec support at FreeVPS. -- Alex

Re: 5.2.1 panic

2004-05-17 Thread Alex Lyashkov
/vfs_syscalls.c v. 1.345 = Modified files: sys/kern vfs_syscalls.c Log: Always use nd.ni_vp-v_mount as an argument for VFS_QUOTACTL(), just like in RELENG_4. = -- Alex Lyashkov [EMAIL PROTECTED] PSoft ___ [EMAIL PROTECTED

Re: md(8) panic

2004-05-13 Thread Alex Lyashkov
-md_size * DEV_BSIZE -- Alex Lyashkov [EMAIL PROTECTED] PSoft ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: [patch] Raw sockets in jails

2004-04-22 Thread Alex Lyashkov
patch to my jail work (pjd_jail perforce branch) and changed it to be usable with my multiple ips stuff. I haven't reviewed nor tested it yet. You don`t plain do port vimage to -current ? -- Alex Lyashkov [EMAIL PROTECTED] PSoft ___ [EMAIL PROTECTED

few question about vfs layer

2004-01-16 Thread Alex Lyashkov
Hi List I explore vfs lookup code. and have few questions about it. what a reasone leave rootvnode as global varables, but not store it in filedesc structrure and adjust it in chroot or jail syscall ? -- With best regards, Alex ___ [EMAIL PROTECTED]