how to exec a process in a jail while being on the main host?

2008-04-16 Thread Artem Kuchin
For example, i have an already runing jail with some JID and i am logged in on the main host (which runs the jail). How can i run a new process inside the jail with a known JID w/o ssh-ing into that jail or doing a lot of strange manupulations? I am asking, because i have about 20 jails running

Security monitoring all file changes

2011-04-21 Thread Artem Kuchin
Hello! We are running hosting servers and i think we need to monitor and log all changes in filesystems (ftp log is written already, but we give shell access and also files can be changed by scripts), so, when a client asks when the file/directory was changed or deleted and by whom we can answ

gjournal for hosting server

2013-03-07 Thread Artem Kuchin
Hello! I am setting up a new hosting server which will host about 100 sites and mysql databases for them. I've read about gjournal and as i see the following benefits: 1) NO fsck after crash 2) 2x speed for small files writes 3) Some extra speed for small files reads (why???) The web servers

Re: Need a network file system with Windows client and freeBSD server

2004-07-14 Thread Artem Kuchin
> > I need sime kind of network file system which has a FreeBSD server and > > Windows clients (particulary Windows XP) and that FreeBSD file share > > must be mounted on Windows XP under a drive letter. Windows client > > is FAR FAR away and is behind nat. Traffic costs a lot, so that file system

Re: Need a network file system with Windows client and freeBSD server

2004-07-14 Thread Artem Kuchin
> > I need sime kind of network file system which has a FreeBSD server > > and Windows clients (particulary Windows XP) and that FreeBSD file > > share must be mounted on Windows XP under a drive letter. Windows > > For any of the solutions you describe, you will definitely want to set > up a VPN

Re: Need a network file system with Windows client and freeBSDserver

2004-07-14 Thread Artem Kuchin
> Authorized Windows users mount "web folders", which appear as drive > letters. The use of SSL protects the username/password as well as the > content in transit. Um.. what do you mean by 'mount web folders'? Can you really mount it as a driver letter? How to do it in webdav? (i suppose you ar

Re: 3Ware Escalade problem

2004-05-29 Thread Artem Kuchin
I have the same problem on Asus p2bds. But i am just ignoring it and it has been discussed several time in the past. AFAIK the problem is that asus p2b is PCI 2.1 and this 3ware controller needs fully working PCI 2.2. So, you can either patch twe.c to disable the error message or change your mother

How to terminate TCP connection?

2005-10-26 Thread Artem Kuchin
Hi! I am running several jails. Each jail runs many services includinh SMTP, POP,IMAP, HTTP. Somtimes i need to restart all jails. So, i /etc/rc.d/jail stop And then i wait until jls shows nothing. However, it usually takes very long or unacceptably long because FreebBSD does not delete jai

Kernel Trap 9 and freeze

2010-09-29 Thread Artem Kuchin
Hello! Just upgraded the world and kernel to the latest 8.1-stable via cvs yesterday. Now, at 6 in the morning got kernel trap 9 (screenshot is attached). The worst part is that it did not reboot. It just froze after "stopping other cpus". This is amd64 architecture. Kernel config is attached

Old file reappeared by itself

2012-11-12 Thread Artem Kuchin
Hello! I think i saw things like this on this box in the past and i always thought that i screwed up myself. Buy today i am sure it happened by itself and i have proof. First, config: # uname -a FreeBSD XXX 8.2-STABLE FreeBSD 8.2-STABLE #7: Tue Dec 27 20:43:27 GMT-4 2011 X@X:/usr/obj/usr

Re: Old file reappeared by itself

2012-11-13 Thread Artem Kuchin
12.11.2012 14:07, Artem Kuchin: The machines runs 4 jails. Everything is in the jails except NAMED. Named is run on the root host (if i may say so) itself. There is a zone file there which i changed last week. Today in the morning i try to open a site and host name is not found. It worked on

Re: Old file reappeared by itself

2012-11-14 Thread Artem Kuchin
. Have you ever call the police ? Ever - yes, in this case - no. Do you monitor access to your box? Yes. Nothing suspicious found. I really suspect that this is a filesystem glitch. On Tue, Nov 13, 2012 at 10:51 AM, Artem Kuchin <mailto:mat...@itlegion.ru>> wrote: 12.11.2

Software raid VS hardware raid

2013-01-28 Thread Artem Kuchin
Hello! I have to made a decision on choosing a dedicated server. The problem i see is that while i can find very affordable and good options they do not provide hardware raid or even if they do it is not the best hardware for freebsd. The server base conf is 8core 32gb ram 2.8+ ghz. So, maybe

Re: Software raid VS hardware raid

2013-01-29 Thread Artem Kuchin
29.01.2013 11:54, Michael Powell: Artem Kuchin wrote: I guess what I'm trying to point out is that low performance wrt software RAID will stem from other things besides just simply consuming a few CPU cycles. Today's CPUs have the cycles to spare. I've been using gmirror for

Re: Software raid VS hardware raid

2013-01-29 Thread Artem Kuchin
29.01.2013 18:57, Warren Block: On Tue, 29 Jan 2013, Artem Kuchin wrote: The Handbook chapter on gmirror talks about the problems with GPT and GEOM metadata. In short: right now, they conflict. It's possible to mirror GPT partitions, but be aware that if you mirror more than one part

Re: Software raid VS hardware raid

2013-01-30 Thread Artem Kuchin
30.01.2013 1:01, Warren Block: On Tue, 29 Jan 2013, Artem Kuchin wrote: 29.01.2013 18:57, Warren Block: On Tue, 29 Jan 2013, Artem Kuchin wrote: The Handbook chapter on gmirror talks about the problems with GPT and GEOM metadata. In short: right now, they conflict. It's possib

Re: Software raid VS hardware raid

2013-01-30 Thread Artem Kuchin
30.01.2013 18:06, Warren Block: On Wed, 30 Jan 2013, Artem Kuchin wrote: 30.01.2013 1:01, Warren Block: On Tue, 29 Jan 2013, Artem Kuchin wrote: 29.01.2013 18:57, Warren Block: On Tue, 29 Jan 2013, Artem Kuchin wrote: The Handbook chapter on gmirror talks about the problems with GPT

Re: Software raid VS hardware raid

2013-01-30 Thread Artem Kuchin
There seems to be one more advantage to gmirror If i understood correctly gmirror label -v -b split -s 2048 data da0 da1 da2 will create a tripple mirror raid 1, that is triple redundancy, which is hardly available on any hardware raid. Am i correct here? Also, does anyone know how to choose s

Re: Software raid VS hardware raid

2013-01-30 Thread Artem Kuchin
30.01.2013 19:28, Paul Kraus: On Jan 30, 2013, at 10:22 AM, Warren Block wrote: If you want to use the same drive for booting, it's possible. Create all three partitions on both drives manually. Then mirror the freebsd-ufs partition only. The contents of the freebsd-boot partition don't c

3ware array access lock up on 7.1-RC

2008-12-26 Thread Artem Kuchin
I am not even sure that it is related to freebsd, but maybe someone could point out the problem. We wanted to upgrade our hosting server from FreeBSD 6.2, 3ware 8506-4LP SATA RAID, raid 5 to FreeBSD 7.1 (RC for now), 9550SXU-4LP, raid 10 We have tested the new installation on ASUS P5K WS motherb

Re: 3ware array access lock up on 7.1-RC

2008-12-29 Thread Artem Kuchin
Mel пишет: On Friday 26 December 2008 08:12:49 Artem Kuchin wrote: I am not even sure that it is related to freebsd, but maybe someone could point out the problem. We wanted to upgrade our hosting server from FreeBSD 6.2, 3ware 8506-4LP SATA RAID, raid 5 to FreeBSD 7.1 (RC for now

Blocking very many (tens of thousands) ip addresses in ipfw

2009-01-14 Thread Artem Kuchin
. -- Regards Artem Kuchin ___ 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"

6.8 became very slow

2009-01-29 Thread Artem Kuchin
00.00.0| twed1s1e 0 0 0 00.0 0 00.00.0| twed1s1f This seems to be okay. Any idea what might happened? -- Regasrd Artem Kuchin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org

Re: 6.8 became very slow

2009-01-29 Thread Artem Kuchin
Bill Moran ?: In response to Artem Kuchin : I have a very strange situation here. There was a hosting box with 5 jails. Everything is 6.4 It was running twe driver with RAID 5. Then i had a crash and had to reinstall the system. So, i have installed FREEBSD 6.8, cvsed the latest

Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-29 Thread Artem Kuchin
Mike Clarke ?: On Thursday 29 January 2009, Akenner wrote: For some reason if you follow along line by line in the book "FreeBSD Unleashed Second edition" which was written and came with 5.0 on CD, it doesn't work at all for some reason. I think there must have been a few changes in th

Re: 6.8 became very slow

2009-01-29 Thread Artem Kuchin
Mel пишет: On Thursday 29 January 2009 02:44:56 Artem Kuchin wrote: I have a very strange situation here. There was a hosting box with 5 jails. Everything is 6.4 It was running twe driver with RAID 5. Then i had a crash and had to reinstall the system. So, i have installed FREEBSD 6.8

Please, recommend CPU and RAM burn test

2009-02-24 Thread Artem Kuchin
Hello! I need to really heavily test a box with 8 cores and 16GB FBDIM RAM. Is there a suitable port for such task? I'd like to point out that i don't want to measure perfomance. I need to really really heavily load the server up to it's maximum. -- Artem ___

3ware 8006-2lp hang with ACPI enabled on fbsd-6.4

2009-03-25 Thread Artem Kuchin
Hello! I have something strange here. I had a pretty old (5 y.o) network server with mirror raid on 3WARE 8006-2LP running FreeBSD 5.3. memory or mb started to fail periodically, so the server was upgraded to Asus P5Q MB. Everything was fine. Then i decided to upgrade to 6.4-STABLE. After upgrad

Strange Out of disk space

2008-06-23 Thread Artem Kuchin
Hello! Look at this: /dev/da0s1f 104164493 104061031 -8229697 109%/usr but du -k -d1 /usr gives a lot less (about 20GB). My guess is that something has mmap-ed a HUGE chunk of disk space. If I reboot the space is freed. The question is how can i sees what process mmaped how much space a

Re: Strange Out of disk space

2008-06-24 Thread Artem Kuchin
Nejc Škoberne ?: Hey, My guess is that something has mmap-ed a HUGE chunk of disk space. If I reboot the space is freed. Much more likely is that some program has deleted a large file, while still holding it open. Usual suspect is some kind of log file, or temporary file. Then I just